Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged navigation



« Prev 1 2
This snippet shows you how to get previous and next post in category URL.
0 775 posted 10 years ago by fedek6
Improved Layered Navigation by Amasty is a premium 5-year-old Magento extension, to which you can entrust your navigation. It includes 7 mods: Seo layered navigation Shop by brands Ajax Layered Navigation Layered navigation filt...
0 749 posted 10 years ago by Amasty
Create navigation links without the need of a plugin, using paginate_links function of wordpress core.
0 1591 posted 11 years ago by rudwolf
Manually print out a category-navigation in a magento frontend template. within "stristr" you can enter an array of category-ids that should be hidden from display.
0 764 posted 11 years ago by luxmedia
Add this to your functions.php file
0 712 posted 12 years ago by xcsteve99
0 562 posted 12 years ago by kbrown
0 625 posted 12 years ago by errkk
This was for a customer. Basically it does this: If a page has no children, it shows ... nothing, if a page has a parent, it shows all other children of this parent (siblings) and the current page if a page has a parent AND children (3rd level)...
0 622 posted 12 years ago by zartgesotten
usefull navigation stuff works in magento 1.5.0.1 http://www.webdesign-blog.ch/?p=17 http://www.pauldonnellydesigns.com/blog/get-parent-category-name-in-magento/
0 730 posted 12 years ago by nico65
If you have Zend_Navigation in your application, you will use navigation.xml. This code set the page title ($this->view->headTitle()) with the current page title in navigation.xml. $navigation->current() doesn't work in my opinion.
0 814 posted 12 years ago by postNuKe
Fügen Sie diesen Codeabschnitt auf allen Seiten die mit der Breadcrumb-Navigation ausgestattet werden sollen, an der gewünschten Position ein.<br><br> Das Script arbeitet recht einfach:<br><br> <li>per 'explode("/","$_SERVER[PHP_SELF]")' wird...
0 973 posted 12 years ago by kopfaction
Copy /modules/mod_menu/tmpl/default.php to /templates/MYTEMPLATE/html/mod_menu/default.php
0 902 posted 12 years ago by nico65
0 591 posted 12 years ago by nico65
Custom sorting for events based on a custom field needs to be added to navigation-links.php requires plugin: http://wordpress.org/extend/plugins/ambrosite-nextprevious-post-link-plus/
0 746 posted 13 years ago by hussong
Originally from: http://wordpress.mfields.org/2010/selective-page-hierarchy-for-wp_list_pages/
0 585 posted 13 years ago by lawlesscreation
This function build page navigation links.\r\nParameters legend:\r\n- $items = total number of rows to be paginated\r\n- $perpage = how many rows to be displayed on a page\r\n- $maxlinks - how much page links to be build and shown for navigation ( <...
0 550 posted 13 years ago by stz184
This is a way to have a navigation menu with active classes which are set according to what page is loaded. This only works on .php pages.
0 985 posted 13 years ago by villagecreative
2 603 posted 13 years ago by brainwaves
If you have your wordpress subpages organized by parent pages... and you dont want the parent pages "clickable" this will fix you right up...
0 548 posted 14 years ago by mdesilets
0 541 posted 14 years ago by Perun
This will create a Navigation from a MySQL database table names. It removes the table name "includes" by default so you can see how to remove any certain tables you wish to not use as a site section. Just plug in your MySQL database details and co...
3 693 posted 14 years ago by jiggyhat
This is a snippet to assign an active class to active links when the navigation is included in a php file.
1 547 posted 14 years ago by grazz
An example of how to write your own navigation with dynamic "active" classes.
3 808 posted 15 years ago by kristarella
customized breadcrumbnavigation for PHPWCMS. Gives more control over styling and display. {MYBREADCRUMB:n}
0 660 posted 16 years ago by localhorst
Very simple navigation. Style the id using CSS. Allows you to highlight the current page with CSS.
1 862 posted 17 years ago by 1man
« Prev 1 2