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

Admin only menu/page

Is it possible to show a menu item If only admin is logged in) For any other user the menu item does not appear. For example: if there are a few pages that have shortcodes or other functionality ...
0
votes
2answers
172 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
100 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
342 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
463 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
38 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
194 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
0answers
39 views

Can someone please help me modify this sub-menu filter to always start from the 'ultimate' or 'top' parent?

This code comes from here. It checks for a 'sub_menu' argument in the wp_nav_menu() function, then filters the menu accordingly. However, it always starts the menu from the current page's parent (not ...
0
votes
0answers
21 views

How do I get current_menu_parent class if the child is also a parent?

I'm using wp_nav_menu to display a 4 level menu for a site. If the active item has no children the class current_menu_parent is applied to all parent levels and words fine. If however the active menu ...
0
votes
1answer
49 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
0answers
154 views

wp_nav_menu() Walker: Add “Dropup” class if nav class = footer-nav

I have a wp_nav_menu walker in my theme and I want to add an additional class of "dropup" to the li.dropdown ONLY if it is in the .footer-nav ul. This way the dropdown in the bottom navigation will ...
0
votes
0answers
213 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
114 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
126 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
0answers
125 views

Multiple Drop Down

I have been trying to make a multi-level(relational/dependable) drop down menu. What i really want to do is, give the user to search for a mobile company(lets say Samsung) and then show the Phones ...
0
votes
1answer
276 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
525 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
32 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
94 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
133 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
139 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
78 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
39 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
2k views

wp nav menu: add attributes to menu items [duplicate]

I'm trying to figure out if it's possible to attach an attribute to a wp nav menu item. To demonstrate, this php: <?php wp_nav_menu(array( 'menu' => 'main', 'container' => ...
0
votes
1answer
775 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
345 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
0answers
21 views

change id of automatic menu in wordpress?

I am creating menus from backend. I created two menus with same name Publicar Descuento when these are created there ids are automatically becomes Publicar Descuento. I want to change the id of ...
0
votes
1answer
31 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
58 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
1answer
266 views

Displaying different page links on different pages

I have a wordpress site with 100+ pages. Now suppose 5 pages are related to page 1, and I want to show them in side bar as similar pages/related pages and other group of pages in other menu in ...
0
votes
0answers
23 views

Editing a Custom Menu

Is there a way to edit a WordPress default custom Menu? I need to add these items to it: Display WooCommerce Cart (w/ cart pics) Current pending $ qtranslate language selections login box ...
0
votes
0answers
11 views

How to make wp_nav_menu show only items from depth 2? [duplicate]

I use the following codes for displaying menu's in a website: <?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'theme_location' => 'MenuTop', 'container' => false, 'items_wrap' ...
0
votes
0answers
21 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
0answers
109 views

Custom Menu Widgets Disappearing on Category Pages

This question is related to the following thread. wp_nav_menu not appearing for a couple pages The answer to this question works perfectly for my primary nav, however my custom menu widgets in my ...
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
0answers
67 views

My wp_dropdown_pages is not working

I am using wp_dropdown_pages() function to show my all pages in drop down style, and child pages little indent. But the problem is that when i click on any page it not do any thing. So how i make it ...
0
votes
1answer
99 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
108 views

Custom menu for a one-page-scroll-theme

I need change de native behavior of the menu. Instead menu point to URL page (www.domain.com/page-name), i need point to a anchor (#page-slug, for example). Using Menus -> Custom Links i get it, but i ...
0
votes
0answers
34 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
35 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
141 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
38 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
1k views

Custom Post Type .current-menu-item not applying on Custom Post Type Archive Page

I am working with custom post types and I had trouble with the nav menu not getting the .current-menu-item on my custom post archive page menu item. In fact, when I was on that page or any of the ...
0
votes
1answer
97 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
0answers
9 views

Adding custom menu entry [duplicate]

I want to add a custom (dynamic) login/logout link to the end of the top level menu of the twentytwelve menu. Is there a way to do this by editing the theme (and its functions) only?
0
votes
1answer
40 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
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 ...