Welcome To Snipplr


Everyone's Recent Snippets Tagged navigation



« Prev 1 2 3 4
useful and simple css navigation menu bar.
0 2918 posted 11 years ago by codingforever99
This snippet shows you how to get previous and next post in category URL.
0 2583 posted 11 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 2556 posted 11 years ago by Amasty
* A standard multi-level list example for copy and paste in any site. Uses anchors as the default links, to be filled in later. * Built to work with Bootstrap's default CSS, but also works fine with other CSS * Pull the "plain" class from the [sta...
0 2570 posted 12 years ago by tymartist
Create navigation links without the need of a plugin, using paginate_links function of wordpress core.
0 3761 posted 13 years ago by rudwolf
Html and CSS included...
0 2606 posted 13 years ago by thewickedchemist
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 2478 posted 13 years ago by luxmedia
To specify background and text colors for the secondary nav in the active stack.
0 2313 posted 13 years ago by sheilahoff
This will center your navigation in the bar (not the text in each button). Adjust the width to your navbar width
0 2269 posted 13 years ago by sheilahoff
to remove right border on navigation
0 1376 posted 13 years ago by sheilahoff
adjust px and color accordingly
0 1468 posted 13 years ago by sheilahoff
Add this to your functions.php file
0 1542 posted 14 years ago by xcsteve99
Assumes that you have got a #mainnav around your menu. Works nicely with wp_nav_menu inside.
0 2263 posted 14 years ago by telltec
0 2295 posted 14 years ago by kbrown
This is PURE CSS. Tested in IE7+, Chrome, Firefox, Safari and Opera
0 2273 posted 14 years ago by officiallyWise
0 2348 posted 14 years ago by errkk
This is a little function that dynamically resizes the navigation, taking into account the size of the item width as well
0 2157 posted 14 years ago by buzzswarbrick
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 2428 posted 14 years ago by zartgesotten
0 2490 posted 14 years ago by clone
look through the list items in your main nav and based on href of anchor tags this will set the top level link to have an 'active' class.
0 2810 posted 14 years ago by iammikecohen
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 2525 posted 14 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 2671 posted 14 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 2720 posted 14 years ago by kopfaction
Copy /modules/mod_menu/tmpl/default.php to /templates/MYTEMPLATE/html/mod_menu/default.php
0 2836 posted 14 years ago by nico65
« Prev 1 2 3 4