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
2answers
45 views

How do you return a menu with the menu name?

in functions.php, I've defined the following: register_nav_menu( 'home_blocks', __( 'Home Page Posts', 'my_Theme' ) ); In /wp-admin/nav-menus.php, I've added a menu called Home Page Posts and ...
0
votes
0answers
8 views

How do i move a sticky menu below the toolbar for logged in users? [duplicate]

I have created a sticky menu but its hidden by the WordPress tool bar for logged in users and need a solution. Thanks
0
votes
1answer
214 views

How to retrieve depth of menu into template

In wp_nav_menu i use for the menu, with custom walker, i can get the $depth parameter in the start_el function function start_el(&$output, $item, $depth, $args) but, outside this ...
0
votes
3answers
120 views

Move Sticky Nav Menu Below WordPress Tool bar when tool bar enabled

I've created a sticky menu but its hidden behind the WordPress Toolbar when logged in. How do i move it below the toolbar when enabled and logged in? I was looking for a conditional tag but couldn't ...
0
votes
1answer
259 views

Admin Menu Hack (Left side in Dashboard)

How can I add a Title to my Admin Menu on the left side of the dashboard? Not a link, but just a title? I want do this in my functions and not use a plugin. Also which template file handles this menu? ...
0
votes
0answers
24 views

Building Menus with the latest posts included

Im looking to build a menu system much like that off the huffington post or washington post, with links on one side and the latest articles or other dynamic content on another. Before i go crazy and ...
0
votes
1answer
51 views

wp_nav_menu: indicate by id page grandparents

I have an web site with top-header menu and sidebar menu. Situation, like: header menu: books music movies (if we are now under music) sidemenu: blues jazz dance (if we are now under "Jazz") ...
0
votes
0answers
14 views

blog menu highlighted when bbress topic clicked?

as the title says when I click a forum topic in my local wordpress the link acknowledges the request but when the page is returned the blog menu is highlighted not the forum menu, code is standard and ...
0
votes
1answer
125 views

Navigation menus not showing because of custom post type filter

