Navigation Menu is a theme feature introduced with Version 3.0. WordPress includes an easy to use mechanism for introducing customised navigation menus into a theme. In order to incorporate menu support into your theme, you need to add a few code segments to your theme files.

learn more… | top users | synonyms (4)

0
votes
1answer
476 views

wp_nav_menu li item empty

I created an menu by admin panel > Appearence > Menu. I have just one menu page in menu_lateral_1 . Or the result is <li id="menu-menu_lateral_1" class="menu"></li> <li ...
3
votes
2answers
959 views

Unregister Nav Menu from Child-Theme

I like to use the Starkers Theme and build child-theme. So, I`d like to remove the this primary menu Starkers (functions.php) function starkers_setup() { // This theme uses wp_nav_menu() in one ...
0
votes
1answer
111 views

Displaying wp menus by name without using theme locations

I used wp menus in the past but always registering a location and then using: <?php wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); ?> To display a menu on that location on my ...
0
votes
1answer
209 views

Set first level items to <h5> in wp_nav_menu()

<div class="news-features"> <h5><a href="">News & Features</a></h5> <ul> <li><a href="">Industry ...
2
votes
3answers
1k views

Hide and show menu subpages

I am sorry if this is not clear, but I am using translated wordpress so I am translating some names back. I have pages in menu and when I click on some item it goes to that page. But I need f. e. ...
0
votes
1answer
372 views

Custom Menu in Themes not working even in Twenty Eleven theme

I am currently having problems with a Wordpress installation. The remote site I was supposed to theme uses WP 3.2 so I used 3.2 I created a theme that supports custom menus and it works fine on my ...
-1
votes
1answer
995 views

Why don't my custom menus show up in WPtouch Pro?

I'm using WPtouch Pro to create a mobile theme for my wordpress installation. I've activated it, but the custom menus I've created don't show up in menus drop down. Note that I'm using a different ...
0
votes
2answers
168 views

a better menu, menu options assistance for WP

So long story short, im a noob WP dev and im like on my 2nd custom WP site so sorry if i sound a bit lost. As i was doing my first WP custom site, i noticed that for example, on the default theme and ...
2
votes
2answers
748 views

Automatically generated menu

I have a menu: Activities Projects About Us News (not counting submenu items). Now "Activities" has no submenu. I created custom content type "project". My boss want to fill the menu ...
0
votes
1answer
276 views

exclude pages in custom menu

I am creating a custom theme for wordpress, which will have a settings page. i am adding the option to exclude pages from the navigation, which will simply work on the page id separated by a "," here ...
0
votes
1answer
633 views

dropdown menu, with walker

I'm using the following walker to create a dropdown menu that I will use on a mobile version of a project I'm working on... it works fine, however, when I select the page, it doesn't load the page, ...
-1
votes
2answers
319 views

Creating a second menu on Twenty Eleven aligned right from the first

I'm a bit new here. But I did attempt to Google this (etc.), without much luck. Basically, I'm trying to set up a second menu on Twenty Eleven that will line up to the right of the normal one (while ...
0
votes
1answer
720 views

Setting or plugin for showing submenus horizontally under the main menu, and keep them after selection

My blog's page hierarchy is as follows: - Home - About - Movies - - General - - All Movies - - Rules Right now, I have a horizontal menu showing Home | About | Movies, and if I hover Movies I get: ...
0
votes
2answers
100 views

How to manipulate attributes of url-less dropdown item in a the custom wordpress menu?

I need to change the color of some custom link elements in dropdown of my wordpress custom menu here. There 3 items in my dropdown that dont have any url associated with them: Air Duct Chimney Dryer ...
0
votes
1answer
1k views

How to get wordpress nav menu outside of wordpress system?

I want to get a specific wordpress nav menu as a list in my custom php page outside of wordpress. How to do that?
4
votes
3answers
2k views

wp_nav_menu sort order?

Hey Guys, I'm trying to build a right aligned, wrapping capable wp_nav_menu powered menu. Is there a way to have it rendered backwards, so that float: right; would work and not mess up the order? I ...
0
votes
2answers
51 views

Adding new pages to Menu

I am new to Wordpress. I am using the free Theme for my blog. I have added Menu as About Us, Contact Us, Groups etc .. I need to add Static Pages to About Us, Contact Us etc ..!! I dont know to How ...
2
votes
0answers
101 views

Strange behavor of wp_nav_menu by not appearing [closed]

It is in header.php wp_nav_menu(array('theme_location' => 'top-nav','container_class' => '', 'fallback_cb' => '')); in functions.php function register_custom_menus(){ ...
0
votes
3answers
2k views

Removing specific menu items?

I used the following to remove certain menus for the "editor" function remove_menus () { global $menu; if( (current_user_can('install_themes')) ) { $restricted = ...
3
votes
1answer
951 views

How can I get my Custom Post Types to appear in nav-menus.php 'Menu'?

I am having a bit of a problem with my custom post types. I can create them fine in my theme, but I cannot get them to show up in the 'Menu' screen ... at least not by default. I have tried adding ...
0
votes
2answers
310 views

How to remove the tripadvisor logo from the wordpress theme?

Tripadvisor offers a free wordpress theme at here If you go on this page, you'll see the free wordpress theme, and on the navigation bar, there is the trip advisor logo on the right, How can I remove ...
1
vote
4answers
536 views

Remove Metabox from Menus screen

Been digging into WP files for a bit and think I just might be missing something. The end-goal is to remove the Theme Locations metabox from the Menus screen if someone doesn't have a certain ...
0
votes
1answer
345 views

Change order that the menu is generated with wp_list_pages

I am trying to order the output of one of my menus to be based off of the way they are setup in the Appearance->Menus pane, however it seems to only want to do it alphabetically. For example I ...
0
votes
1answer
288 views

Edit html for menu items in default frontend menu

I am running Multisite, and would like to be able to append menu items to all frontend menus on all sites. This should work for menus saved via the admin interface as well as the default menu that is ...
3
votes
1answer
2k views

Why is my menu order not working with wp_nav_menu?

I have a custom menu using the new Menu System but it is not returning in the correct order. I have no idea what order its in - its not alphabetical, or by date, or by any pattern I can see. The link ...
0
votes
1answer
161 views

Add function to custom menu

I am am trying to add a function to my custom menu. The menu works, but I have no idea on how to get the custom_execute_shortcode() function to work inside the add_profile_link_to_nav() function. Any ...
2
votes
2answers
1k views

Bar separated navigation by extending Walker_Nav_Menu

I have the following menu in my header: <?php $args = array( 'menu' => 'Main Menu', 'container' => false, 'depth' => 1, 'items_wrap' => ...
0
votes
1answer
17 views

Setting up menus before making a template live

I'm currently creating a new template for a client. Their current template does not implement menus at all. They are all hard coded links in the template. The new template I making them will implement ...
0
votes
1answer
101 views

Catagorized hierarchy menu for PAGES!

Yes, I am a noob at all this so please excuse my ignorance! So, for the past couple of days, I've been searching for a drop down page menu widget, but I would like to have the pages separated into ...
2
votes
1answer
1k views

How to var_dump nav menu items from anywhere?

I wanna preview all the fields that the nav menu $item array holds. Is there a function to fetch it from anywhere and place it inside var_dump?
0
votes
2answers
147 views

WP as a CMS menu

I've converted a client website from Joomla to WordPress. However, there is one aspect of the old site I haven't been able to replicate perfectly without modifying core WordPress. The goal is to ...
0
votes
1answer
139 views

Difficulties filtering manage_nav-menus_columns

I realize I've asked similar in the past, but I've currently running in some difficulties editing/removing the admin nav menu advanced menu properties. (without using jQuery) add_filter( ...
1
vote
2answers
75 views

Did upgrading from 3.3 to 3.3.1 introduce breaking changes in the menu navigation?

I have a WP 3.3.0 site running in production. (version.php says $wp_version = '3.3';) I have a main menu using WP's built-in functionality. I use wp_nav_menu(array( 'container_class' => ...
0
votes
1answer
59 views

Registering a static menu?

I have a website with a very large sidebar menu that uses an accordion plugin to keep everything compact and organized. Unfortunately, my menu has grown so big that I am unable to save any new ...
1
vote
4answers
1k views

how do I add “home” menu item conditionally to custom menus?

Original question How do I get menu items using slug and not ID I need to get a specific menu, but I can't use ID, since the menu ID on my dev is not the same as on my staging and prod server. ...
1
vote
1answer
760 views

insert element inside wp menu list item

I am not sure if it is clear from the title what I want to achieve here so let me try to clarify this. I wanna make use of Wordpress's menu system and need to adjust it to my needs, which means that ...
1
vote
2answers
436 views

wp_list_pages() but only show children on the branch you are on

Lets say I have this menu: Top |___ Sub 1 |___ Sub Sub 1 |___ Sub Sub 2 |___ Sub Sub 3 |___ Sub Sub 4 |___ Sub 2 ...
0
votes
1answer
41 views

Show tarifs page with menu a or b depending on menu of origin

I have a site with three menus, one per main category of the site. I use pages only. Two main categories have one page in common. Category A with menu a Category B - with menu b - with tarifs page ...
0
votes
2answers
548 views

wp_nav_menu and fallback

I am using this code to call any custom menu and display: <?php wp_nav_menu( array( 'container' => 'none', 'container_class' => 'menu-header', 'theme_location' => ...
2
votes
2answers
843 views

Is it possible to add classes to list items in wp_nav_menu()?

I am using <?php wp_nav_menu( array( 'theme_location' => 'header-menu', 'menu_class' => 'nav-bar', 'container' => 'nav' ) ); ?> to output my ...
0
votes
1answer
537 views

Add a menu metabox to post edit page

I have a basic understanding of how to create meta boxes, and I have an understanding of how and where to put wordpress menus on the front end. I am a wordpress theme developer but NOT a wordpress ...
0
votes
1answer
582 views

How do I get my nav menu to show sub pages?

http://webdesignsalemoregon.com/westernmennoniteschool/ is my website. I've got the top menu which is the one that was in the theme when I started to customize it. It's got a test drop down that ...
1
vote
2answers
1k views

Separator for custom nav menu

I creating a custom footer navigation in wordpress. I looked all over the wordpress documentation and still haven't found anything. So, what I'm trying to do is add an "|" in the navigation like this: ...
3
votes
1answer
416 views

How to apply a class to the second word in menu list item?

I want to apply a class to a word in my menu. For example, say I have a list item in my menu called "My Item". I would like to apply a class to the word "Item" so that I can style it anyway I want. ...
3
votes
3answers
9k views

Show specific menu item from wp_nav_menu based on id

I have a wp_nav_menu "Main Menu" such as the following: Top Level (#menu-item-1) Sub Item Sub Item Top Level (#menu-item-2) Sub Item Top Level (#menu-item-3) Sub Item A Sub Item B Sub Item a.1 ...
0
votes
1answer
355 views

wp_list_pages() not showing on posts

I have the following code showing up a sub-menu on my website (in my header.php file) that shows all well and good, however when I open up a post it dissapears: <div id="dep-menu"> <?php ...
1
vote
1answer
4k views

Breadcrumbs showing Parent and Child Pages

We are trying to create a function for breadcrumbs that will show not only the path to the current page, but also to other pages with the same parent page. For instance, on ...
0
votes
1answer
105 views

Hide custom menu when when no menu selected

The title might not a 100%, feel free to correct... I'm building a custom theme that has a couple of costume theme locations for menus (1 main menu, 1 footer menu, 1 "Follow Live" button). These are ...
0
votes
1answer
431 views

Custom menus not showing

As a follow on from my last unresolved query regarding menus, the problem has extended even further. My menus are not printing anywhere in the code. I am registering the menu functions.php: ...
0
votes
1answer
9k views

Custom Post Types in the WordPress Navigation Menu

Hello can someone help me out by pointing me in the right direction as to where I can find out how to add a drop down menu to a theme with my custom post types stored within in, have been ...