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

Add a new dynamic submenu to an existing menu trough a hook

I have created a function which binds to a shortcode, for inserting a language switcher in the form of a dropdown menu. Now I don't want this menu inserted trough shortcode, but instead i want to ...
1
vote
0answers
15 views

getting the current sub item out of total sub items in a given dropdown (custom walker)

i would like the possibility to append a text(denoted in square brackets) to each sub-item in the menu like so: Parent 1: sub-item [sub item 1 of 5] sub-item [sub item 2 of 5] sub-item [sub item 3 ...
1
vote
0answers
11 views

Automatically Add New Tags to Sub-menu

Been searching for any related plugins or info. about this case but didn't find anything relevant or working. I need every new tag that is added to a post automatically appear in a menu as a sub-menu ...
1
vote
1answer
11 views

Programmatically (PHP) get the nr. of items in the primary navigation menu

I need to get the nr. of items in the primary navigation menu. I need this to determine the width in percentage of each list item. So I also need to change/add to the css width attribute of the list ...
0
votes
0answers
8 views

upload custom field in nav menu

I want to add image uploader for each menu element in appearance menu i have created a new walker class Walker_Nav_Menu_Edit_Custom extends Walker_Nav_Menu {} can't paste the walker here beacuse ...
0
votes
1answer
13 views

Menu Responsive

How do i make my menu bar responsive? The menu doesn't change together with the header when I crop my window to mobile size, leaving an empty space between header image and menu bar or showing menu ...
-1
votes
0answers
8 views

How to add more drop down menu tab like link, post and product category in my theame drop down menu are limited?

Please help me... I'm going to open an eCommerce site. In my wordpress theme I am unable to add more than 41 drop down menu in my site including sub tab or category
0
votes
1answer
13 views

Link to Homepage in Menu

I am using the mh-newsdesk-lite wordpress theme in one of my client's websites and I'd like to have a link to the homepage in the menu. It ideally would be accomplished without php, or without any ...
0
votes
1answer
27 views

Best way to build a 500 item menu

I have a site that needs to have about 500 menu items. It's a sports site that has the following types of items League (NFL, NBA, etc) [ About 8 top level items] Division (NFC East, NFC West, etc) ...
0
votes
0answers
5 views

And was changed to and under a sub Menu but has not changed [closed]

Under Menu called Projects there is a sub Menu Industry And Manufacturing. I have changed the menu to reflect the "And to and" but when I go to Projects I can still see the big A (And). I have checked ...
-1
votes
0answers
14 views

two product categories - one menu item?

I really cant get my head around this... I'm using WooCommerce and I want to combine two productcategories in ONE menu-item. How do I achieve this? What command should I use for creating a custom ...
-1
votes
0answers
20 views

Nav walker function not working

i made a walker function for this menu Our Profile <li> ...
0
votes
0answers
18 views

Portfolio filtering menus script in Wordpress and JQuery

This is the page: scharc.com/en/projects Let's say I select the Department, then the Field of Expertise and finally a Location, for example. Right now deselecting the Location doesn't free any ...
0
votes
1answer
13 views

Use the page picker from wordpress menu creation page

Is it possible to use the page picker from the menu creation page on other pages in admin mode? (This thing: ) I am creation a custom page type that will show specific pages in a list, and to ...
0
votes
0answers
10 views

custom script category in a menu not showing

I have a custom script to create a menu and a category everytime a user register for multisite. Below is the code where I create a menu and category. switch_to_blog($id); $_nav_menu_selected_id = ...
-2
votes
0answers
15 views

Wordpress navigation menu [duplicate]

I might be very silly to ask this..but its confusing me since a week.. i wanna know how to apply conditional tags to an navigation menu item..ie if user is logged in then blah blah....and if not then ...
0
votes
2answers
30 views

Page and Posts loading as index page? Not loading the content

I've been developing a website on wordpress for some time now and came across some issues but until now I could figure it out, not today... Yesterday I've worked some more on the website and today ...
1
vote
1answer
15 views

Center and hide overflow of WP toolbar custom links

I have made 22 custom links in the WP toolbar for my site but when I reduce browser/screen width they are completely un-resposnive in terms of CSS and stack instead of simply not displaying links that ...
0
votes
1answer
24 views

WordPress Custom Menu Admin helper plugin

I'm creating learning system in WordPress and I have a lot of pages instead of post. Those pages needs to be in a custom menu with two sub items. It gets really confusing to add pages to the menus ...
0
votes
0answers
4 views

Add author archives to Wordpress Appearance Menus Screen?

I am trying to figure out how to add a list of all blog authors to the Appearance Menus screen, so they can be added to menus with the same functionality as Pages and Posts, etc. (Not custom links.) ...
0
votes
0answers
27 views

wp nav menu without label

I have a menu on wordpress using this <?php wp_nav_menu( array( 'sort_column' => 'menu_order','menu_class' => 'navlink', 'container' => false, 'theme_location' => 'header-menu') ); ...
0
votes
2answers
27 views

Custom walker with hashes instead of links (one-page layout)

I am currently developing a one-page based layout with WordPress where the actual content is split up into separate pages in the backend, which are all knit together to a one-page layout in my ...
-2
votes
0answers
17 views

Unable to find get_header definition file

My site was developed by some other developer. My menu items a separated in some other file. Menu items are added in each page with get_header(). When I am viewing the source code of page in browser ...
0
votes
0answers
23 views

How to filter Wordpress menu by tag name of the post

I have a simple wordpress theme installed on my server. The url is : http://urhalpool.com/wp/ I have used tagging against my post and those post added to my top and left menu. When I am filtering by ...
0
votes
0answers
18 views

How to add class and span to

First of all this is my first wordpress theme where im making So i want to add class to <a> and <span> in navbar and want to looks like this <a class="menu_top" ...
0
votes
0answers
37 views

Help needed for custom walker menu

need a help. I developing a WordPress woocommerce template with yamm 3 megamenu . but i am having some problem with my complex navigation structure. can anyone help me how to convert following code ...
0
votes
2answers
28 views

How to add ul class on nav

I've been learning to convert HTML to WordPress and want to convert on to class like this: <div class="mainmenu pull-left"> <ul class="nav navbar-nav collapse navbar-collapse"> ...
1
vote
1answer
23 views

How to Overwrite/Customize wp-admin/nav-menus.php in Wordpress

I was wondering if is there a way to customize wp-admin/nav-menus.php so that I could add my own extra fields or tab. For example, I want to have a new tab (Menu Settings) created for each menu ...
0
votes
0answers
14 views

Menu won't stay nested when I click 'Save Menu'

For the footer I have a top Link and the rest below it are supposed to be nested underneath. It used to work fine but when I tried to change it now none of them stay nested and they all snap back to ...
0
votes
0answers
39 views

converting a bootstrap vertical menu into wordpress menu

I want to convert this menu: http://www.bootply.com/uBoT3zP1P2 into a wordpress menu. I'm not good at working with walker menu and using menu hooks like "nav_menu_css_class" I couldn't read the ...
0
votes
1answer
21 views

Reduced Menu in Mobile with Twenty Twelve and Polylang

Situation: Theme: Twenty Twelve Plugin: Plolylang, German & English URL: http://astronomisches-konzert.de Menu is nested Requirement: Mobile Menu not nested Solution: For Mobile set ...
0
votes
1answer
11 views

Count Level 1 Childs for Custom Nav Walker Wordpress

I have three levels of my menu created in custom walker class. Output is like below: home (parent) about (parent) item 1 (level 1 child) item 1-1 (level 2 child) item 1-2 (level 2 child) ...
0
votes
2answers
53 views

WordPress doesn't recognize submenus as <ul> so I can't style them properly

I'm quite new to WP theme development so I'm sorry if the answer for this question may seem obvious. I'm developing a custom WordPress theme from scratch, and I'm stuck working on the menus. My ...
-1
votes
0answers
11 views

How to show only first level menu and collapse lower level?

This allows me to create menu from pages I created. $html = wp_page_menu( array( 'child_of' => $id, 'show_home' => FALSE ) ); How can I modify the code to show show only first level pages and ...
0
votes
2answers
21 views

Nav menu classes 'has-dropdown' but no 'active'

I have a nav menu with a depth of 2. wp_nav_menu( array( 'theme_location' => 'primary_navigation', 'depth' => 2 ) ); When I am active on a page in the nav menu ...
0
votes
0answers
34 views

Dropdown Settings API for get_terms Menu option

I am using get_terms to display a list of available menus and then display those menus for a plugin settings selection - that part works fine - but I can't retrieve and display the value. I am not ...
0
votes
0answers
34 views

Add custom menu item metabox in Navigation Settings

I've been imagining a piece of functionality that would extend the WordPress drag and drop menu creation. Essentially adding a custom menu item button that would be used to add different types of ...
1
vote
1answer
63 views

how to change the output of wp_nav_menu using css classes

When we add a class to a menu item through dashboard, the css class is added to "li" tag of that item. Is there a way to add these css classes to "a" tag of that item, instead of "li" tag? As you ...
0
votes
2answers
56 views

show only a given level in nav menu

I want to display only a given level of menu items in my main nav menu when on that page. Currently sub menus of my main menu are part of the main menu HTML being an unordered list within the nav link ...
0
votes
0answers
17 views

Add a menu to a specific page when specific page

I have a separate page. An additional menu should come in that page. How i can get this done? Any help or links which I can try would be a really help!
0
votes
1answer
7 views

Contact form field in wordpress menu

I am trying to insert a simple 1 field contact 7 form into my menu. I have this code working for just text, but if I try to insert the shortcode for the form, I get an error. What am I doing wrong? ...
0
votes
0answers
5 views

Select a widget from appearance menu

i'm creating a mega menu in WordPress and i need to add a widget field to select a widget area form appearance menu than show the selected widget width the_widget( 'widget_name' ) function
0
votes
0answers
16 views

Can I change the “swipe-to-open” functionality of hamburger menu on iOS (UberMenu 3)

I hope I phrased the question right. Feel free to edit if thought necessary. It seems like UberMenu 3 is designed in a way that requires iOS devices to swipe the hamburger menu container to open the ...
0
votes
0answers
47 views

Show sidebar only if widget has content

I'm using the Scaffolding theme and the Advanced Sidebar Menu plugin. The plugin works correctly but the theme always shows an empty sidebar because the widget is active. I believe the code that does ...
0
votes
1answer
17 views

How to assign plugin to top level menu?

wp-content/plugins/myplugin.php how to assign this plugin to top level menu? E.g. menu on my website: about us contacts, services my plugin. I'm using add_menu_page but I dont know why its not ...
0
votes
0answers
8 views

Need solution for search or menu with choice of category and specific month/day

I'm in need of a search or menu option on a wordpress site where the visitor can search by a category and specific date (month-day only).... OR, a way to make a chained select menu like I had on an ...
0
votes
0answers
24 views

Adding icons next to categories in wp_nav_menu

Is there a way to add a category icon next to a menu item? I'm using the Category Thumbnails plugin to allow each catagory to have their own icon. However I'm struggling to incorperate this into my ...
-1
votes
2answers
53 views

Replacing a specific menu item

So, I understand how to target a specific menu using the following to add a custom code. <?php wp_nav_menu( array( 'menu' => 'Project Nav', // do not fall back to first non-empty menu ...
1
vote
1answer
30 views

Filter for Admin Nav Menus Drop Down

In short, is there a filter for the Admin Panels Nav-Menu Dropdown List? For non-administrators I need to remove access to modifying / selecting a specific menu but still allow access to other ...
1
vote
1answer
35 views

Change list item content in menu navigation to add a child element with specific class

I have been away of wordpress for quite a while and never practiced that much. I have a few problems even tho I looked on the internet for an answer... regarding the wp_nav_menu behaviour. Hope you ...