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
0answers
12 views

Building large menu from many other menus

Can I use following script to build my primary menu which includes items of many other menus? Example: my main menu looks like this - -1 --1.1 --1.2 -2 and I have many other menus with ID = (1.1, ...
0
votes
0answers
7 views

Schedule Page to Menu

Every week I tend to have 2-4 pages scheduled though I need to get them added to my menu as well. The "Add New Top Level Pages to Menu" option won't work in my case though as the pages in question ...
0
votes
1answer
15 views

Where is my menu editor

So I've opened up a WordPress site I've developed some time ago where I've never had to use the menu editor. Problem is, I do need it now, but it doesn't show up in the wp-admin 'Appearance' section. ...
0
votes
0answers
15 views

Why is WordPress stripping anchor links from mneu item URLs?

I have a taxonomy page that lists all the sub-categories. I want to link directly to the sub-category position of that page from the main navigation menu. I set up a menu with the main category ...
0
votes
0answers
16 views

Top level ancestor ID of current page in navigation menu

I want to get the ID of the top level ancestor in the navigation menu. So I want to do a function that retrieves id of "TLA" from this list: Menu - Submenu TLA <- Need its id - Submenu 1 - - ...
0
votes
0answers
22 views

Header Layout design [on hold]

Godday ;-) This my first website using Wordpress. Im using the Storefront theme from woocommerce, and i can't figure out how to edit the header menu, right now it's just a mess i would like it to look ...
0
votes
1answer
5 views

Importable Menus? Along with Pages (a site layout template)

Simply stated: How do you pre-create menus which can be imported by a user who does not want to spend a day recreating the wheel? Most themes have preferred layouts, which can have a tedious page ...
0
votes
0answers
11 views

WP Menus inside another menu plugin

Hey everybody! I am looking for any WP plugin that adds an option to choose another existing menu while creating new menu, so that way I should have menu within another menu. I need to divide my ...
0
votes
0answers
22 views

WP Super Large Menu Problem

Hey Folks! I am looking for the best WP practises to handle mega large menu. My navigation menu has about 400 links, so if I create just a single menu, then it looks so ugly... I could divide it into ...
0
votes
1answer
24 views

Menu on responsive twentytwelve theme not working, strange url error

