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 (5)

0
votes
1answer
18 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
16 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 = ...
0
votes
2answers
35 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
23 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
32 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
10 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
53 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
86 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 ...
0
votes
0answers
38 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
21 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
91 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
66 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
47 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
19 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
85 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
32 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
23 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
61 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 ...
0
votes
2answers
46 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
51 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
70 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
140 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
98 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
19 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
16 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
7 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
31 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
94 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
23 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
10 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
42 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
86 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
47 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
107 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 ...
0
votes
2answers
50 views

Adding content inside the anchor tags within WordPress main nav

I'm using FontAwesome and hence I need to include some extra code next to parent menu options that have a sub-menu, such as: <li> <a href="">About <span class="fa ...
0
votes
0answers
43 views

Drop down items not displaying on mobile device

I have been reworking a site that has the FlexNav code implemented already. I have added drop down menu items per the menu dashboard in the backend of WP and I can see the new dropdown and select it ...
0
votes
2answers
72 views

Adding PHP in the menu

So, I have following php code: <?php global $my_profile; ?> <?php if (is_user_logged_in()) : ?> <div class="img" data-key="profile"><?php echo get_avatar( ...
0
votes
1answer
23 views

Two questions about CSSing inside the menus

First, I would be glad if u tell me how can I assign a class(css) to default span tag that include the links inside the menu, created by WP control panel. And second question is how to use @media ...
0
votes
3answers
139 views

Add sidebars to navigation menu?

Is it possible to add a sidebar to navigation menu? I'd like to be able to add sidebars in Appearance > Menus, like I add pages. I have a way of creating extra sidebars, so that's not an issue (I ...
0
votes
1answer
47 views

WP Admin Bar - Get current theme name as custom menu title

I wish to echo the current theme in text in my WP Admin Bar sub menu. How would I go about display a snippet of PHP inside the 'title' => 'php snippet here', ? ...
0
votes
1answer
271 views

How to create menu in Word Press 4.2.2?

How to create menu in Word Press 4.2.2? I have opened a dashboard and there are no so options visible. How to fix that? I want to make a menu for all pages I`ve created. Thank you.
0
votes
0answers
19 views

Edit HTML for Custom Link in Menu

I would like to add Google analytics code - via 'onclick' event - to a custom link that resides in my menu. However, there are only limited items I can customize (URL, Label, Title). Is there a way ...
0
votes
1answer
41 views

How can I edit submenu headings using wp_nav_menu walker?

The whole world of menu walkers is still murky waters for me, so I'm hoping someone might be able to help me here. I'm able to produce an auto-generated list of menu items on my page using the ...
0
votes
1answer
78 views

How to move menu next to left of the search box?

I use Woocommerce plugin and StoreFront theme to build my demo website at http://52.74.97.64/wordpress/ I want to move the current menu to another place - on the left next to the search box on the ...
0
votes
0answers
20 views

Deleted empty posts - menu gone

I just discovered that my site had a lot of posts with no title and content. I thought it was empty posts I had created when misclicking on create post instead of create page, so I sent them to trash. ...
0
votes
1answer
43 views

Iterate through each menu item into a shortcode

Since i cant easily use short-codes in the menu, is there a simple way to iterate through all a menus label through a short-code? For example say i created a few custom link menus with labels of ...
0
votes
0answers
25 views

Menu for Showing the Children of 2nd Level Menu Items on 2nd & 3rd Level Pages

The title may be confusing, but please follow along. I have a 3-tier menu. There are the parents (1st tier), and some have children (2nd tier), and some of those children have children (3rd tier). I ...
0
votes
0answers
52 views

Conditional forms with wordpress ajax

I'm creating a wordpress megamenu plugin, i've setup the walker and all frontend things But stuck in the backend i changed some of the walker class <?php /** * /!\ This is a copy of ...
0
votes
0answers
33 views

How to assign navigation menu to certain location with Settings API?

Using the code below, one can assign a menu with id $term_id_of_menu to 'primary-menu' location. $locations = get_theme_mod('nav_menu_locations'); $locations['primary-menu'] = $term_id_of_menu; ...
0
votes
0answers
12 views

How Can I Add Extra Div Tag On nav menu [duplicate]

hello I want To Add Extra Div tag On nav menu Like This div class="vce-wrap-left"> <ul id="vce_top_navigation_menu" class="top-nav-menu"><li id="menu-item-374" ...