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

wp_list_pages - show pages immediately 1 level below current level

I'm setting up an events page in a wordpress site I'm building. Let's take a look at the page menu hierarchy: First of all there is a Events landing page. It will display four regions where events ...
0
votes
2answers
201 views

WP e-Commerce plugin is breaking drop down menus functionality

After installing WP e-Commerce plugin primary theme menu functionality got broken. Here is theme with installed WP e-Commerce plugin: http://www.interactstaging.net/clients/tozzi/ and here clean theme ...
0
votes
1answer
18 views

How to use my custom menus as seperate pages?

I want my site to have different pages, so basically, I want to make it that when you select a menu, it takes you to a different part of the site.. with different information that I have typed in.. ...
0
votes
1answer
110 views

TwentyTwelve child theme: Incorrect footer menu

I built a child theme of Twenty Twelve, and created a menu called "Footer Menu" in Appearance > Menus. I assigned this menu to the Footer location: However, the footer menu in the live site ...
0
votes
0answers
406 views

How to add a class name to the ancestor <li> of a post?

I've asked this question before with a different Question Title over at Stackoverflow. At that time, I was not yet aware that a function of the theme is adding a class name called current-menu-item. ...
0
votes
1answer
769 views

Customizing a walker menu class

Hey Folks I trying to customize a walker class to add custom classes to navigation level. Essentially there will be 3 levels of navigation. <ul *custom class*> <li *custom class*> ...
0
votes
1answer
46 views

adding a numbers to a item from navigation menu

I search in Internet but i didn't find a good documented way how to add to item from menu a number , my current menu is like Item1 Item2 Item3 , I'm calculating with WP_Query how many post for ...
0
votes
0answers
41 views

Custom Class to wp nav menu

I am trying to edit the default arguments in the wp_nav_menu function. Basically I need to add a custom class to the UL and a custom class to the LI. I have tried to use <?php function ...
0
votes
1answer
219 views

Image menu on responsive WordPress

1) Why WordPress only use based on "text" menus (navigation) only? Maybe the answer is "it is for SEO and mobile responsive WordPress". Am I correct? any other opinions? 2) What if I create "image ...
0
votes
1answer
81 views

Walker for menus

I want to modify all of my <li>'s classes and ids, but the function wp_nav_menu() does not let me do so, so I think I need to use a walker. I am pretty new in OO, so using an object is not ...
0
votes
2answers
264 views

Custom menu - different submenu for first menu item

I created a custom menu with dropdowns. (just CSS no JavaScript). I also added a custom CSS class for the first menu item. So far so good. The point were I get stuck is adding a custom dropdown only ...
0
votes
0answers
135 views

How to create dynamic menu from HTML

I tried creating a dynamic menu from HTML, I registered menu in function name is main menu, Here is the HTML code that display the main menu- <div class="submenu"> <div ...
0
votes
1answer
159 views

Rogue current menu item class in wp_nav_menu()

I am working on a 'from scratch' theme which has a simple wp_nav_menu call; wp_nav_menu(Array('menu_class' => 'nav', 'container' => FALSE)); On standard posts, archives and pages this ...
0
votes
1answer
405 views

menu items toggle and display on screen size reduction

I am working with a child of Twenty Twelve. I made my own images to act as menu li backgrounds. When I reduce the screen width by moving my browser window in, the menu items seem to toggle ...
0
votes
1answer
650 views

Use wp_nav_menu to dynamically generate child menus

The goal: use wordpress's wp_nav_menu to generate a menu where child pages were dynamically added while keeping the correct submenu classes. Before: Installations Habits After: Installations ...
0
votes
2answers
34 views

Set a different home link in nav menu

I've my website with homepage link set to http://www.mysite.com. I've also many pages with subpages, and in that subpages i've already a link in the content that returns to the top level parent page. ...
0
votes
1answer
105 views

How do I separate link levels in a custom menu walker?

I am trying to build a custom menu walker and I am unclear on how I would be able to build a UL for top level menu items and a separate UL for all menu items of lower levels. Essentially I am trying ...
0
votes
1answer
166 views

multi level menu not working and not displaying correctly

I have created a multi level menu with wordpress and no matter what i try the menu will not display correctly. here is the genereated menu <div id="cssmenu"> <ul class="menu" ...
0
votes
1answer
206 views

