Viewing 1 to 10 of 11 items
Tag Archives: navigation

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

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

WordPress select menu navigation for mobile sites

The first option is to follow both of these untried tutorials: http://www.xldstudios.com/generating-select-menu-in-wordpress/ http://www.xldstudios.com/javascript-snippet-go-to-site-selected-in-drop-down-menu/  The second option is to try this amazing plugin. http://wordpress.org/extend/plugins/dropdown-menus/ 

0

Exclude pages in a section (exclude_tree)

All you have to do is include this block of code in your template the same way you would the regular <?php wp_list_pages();?> tag. Page IDs that you would normally pass to exclude_tree go in the first line):

0

Sidebar menu with a child pages regardless of depth – WP Engineer

This article was taken from WP Engineer: http://wpengineer.com/display-always-subpages-in-sidebar/ In this article I want to show an example in which are the main pages in a horizontal navigation. The related sub-pages are displayed in the sidebar when you click on the main page. For better understanding we take the following page structure: Home Software Image Editor  Full Article…

0

Horizontal Two-Tiered Conditional Navigation

We’ll need code to help us: 1) query the page, 2) determine if there are child pages, and 3) properly highlight both the .current_page_parent and .current_page_item links. If you’re wondering why the CSS seems overly verbose, it’s to make sure the :active and :hover states display correctly whether or not subpages exist — if they  Full Article…

0

Get the root page ID

Get the ID of the root (oldest ancestor, parent without parents) page relative to the current page in a WordPress page template. Can be helpful for use with wp_list_pages() to create navigation markup.

0