Viewing 1 to 7 of 7 items
Tag Archives: wp_nav_menu

Using FlexNav with WordPress

I thought it beneficial to note this support page on integrating the great Flex Nav script with WordPress. You don’t need a custom walker function. You can alter wp_nav_menu like this: and proper script init should be:

0

Responsive WordPress Menus

Taken from Studio Nashvegas: http://www.studionashvegas.com/responsive-design-2/a-responsive-menu-solution-for-wordpress/ Here is a working example of the responsive select menu: http://www.outandaboutmarketing.com/ A few months ago I modified a really cool WordPress template and started using it for my own clients.  As part of the overhaul, I realized that there was no really good way (included) to turn a WordPress unordered list into  Full Article…

0

wp_nav_menu – Make Links Open In A New Window

Taken from here: http://techstudio.co/web-design/the-best-way-to-make-links-open-in-a-new-window The old method for setting links up to open in a new window causes validation errors in xHTML. The right way is to use the following markup. But for that markup to work the following Javascript must be included in your document.

0

Remove wrapping div and ul from output of wp_nav_menu

Removing the wrapping div is easy. When you use wp_nav_menu(), add this argument: ‘container’ => false For the <ul> element, there’s an argument called ‘items_wrap’. This will remove the ul:  ‘items_wrap’ => ‘%3$s’ Otherwise this function will remove the div for you:

0