I use this filter to show content from all custom post types in tags archive page function tagFilter($query) { $post_type = $_GET['type']; if (is_tag()){ if (!$post_type) { ...
0
votes
0answers
39 views

WP_Nav Highlight Parent Issue

I'm trying to figure out how to highlight the parent nav of a page and becoming stuck. I've seen something like this : <li <?php if(is_page('services')) { echo 'class="current_page_item"'; } ...
0
votes
1answer
52 views

How Can I add a menu to the theme from withen the function.php file

I have the following code I'm trying to automatically add a menu to a theme via overriding a function. So I won't have to edit the theme file However the menu is being outputted at the top of the ...
0
votes
0answers
51 views

Cannot control wp_nav_menu properly

I'm having a little issue which looks like a bug but probably isn't. Here we go: I simply have this: <?php wp_nav_menu( array('theme_location' => 'primary', 'container' => false, ...
1
vote
0answers
288 views

Alternative to wp_get_nav_menu_items?

I have tried out a technique to implement the wp_get_nav_menu_items, however, a child on the level 1 is being nested inappropriately on the menu. Kindly suggest an alternative of how this issue can ...
0
votes
1answer
30 views

Prevent Menu Shortcode From Formatting

I'm trying to insert shortcodes into menu links (as I need to display a latest post link). I've figured out how to get the do_shortcode part done. However, when I insert a shortcode as the menu link ...
0
votes
0answers
76 views

Programmatically Add Item to WP Multisite Menus

Does WP Multisite require a specific function in order to programmatically add a menu item to a menu? A friend and I have a plugin that adds a menu item to your menu found here. When we created it we ...
2
votes
1answer
68 views

selected menu item

The template I'm working on for a client has the following pages: Home : a custom static page that displays the content of a certain WP page, and the latest sticky posts. This is the front-page.php ...
0
votes
0answers
44 views

nav menu with categorized child pages

I'm a bit new to the whole customizing wp nav menus and have exhausted all ideas. I want to output a completely custom nav that first displays all top level list items. ...
0
votes
0answers
180 views

How to create a dropdown menu on Origami theme

I'm doing a Wordpress website using the Origami theme; in this website i have a navigation bar with the page "Blog" in it. When I hover the cursor of the mouse on the page "Blog" I want to create a ...
4
votes
5answers
3k views

how to create a menu with all sub categories?

Is it possible to create a menu with a category such that each time that I had a sub category that automatically display on the menu? As far as I know, if I have a menu with the category "fruit", and ...
0
votes
0answers
87 views

Website Menu order change when we look in Iphone Drop Down menu

I am Working on A Site. their is showing some Menus in Header Like A, B, C,D etc. Their is Also one More menu in header Like X, Y, Z etc. When I am Looking this Site then Menu are Showing in ...
2
votes
1answer
66 views

How to highlight the current page in the nav menu?

I'm customizing a WordPress theme for my school, and I'm a bit annoyed by the fact that the current page in the nav menu is not indicated. For example: You can clearly see that I'm hovering over a ...
0
votes
1answer
690 views

Add <span> within the <li> output of <? wp_nav_menu() ?>

Im currently printing out: <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?> Which outputs: <div class="menu"> <ul> <li ...
-1
votes
1answer
264 views

Why there is a gap between <UL> and it's container (A drop down menu in wordpress) [closed]

This drop down menu works well in HTML but when i move it to wordpress template, there is a gap between and it's container (.menu-top-container). when the mouse on the menu you will find the gap. ...
0
votes
0answers
63 views

Does wordpress add their own classes into nav menus?

I am building a theme and have noticed that when I create a menu with just html or have it dynamically add menu items based on pages it looks how it was meant to be. Although when I change the code to ...
1
vote
0answers
117 views

Navigation menu not being assigned Theme Location

I am setting my navigation menu up using the following snippet in my functions.php. add_action( 'init', 'add_menus' ); function add_menus() { register_nav_menus( ...
0
votes
1answer
106 views

Lost admin “manage_link” capability WordPress. No “Links” menu item in admin menu

Going slightly mad. In the process of upgrading a client's website to WordPress 3.5.1 we've decided to use the built-in WordPress "Links" system to manage their affiliations. I am using the "Admin ...
0
votes
0answers
106 views

Create Nav Menu on theme activation not working

I am running multi-site, i have an activation file which looks like this.... //First check it make sure this function has not been done if (get_option('this_has_run') != "yes") { add_action( ...
0
votes
1answer
547 views

Show different menus for login / logout user [closed]

I am try to show different menus for login and logout user. Here is perfect solution to do this and also work on Twenty eleven theme. But when I try to add this code to my woo theme's defination (in ...
1
vote
1answer
256 views

How to remove a metabox from menu editor page?

I am not sure if it is much different for any page but I am wondering how to remove a metabox from the appearance>menu page without having to go into the wordpress core files and remove it. Is there ...
1
vote
1answer
52 views

Unregister Nav Menu with fallback?

I am trying to create a child theme so theme updates are much easier. I want to remove the parent theme menus and add my own. I know I can modify the header.php file (where these menus exist) and ...
1
vote
1answer
142 views

Add CSS to head depending on nav menu walker

I have a custom walker for a navigation menu on my website, and within it I have some custom CSS that I want to apply to each menu, however, I cannot simply echo it there because even though it works ...
0
votes
1answer
348 views

Keeping 'current-menu-item' highlight of navigation menu?

The navigation menu of my site is generated via wp_nav_menu( array( 'theme_location' => 'primary') ); Some menu entries are category pages (say /category/news/). This page contains links to the ...
0
votes
0answers
58 views

Unable to add post to the custom menu?

I added custom menu in wordpress 3.5.1 from Appearance-Menus-Menu name. After saving it does not appear on the site. Also the post is also not showing. What are the additional configuration I required ...
0
votes
0answers
68 views

Group post archive by last two weeks and months

I want to show an archive menu in each page in the following manner: Today Yesterday This week Last week This month Last month Earlier How could I do that?
0
votes
0answers
89 views

Solution for menu limit in wordpress theme twenty twelve?

I just hit a limit for menu items in Wordpress theme Twenty Twelve. The issue is described here, but is largely unresolved: http://core.trac.wordpress.org/ticket/14134#comment:63 I edited my php.ini ...
2
votes
2answers
627 views

Building a Sub-menu: Display Parent Category/Page's Children When Viewing Children

I would like a sub-menu in which the user visits a page, post, or category (in this example, "info") and is then displayed a list of children categories/pages. Not a dropdown menu, but a menu that ...
1
vote
0answers
41 views

One item not showing when programmatically Generating Navigation Menu

I am programmatically generating a navigation menu with the following.... add_action( 'init', 'register_navmenus' ); function register_navmenus() { // Check if Top menu exists and make it if not if ...
0
votes
0answers
139 views

Menu support for touch devices

I've noticed that on touch devices like the iPad or Surface the menus in my WordPress site do not work. When using a mouse on a desktop, as soon as I move over a menu item, the submenu automatically ...
1
vote
1answer
259 views

Custom dashboard menu does not stay open for the custom Taxonomy within it

Short Version: Custom menu with a custom post type that supports a custom taxonomy. The custom post type works, the menu for it works and stays open. The custom taxonomy works, but the sidebar menu ...
0
votes
0answers
185 views

woocommerce horizontal menu parent cat and subcategories as vertical menu

I have looked a while to find a solution for this and cant get a clear path on how to do this. basically i would like the child categories listed as a vertical menu but only the ones who belong to ...
0
votes
0answers
56 views

Wordpress adding in site URL to header links

A little information: I am developing a one page theme that uses posts as sections on the main page. I have created code that allows users to add a menu item in the post page from a meta box when they ...
0
votes
0answers
172 views

Menu li on hover reveals a Div styled with CSS special effects like transform shapes gradients or a background image

I was asked to make this a more obvious WP question, sorry. It is about the WP NAV MENU I think... Is there a way to have every menu item get listed and have a div correspond to it that is within the ...
0
votes
1answer
42 views

Make three menus with three category levels

I want to have 3 menus of categories, and each menu with diferent level of categories. First menu with First level categories: category 1 category 2 category 3 If I go to the first category, I ...
0
votes
1answer
48 views

Conditional menu display

I have the line of code below with the intention to display the called menu in every other page except the home page but it still shows up on the home page. Any ideas what the problem could be. ...
0
votes
0answers
84 views

customizing jquery with ubermenu jquery API's

I am having a heck of a time trying to get this simple function to work in WP using ubermenu: My goal is to have dropdown menu-itm-156 fire when the document.ready and control it based on which page ...
3
votes
1answer
1k views

Menu Items Disappearing

I'm running WP 3.5.1 and I've a menu with about 100 items. When I add new items to the menu older ones disappear. I'm not running Suhosin or similar stuff. What can be the cause? Note: I'm on a ...
3
votes
1answer
694 views

Wordpress Export Import Site Navigation Menu

When I do an export and import the menus get transferred but I have to set the Site Navigation Menu manualy. Obviously it's only a small detail but can I ask is this a bug or expected behaviour and is ...
-1
votes
1answer
160 views

How to centre menu items on horizontal nav bar? (e.g. make margins equal) [closed]

I'm currently working on building this site: http://2013.whitehallrow.com/ I would like to centre the menu items so that there isn't the large gap after "Row Club" on the right. I've tried to locate ...
0
votes
0answers
18 views

duplicating a nav menu in site and using it in another site

I am working on a site with 140+ pages. I had a hit yesterday on the site of some kind and lost a good deal of the navigation menu. I restored the database and site, but the menu was not successfully ...
0
votes
0answers
73 views

WP Admin Menu Manager - Move Parent with Children

Specifically in the Admin appearance menu, I have something like 20 pages on a website for a client of mine. There are all kinds of pages with subpages and when creating the menu it's a real pain to ...