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)

1
vote
0answers
30 views

Create custom page and add it in nav menu by code

I am creating a plugin, and this time it should: create a page and add it to the nav menu, all by code ... Here is an example: http://img823.imageshack.us/img823/8531/09072012205520.png
3
votes
4answers
2k views

How to add current, parent, and ancestor menu item IDs to body_class()?

(just got reccommended to post this over here from stack overflow...) I am just starting with Wordpress (defecting from Joomla)- having a bit of difficulty getting started. One thing I am trying to ...
0
votes
2answers
2k views

Limit User Iinterface for Admin?

Is there a plugin or a way where I can restrict or limit the buttons on the admin interface for a certain user? For example: for the user who has a role of a writer, he/she can only post content, ...
0
votes
1answer
261 views

if is_home(), change class of menu-item-225 of wp_nav_menu

Thanks for taking the time to check this out. I know it's outdated, but I'm using Wordpress 3.2.1. I have a Custom Home Page - where I created a Page for it and titled it as my Home Page with the ...
0
votes
1answer
540 views

How can I create an automatic drop down menu with my tags?

I have another post type which isn't the default one. I have four taxonomies attached to that post type. And I have many tags attached to these taxonomies. I would like to create a drop down menu ...
0
votes
4answers
182 views

Making a new post visible on a specific page

I am creating a wordpress site which will have different sections , which will essentially be pages which can be accessed through a top level menu. Now when I make a post, I dont necessarily want all ...
1
vote
1answer
192 views

How to Display a menu only if it has Posts in Custom Menu?

I created a custom taxonomy as category and display it by wp_nav_menu. The problem is, so far there are some terms in the custom taxonomy has no post attached to it, but it still show in the menu. So ...
0
votes
1answer
63 views

When I click a custom menu link, how do I make it update the URL in the browser to the external link?