i use twenty twelve custom theme (palumariosrl.it) but i have a problem. If i try to use on responsive mode the menu not function (can i see only hover menu page and if i click on menu buttom i have a ...
0
votes
0answers
5 views

Is it possible to customize a genesis/dynamlk WP site's navigation to include a horizontal drop down instead of a normal drop down? [on hold]

I hope I worded this right, was curious if a nav menu like this http://www.aarp.org/work/ was possible or one that hovered horizontally versus a drop down? I am new to WP dev and everything ive read ...
0
votes
0answers
13 views

Get menu item data from menu item ID

I want to filter the_title when I output a custom menu (of internal pages) using wp_nav_menu(). My pages have a custom field called 'short_title', and I want to use these values in my rendered menus ...
0
votes
0answers
22 views

Admin Custom Menu Editor Disappeared

The custom menu editor on my site has disappeared. It used to be under the Appearance menu. Any idea where to find it, or how to fix this problem?I have registered and init the menu properly in theme ...
0
votes
2answers
20 views

Get menu items problem

I'm trying to get a menu items created from wordpress admin panel. To do this I followed the instructions codex: http://codex.wordpress.org/Function_Reference/wp_get_nav_menu_items // Get the nav ...
0
votes
0answers
12 views

Add login and register controls at the header top right corner

I want to add login and register at the top right corner in the main menu of wordpress site. So is there a plugin out there which can do this and login and password textboxes should show horizontally ...
0
votes
2answers
27 views

Admin: Navigation Menus do not show empty categories/taxonomies in the list's search tab

This is referring to the Admin area of Navigation menus It seems the normal behavior for building out Navigation Menus (Appearance>menus) is that when you expose categories or custom taxonomies, that ...
0
votes
1answer
23 views

Hide menu theme location for certain capabilities?

I have 6 menu theme locations setup with "register_nav_menus" I would like editors to be able assign custom menus to 3 of those locations and keep the other 3 only available to administrators. How ...
0
votes
0answers
18 views

Theme for a specific subcategory inside multiple categories

In relation with this topic in which I wanted a different theme for categories than for subcategories, now one step further, I want a specific theme for a specific subcategory used in multiple ...
0
votes
1answer
15 views

Can't add any menu items anymore, server related

Unsure if this fits here, but hopefully it does. So I'm having an issue that I can't add any menu items to a custom menu anymore. At this very point I can verify that it's server related, since this ...
0
votes
0answers
20 views

Firefox Display Bug. How can I diagnose? [closed]

http://dev.itandcoffee.com Above is a development theme i'm working on to better understand wordpress. When you click the search icon to the far right of the menu bar, a search box drops down below. ...
0
votes
2answers
14 views

Theme for subcategories

I am working with categories (cities) and subcategories with the same menu (for example: cars, animals, houses). Therefore right now my categories structure looks like this: - London -- cars -- ...
0
votes
0answers
18 views

Adding items in a menu not working in multisite

I have a custom code that it will automatically add the category to the menu in multisite. Lets say I have a category name "Cat1" then once I run my code this will automatically added to the menu. ...
0
votes
0answers
26 views

Sidebar menu, different parent and child pages

I wish to organize a hierarchy of pages into a navigation menu in a manner similar to the following: Cats Short-haired Long-haired Purebred About Animals Dogs Toy Dogs Hounds Terriers About ...
0
votes
1answer
54 views

Wordpress template - How to add class to li tag if submenu exist

for example i want create this menu: <div class="menu_wrap"> <ul class="nav sf-menu"> <li class="sub-menu"><a href="">Main Menu 1</a> <ul> ...
1
vote
0answers
18 views

How do you add a <div> around the second level of a Menu?

I've been searching around online and reading up on walkers but I can't figure out how to do this. Basically I need a <div class="sub-container"> wrapped around the second level of the menu but ...
0
votes
1answer
36 views

How can I add a fixed vertical menu to my site? [closed]

I'd like to have a vertical (secondary) menu on some sub-pages of my site. It should be fixed (will stay as the viewer scrolls down the screen). I'm currently using the Q2W3 fixed widget, but it lacks ...
0
votes
2answers
33 views

Add static item to wp_nav_menu

I am trying to add static menu item to Wordpress Menu.I am using filter 'wp_nav_menu_items' for this in functions.php. It works but it doesn't put it under menu container tag. function ...
0
votes
0answers
18 views

Sub menu that links to posts grouped by year

Is it possible to create a custom menu that links to all posts grouped by Year (See screen shot) and is automatically populated as new posts are created? I have found a few posts asking for a way to ...
0
votes
1answer
14 views

Modify sub_menu function to show pages below a specifically set page

I've got a function that ties in to wp_nav_menu that shows sibling pages for the currently viewed page, as well as any children pages. I need this modified to only show the children pages of a ...
0
votes
0answers
12 views

error on adding menu walker

I am trying to add a menu walker. I have added the following code in a plugin: class description_walker extends Walker_Nav_Menu { function description_walker() { } function ...
0
votes
2answers
26 views

How to override menu markup?

I am trying to override wp menu markup and add additional div around each sub-menu ul. Something like this <ul> <li><a>Coffee</li> <li><a>Tea</a> ...
0
votes
1answer
20 views

add_action does not call the function

I want to add a custom field in the menu, therefore I am trying to use wp_nav_menu_item_custom_fields. I am using following code but it does not even call the function. I am adding it in a plugin, why ...
0
votes
1answer
17 views

How to hightlight all ancestor menu items of a child page NOT displayed in menu

Here's the situation: In my main navigation menu I have something that looks like this: Work with Me Latest Projects Where the Latest Projects page is a child page and sub menu item of the Work ...
0
votes
1answer
22 views

Update nav menu not selecting parent

I am building a nav menu programmatically like so: $menu_exists = wp_get_nav_menu_object( 'test_menu' ); if( !$menu_exists){ $menu_id = wp_create_nav_menu('test_menu'); ...
0
votes
3answers
20 views

Output Post ID for all nav_items

I seek a solution for my navigation in a new WordPress template that I'm developing. How can I output the unique post ID for every nav item? I want to create a one-pager (microsite) for a client. ...
0
votes
0answers
32 views

Use secondary menu of parent theme in child theme

I cannot solve this problem and this case doesn't work for me either. All cases that I found on the internet deal with the new secondary menu that should be registered and used in a child theme. In ...
0
votes
1answer
57 views

wp_nav_walker that interacts with widgets to setup mega menu

I'm a newbie WordPress developer working on a WordPress theme project that demands mega menus as part of the main navigation. I'm done with the front-end stuff, and now I'm trying to explore the ...
-2
votes
1answer
43 views

Why is my container argument not working for wp_nav_menu() [closed]

The following code outputs a menu but the container <nav> tag is missing. $menu_settings = array( 'menu' => 'Packages', 'container' => 'nav', 'container_class' => '', ...
0
votes
2answers
49 views

Current User In Custom Menu Item URL [closed]

I'm using S2Member + Buddypress on a compatible template. I have 8 menu items and am using the "Menu Items Visibility Control" to limit the 7th for view only to current_user_is(s2member_level1) | ...
0
votes
0answers
27 views

How to use a start_el variable in start_lvl

On top of the sub-menu list items i would like to insert a <h2>parent-description</h2> line which i expect to show the description (or the title if wanted) of the parent item. Such as; ...
1
vote
0answers
31 views

Adding custom input field in menu backend [duplicate]

How can I add the custom content in the menu items in the back-end. For example I want to add another input field and save it. I could not find any information in the Codex.
0
votes
0answers
26 views

Multiple sub-navigation menus in page

I am developing a WP theme. I need to have a main menu in 'pages' (already done) and have some sort of sub menu made of tabs in the 'page'. I thought about having multiple tab navigation menus and ...
0
votes
1answer
23 views

Modifying the walker to insert parent's description above sub menus

I would like to show the title or the description of the parent item on top of the the sub-menu list items. I have basic knowledge on how to modify the walker by calling start_lvl function to insert ...
0
votes
0answers
38 views

SQL query to get all nav menu items and their titles/label

I want to get a list of all nav menu items displayed in a menu having id "19" in my search page to match against the search string. I would like to get names of menu items as displayed on frontend. I ...
0
votes
1answer
21 views

Show Child of Parent Page including all other parents

I'm trying to show on the menus as assigned in WP Menu backend however how is possible to load child of parent page without hiding the rest. Example Main-1 Main-2 Main-3 When Clicking on Main-1 ...
0
votes
0answers
19 views

Pagination breaks custom sub menu

I've got the following class which allows me to make a specific sub menu. class Custom_Walker_Nav_Sub_Menu extends Walker_Nav_Menu { var $found_parents = array(); function start_el(&$output, ...
2
votes
1answer
28 views

List children of second level sub page

Top Level Page - Second Level Page --- Child Page --- Child Page --- Child Page The goal here is to list all children of second level, I have that done from the codex. However, when I click ...
0
votes
1answer
60 views

Highlight specific menu item when custom post is page

I know that this question was asked many times, but I did not find a really good solution for my problem: I have a custom post type "event" with some categories like "lecture". For each category, I ...
0
votes
0answers
19 views

Wordpress mega menu walker

I need make a mega menu walker with these structure: <li><a href="#" title="" class="active">Sākums</a></li> <li class="dropdown"> <a href="#" title="" ...
0
votes
0answers
44 views

How do you add content to a WordPress sub-menu dependant in its parent?

What I'm wanting to achieve is this: A submenu with content showcasing 1 product from each category after the links In the submenu. I am trying to use the WordPress nav walker to add the content ...