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
54 views

Setting a Master Menu on a Custom Post Type

I am currently developing a site for a car dealership to list their inventory. I have setup the car up as a custom post type. Each post will have children (gallery, features, accessories, etc). I ...
0
votes
2answers
684 views

Specifying Class style for Menu

Im integrating Superfish into WP. I have called the CSS and the JS. However when I place a class style in the wp_menu as below, the menu is disappearing (see here for rendered output). Could anyone ...
0
votes
1answer
98 views

Bought custom navigation menu from codecanyon, how to change feature.php?

I bought a nav-menu with css but not sure how to use this in my wordpress theme. Is there a standard way to implement it? Like this ...
0
votes
1answer
65 views

Create and style menu

I have been assigned with the task to create a menu that can be added or removed from wordpress admin. Right now the menu is hard coded into the templates. But I want to use default menu function ...
0
votes
1answer
128 views

Custom menu linking to page not found

I have built a series of pages and sub pages in wordpress. Then, using custom menus with 5 x top level menus and then sub-menus under 3 of these top level menus: Menu 1 Menu 2 - Sub Menu 1 - Sub ...
0
votes
1answer
120 views

Submenu opened problem

I am trying to fix a problem with a submenu. I have coded (as you can see on jsfiddle: http://jsfiddle.net/8899x/87/ ) my horizontal menu and the submenu. I would like to leave the submenu opened when ...
0
votes
1answer
33 views

Two pages named the same thing, on a different level but conflicting url paths in menus and direct links

I've just changed some titles of pages and child pages around, simply I've got Work as top level page, and Blog as a top level, with Play and Work as children. The paths are: /work/ and ...
0
votes
1answer
286 views

How to insert date in topNav

In my theme i have a menu on the top of the page where i've links for my pages, this is the line of code in the header.php that generates topNav, <!-- BEGIN HEADER-TOP --> <?php ...
0
votes
1answer
333 views

wordpress 3.4.2 + wp_nav_menu + chunk theme not working [closed]

I'm trying to create a page for each of the categories i got in my blog and it should appear on the menu i got in Chunk theme. the idea is to have a link to each of the categories which would guide ...
0
votes
2answers
968 views

highlight parent page menu item when in custom post type

in a website that I am building I have a portfolio custom post types (called: "project") to show my portfolio items. The page that holds the loop of the custom post type is a custom page called ...
0
votes
1answer
55 views

Show posts of parent in edit.php

I'm creating a post type for a site where there 4 main 'parent' pages in a custom post type. For the sake of argument the post type is 'schools' the 4 (of many) parents are: Cambridge Teesside ...
0
votes
1answer
92 views

Second tier sidebar navigation

I'm trying to create a second level navigation in WordPress. I've found lots of examples, but none of them seem to do exactly what I want. This code below has me almost there, but I want an active ...
0
votes
1answer
555 views

Change the class of wordpress menu

I have problems with wordpress menu level classes. <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?> this is the code i used to generate my menu, First level menu id is ...
0
votes
1answer
1k views

Change sub-menu css class

I use custom menus with drop down. I want to make two different drop-down menus each with different styling. Wordpress puts drop-down items in a single ul with class="sub-menu". But I need different ...
0
votes
2answers
88 views

How to get wordpress navigation to work

I have been using this code to display my wordpress navigation and it worked; <ul id="menu"> <?php wp_list_pages('sort_column=menu_order&title_li='); ?> </ul> However,i want ...
0
votes
1answer
410 views

How to add an <img> tag when a menu item is a dropdown(or has a sub-menu) [duplicate]

Possible Duplicate: Adding a class (arrows) to main menu links that have children? I have two, very basic css dropdowns in my menu. I want to be able to add an arrow next to the dropdowns ...
0
votes
1answer
251 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
91 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 ...
0
votes
1answer
224 views

Auto Filled Custom Menus for Custom Post Types?

Is there anyway to have custom menus that fill out automatically, specifically for custom post types? You can do it for default pages but nothing else it seems... For example you have a page which ...
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 ...
0
votes
1answer
548 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 ...
0
votes
1answer
434 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.
0
votes
1answer
210 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 ...
0
votes
1answer
142 views

How to looping taxonomy terms?

is there any way to loop terms in a way they display in menu? Eg: Let say I have 2 taxonomies in a post type - tax1 and tax2. They are not hierarchical to each other. If I have posts that have ...
0
votes
1answer
10k views

Add qtranslate language select box to menu

I can't find any info on how to operate qtranslate and add the select box to change language to the right of my header navigation. Any ideas?
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 ...
0
votes
1answer
79 views

Navigation menu displays permalinks

I am creating a theme from scratch and the navigation menu is disturbing me because it is displaying the permalinks after the menu item name. See this picture http://imagebin.org/212406 Link name ...
0
votes
1answer
2k views

register_nav_menus and wp_nav_menu issue, not displaying independent menus

My problem is that wordpress isn't showing the two menu's as separate menus, it just outputs on menu to both positions. URL: http://www.msc-media.co.uk Check the header and footer for the links - I ...
0
votes
1answer
835 views

Links do not open from click, only in new tab [closed]

I'm fairly new to Wordpress, but I'm encountering a strange issue. I have a menu set up, and I've put links to some of my pages inside of it. But, when I try to click on any of the menu items, nothing ...
0
votes
1answer
746 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( ...
0
votes
1answer
571 views

Custom Menus Description Stripping HTML Tags

Spent two days researching this. I need to be able to add HTML to the Custom Menus Description. Everything I can find (including on this site) is from Feb 2011 and mentions using a strip_tags filter. ...
0
votes
1answer
114 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
389 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
296 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 ...
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
2answers
4k views

3 Level Deep Navigation Menu Not Showing All Levels

I have a 3 level deep navigation menu which will show beside all pages on the site except the homepage. The issue is only 2 of my 3 levels are showing in the menu when displaying it using the ...
0
votes
1answer
591 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 ...
0
votes
3answers
221 views

Add jQuery function to media button

I have added a custom button to the media actions in a custom theme, function wp_myplugin_media_button($context) { $wp_myplugin_media_button_image = ...
0
votes
1answer
445 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
3answers
274 views

Adding an additional menu in Wordpress

I am using wp_nav_menu() and I want to add the search box as a part of the menu. I am having trouble figuring it out and was hoping for some assistance: My code: <?php $args = ...
0
votes
1answer
42 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
1answer
1k views

Adding Sub Menu In a theme which Do not have Menu Options

I am a new bee in wordpress but i can code in PHP. I have a free wordpress theme installed on my local host. The theme Do not have an option to add to add menu/sub menu in it. It comes with predefined ...
0
votes
1answer
209 views

How can I set the first link in my nav menu to simply be a drop-down to some other pages

I want to have a set of ~3 pages in a subdirectory called "about" example.com/about/history example.com/about/program example.com/about/coaches I don't want any about/index.html page, I just want ...
0
votes
1answer
301 views

ID of parent Menu

I'm trying to assign a different ID to each sub-menu wordpress generates using the wp_nav_menu function. As it is, wordpress assigns the same class (sub-menu) to every sub menu generated. <ul ...
0
votes
1answer
294 views

current_page_item and custom post type?

I have a page on my site that lists all posts for my custom post type 'Literature'. However when I click on one of the posts, the highlighted active menu item changes to 'Blog'. How do I assign ...
0
votes
1answer
295 views

Missing current_page_item in custom menu

I'm using the new custom menus in my side navigation and it only creates a class sub-menu in the UL's but does not use the current_page_item like when you use wp_list_pages(). I have 3 levels and only ...
0
votes
2answers
323 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
149 views

Theme Options Menu Item - Permission Issue

I am trying to create a theme options menu item for my custom theme. However, when I add the following piece of code in the functions.php file... add_menu_page('Page title', 'Asteria', ...
0
votes
1answer
849 views

wordpress superfish dropdown menu

I am learning how to integrate superfish drop down menus in wordpress and i am following this tutorial http://kav.in/wordpress-superfish-dropdown-menu I am using this theme with superfish integrated ...
0
votes
1answer
965 views

Add custom ID to wp_nav_menu list items

Is it possible to assign specific ID's to wp_nav_menu list items? For example, if my menu contained links for "Home", "About" and "Contact", could I assign the "Home" list item and ID of "home"?