I have created a "custom link" under Menus. The problem is that URL in the browser retains the Wordpress URL ( http://blog.tabsonrahm.org ) instead of the linked URL ( http://tabsonrahm.org/about ). ...
1
vote
1answer
1k views

Error “The given object ID is not that of a menu item” on menu with 40+ items

When ever I try to add menu items past about 40 I get an error "The given object ID is not that of a menu item" and many of my menu items will disappear from the menu at random. The site I am working ...
0
votes
2answers
3k views

wp_list_pages sort order by custom nav menu order

Does anyone know of a way to create a sitemap by using wp_list_pages and have the order by the same orders a custom nav menu?
0
votes
1answer
1k views

Custom menu with categories and tags

Basically I need a custom menu consisting of two level. Top level will consist of available categories, possibly with added feature that each category name is follow by the number of posts in that ...
0
votes
2answers
175 views

How to make navigation a <select> list without a plugin? [duplicate]

Possible Duplicate: Show a WP 3.0 Custom Menu in an HTML Select with Auto-Navigation? I have tried several solution for this, but none of them worked. I managed to make the nav list into ...
0
votes
1answer
94 views

Nav Menu Display

Hi I'm wanting to create a custom navigation menu that will require creating 2 div containers to hold the SUB-MENU set. In other words I want to do this: <div id="access"> <div ...
1
vote
1answer
2k views

CSS for Created Menu “Active Selected” not working, everything else is!

I have created a Menu (for the nav bar) it is placed in a copy of the header.php file in my child theme right below: <?php wp_nav_menu( array( 'container_class' => 'menu-header', ...
-1
votes
2answers
139 views

Change menu item order

My primary navigation menu consists of pages, categories, and custom taxonomy. It appears to be in a random order. How do I adjust the order of the links? (the drag/drop in wp menus panel doesn't seem ...
0
votes
1answer
2k views

show current item in custom menu, when inside a custom post type

I have a custom post type "product". I need to have its index accessible from the main menu, so i 've added a Custom Menu entry, simply stating "/works/" as url value. Problem is: if i'm looking at a ...
1
vote
1answer
89 views

Should I use custom menu, C.P.T. or theme options, or something else for this?

On many sites ( particularly CMS style business sites) there are 2, 3 4 or sometimes more boxes usually containing a title, icon and some text. These appear under the header linking to strategic parts ...
0
votes
2answers
643 views

Edit the (automatic) HTML layout of nav menus

I registered my menu in functions.php, called it from header.php and set it all up in the Appearances > Menus backend. The problem is, I need to manually insert a div surrounding <ul ...
0
votes
1answer
431 views

add span to wp_nav_menu widget

Am using the custom menu widget to add a menu in the footer and i want to add a in the menu how can i do this ? like so... <li><a ...
7
votes
1answer
591 views

Assign a Class to the Current “Tag” for Formatting

Essentially what I am hoping to replicate is something like the "current-menu-item" class that is applied to WP Menus. My client is wanting to use Tags as a sub-nav, and I've managed to get the tags ...
0
votes
1answer
762 views

Add span in top menu item with nested itens

I found examples adding a class to top level itens, so we can display an arrow in menu itens with subitens, but is seems terrible to cope with the already builtin WordPress classes, can't display the ...
1
vote
2answers
222 views

Select menu on browser resize

I have seen on some wordpress themes that if the browser width is less, the normal menu becomes a select menu. Can someone tell me how it is done? I know there is a plugin for that, but I want to ...
2
votes
3answers
657 views

HTTPS page link in menu

Ok, so I have a wordpress site with a lot of pages and menus that I've defined in the appearance/menus section of wordpress. One of my pages has a little payment form on, which I'd like to link to ...
0
votes
1answer
1k views

Custom nav menu not showing

I want to make a custom menu that will be a select-box, I registered a custom menu: add_action( 'init', 'register_my_menu' ); function register_my_menu() { register_nav_menu( 'primary', ...
3
votes
1answer
412 views

How do I create a magazine type menu - sub-menu setup using wp_nav_menu and child of twentyten? [closed]

I'm trying to create a menu and submenu with a child theme of twentyten, similar to this at the LA Times: http://www.latimes.com/ where when the site is first opened, it displays a set of childs, and ...
0
votes
1answer
45 views

Remove “Next Post” in nav_menu

I am creating my custom navigation menu with background-images. The menu items have a title from the Page, and that title is displayed above my background image, which is not what I want because the ...
5
votes
1answer
724 views

Custom Post Types posts as submenus in Nav Menu

I have created a Custom Post Type called "Collections". I'd like to have in the Nav Menu (no custom menus involved) a menu item 'Collections' that links to the index page of Collections Custom Post ...
0
votes
1answer
3k views

Placing widget to menu

is there any way to display widget in menu. Actually what i want is "site stat" in the menu. (black area) At the right. link
5
votes
1answer
2k views

How to avoid wp_nav_menu() ID conflict?

How do I avoid ID conflicts if I use the same menu TWICE on one page. FIRST wp_nav_menu( array( 'sort_column' => 'menu_order', 'theme_location'=>'menu', 'menu_class'=>'menu', ...
0
votes
1answer
409 views

Make a menu item unselectable

I'd like to make the main menu selection for some menu items not selectable. For example, I'm doing a resume and I have a "Work History" page with "Job 1", "Job 2", etc. as children. I'd like to be ...
0
votes
1answer
582 views

To Add Logout Button in Menu [duplicate]

Possible Duplicate: How to use logout function on custom menu link? I want to add a logout button at very last of my nav.. I Found a function // functions.php function ...
3
votes
2answers
937 views

Custom metabox for menu administration page?

I've been googleing around but failed to find a solution for my need. I'm using wordpress 3.0 and TwentyEleven theme as default pack. In the Dashboard -> appearance->menus that allow user can ...
0
votes
1answer
493 views

Add tabindex to navmenu

I would like to submit a "tabindex" attribute in a navmenu structure. The default options do not allow me to do it.
1
vote
1answer
1k views

jQuery Hoverintent plugin in TwentyEleven Menu [closed]

The default menu in the TwentyEleven theme is quite nice, pure CSS, but unfortunately, way too responsive and quick. It would be so nice to have it respond the same exact way with which the admin bar ...
0
votes
2answers
359 views

jQuery Drill Down iPod Menu FOUC and Selecting Current page

I'm using Drill Down Ipod Menu and I'm really like the style of showing submenus , but I have two problems with it. 1-when i load a page it shows all submenus open for a second and I experience a ...
0
votes
2answers
177 views

New custom menu created. how to apply it?

i have a childtheme from twentyeleven, i created a 'inicio' (name) custom menu, how can I apply it? tried: <?php wp_nav_menu( array( 'theme_location' => 'inicio' ) ); ?> but not ...
3
votes
2answers
269 views

Taxonomy slug by term ID

I'm trying to modify wp_nav_menu to display term thumbnails. To get those thumbnails I need term ID and taxonomy slug: $thumbnailimg = get_the_term_thumbnail($term_id, '$taxonomy', 'medium'); I ...
0
votes
1answer
184 views

select a main navigation menu per user type from multiple main navigation menus

GOAL: I want to use custom menus for two different kinds of users. For instance, I want to Merchant users to be able to use Merchant menu, and Owner for Owner menu. I do not have enough reputation, ...
0
votes
4answers
2k views

Hide menu items for visitors and filter based on role

In my menu i've got some menu items that i don't want to show to people who aren't logged in. One of these i only want to show to logged in users of a certain roles the other to everyone logged in. ...
1
vote
1answer
480 views

wp-menu 'automatically add custom taxonomy terms' like it does for pages? [closed]

I've added a new wp_menu to my sidebar on a custom post-type page. The wp_menu displays a list of a custom taxonomies terms. I see that wp_menu has the checkbox to automatically add new top level ...
0
votes
1answer
887 views

How to Use the Function is_user_logged_in To Display Different Menus?

So, I want to create different menus for people who are logged in or not. I got a reply that i should use a function if (is_user_logged_in()) { wp_name_menu(array('theme_location' => ...
1
vote
1answer
740 views

Change image based on menu item id

My client request to put header images, but the images must be unique based on what menu the click. Let say i have 2 menus. First is What is A and second is What is B. I can know the menu id when i ...
0
votes
1answer
232 views

How to check if the Menubar contains no items?

I'm using the Menubar plugin to place a menu at the top of my website. However, I need to find a way to check if the menu contains items or not. My menu is called 'menubar'. Currently, I'm loading the ...
3
votes
1answer
2k views

Add a custom walkter to a menu created in a widget

I know how to add a Walker to a custom menu created by the theme (menu named primary in this example), but how can I target a menu thats created in a widget with the default wordpress custom menu ...
0
votes
1answer
792 views

wp_nav_menu doesn't show on index page

I'm using calls to wp_nav_menu() in my header.php file. They're conditional, based on whether a user is logged in. This is in header.php: <?php if ( is_user_logged_in() ) : wp_nav_menu( ...
16
votes
2answers
6k views

Adding an Arbitrary Link to the Admin Menu?

Is there a way to add a arbitrary hyperlink to the WordPress admin menu (I mean the menu on the left when you log into the admin dashboard)? For example, can one add a link to Google? In my ...
0
votes
1answer
348 views

Can you exclude child pages of a specific parent within a navigation?

For example, I'm using wp_list_pages to display the navigation, the child pages (and their children) appearing on hover as is typical. However, I want one of these parents to not display the children. ...
0
votes
1answer
1k views

Adding a unique class to wp_nav_menu

How would I go about adding a unique class to the direct child li elements of the main parent ul element generated with wp_nav_menu? <nav id="access" role="navigation"> <div ...
-1
votes
1answer
489 views

WordPress wp_nav_menu within iFrame

EDIT 2: How would I iFrame wp_nav_menu contents while maintaining the styles and script associated with their display? (Please ignore all of the below seemingly confusing context of why someone would ...
5
votes
2answers
2k views

WordPress Menu Custom Walker Class

We are using a jQuery UI accordian to render a menu in the sidebar. We've already written the markup and javascript and I am just trying to get the wp_nav_menu to output the same markup we've already ...