Sub menu do not hide

I have a menu with a sub menu. The sub menu open all the time in the left side of the window. When I put the cursor on the menu, the sub enu appears under it as it should. I don't understand what is ...
0
votes
0answers
88 views

Split submenu displaying the description underneath

By using the below class, I was able to extend the Walker_Nav_Menu and display the description under the link. I'm working with an UI that requires to have submenu split that also display the ...
0
votes
1answer
46 views

conditional: if is page, and all subpages

What I'm currently trying to achieve is displaying certain menus on certain pages using one template and conditional statements, like so: if (is_page('donate')){ wp_nav_menu(array( 'menu' ...
0
votes
1answer
916 views

How to list recent posts in a wp nav menu?

I've been trying this for some time and didn't get no clear answer. I need to display 11 recent posts inside one of my menu items. My menu is like: ITEM 1 · MAMBA · ITEM 3 I need to display ...
0
votes
1answer
451 views

Getting (Invalid) when adding custom taxonomy of custom post type link in menu [closed]

I am getting this message when I am trying to add a link to my menu: I have created a custom post type and a custom taxonomy <?php /* Plugin Name: Portfolio - Custom Post Type Plugin ...
0
votes
1answer
32 views

Cannot find Home link in Pages on Dashboard

I cannot see the Home page link in the WordPress menus section. Here's how the Pages box look like this: How can I get the link of Home?
0
votes
1answer
60 views

Remove link from Page name in navigation bar

I have a wordpress site and there is a navigation bar with menu and submenu. I want to remove link attribute from menu items that have sub menu. Is it possible? because i couldn't achieve to this by ...
0
votes
0answers
22 views

adding parent link to submenu [duplicate]

menu a link to its parent, for example: I have the following menu: Parent 1 - Child 1 - Child 2 - Child 3 I wish to add to it (on the fly, not throw the wordpress cms) link to the parent: ...
0
votes
1answer
1k views

Sticky menu for WP custom menubars

This seems simple, except that I am not able to figure it out. In a wordpress theme, how can I make a custom menubar below the header image stick at the top after scrolling down the page? Example ...
0
votes
1answer
125 views

How can I change the title of the Home link in the navigation bar?

I use Bones theme with a static front page. The header.php calls the bones_main_nav() function without parameters, while bones_main_nav() only calls the wp_nav_menu() function.
0
votes
0answers
38 views

Getting recent posts corresponding to category items in custom menu

I'm trying to create a tabbed navigation, each tab containing 5 recent post excerpts of category items that are listed in a custom menu. I'm planning to load all these posts at once and put each ...
0
votes
1answer
38 views

How we show pages in dropdown

I show the all menu which i have on the top in dropdown style when site is open in mobiles. I successfully display them in dropdown style but the problem is that how can i indend my subpages. or make ...
0
votes
1answer
151 views

How do I move menu to the bottom in Custom Community theme?

I am new to Wordpress and created the following website: www.sugarhausbyamy.com I would like to move my menu to the bottom of the screen. Is there an easy way to do this? I would also like to ...
0
votes
1answer
41 views

Custom Menu based off custom header

I'm using my Child of TwentyTwelve Just for your knowledge, I have two sections to my one WordPress site... one is called pain, the other called anesthesia (It's a medical site for the curious). I ...
0
votes
1answer
132 views

Hide pages depending on role

I've been trying to find a way to limit the user from seeing some pages in the "pages" menu in the admin panel. I looked in the edit.php file and noticed: } elseif ( 'page' == $post_type ) { ...
0
votes
1answer
49 views

Redirect url in plugin to somewhere else?

I am using WP-SNAP Extended! v1.0.0 and I want to use this alphabetical menu as a sub-menu beneath my header. I managed to get the alphabetical menu in place, but now, if I click on a letter, it will ...
0
votes
1answer
272 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
0answers
25 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
55 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
41 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
0answers
56 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, ...
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
88 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 ...
0
votes
1answer
1k 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 ...
0
votes
0answers
64 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 ...
0
votes
1answer
720 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 ...
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
186 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 ...
0
votes
0answers
59 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
221 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
45 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
0answers
45 views

Display all page numbers at the same time

WordPress only shows a few page numbers at a time and I have to keep clicking on the "right" arrow to advance one page at a time. I have 31 product pages, each with many products so it takes "forever" ...