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

Different colors for navigation bar

I am facing this particular problem: How can I change the color of the navigation bar once the user clicks to one particular menu?, i.e., (I make click on the menu "Contact" and the navigation bar ...
0
votes
1answer
62 views

Editing/Removing Secondary Menu from Divi

I'm using Divi by ET. I created a custom plugin with the following code to enable separate menus for logged-in and logged-out users. function my_wp_nav_menu_args( Array $args = [] ) { if ( ...
0
votes
0answers
20 views

Dynamic admin submenu

I'm creating a plugin for WordPress with dynamic sub-menu's fetched from the server. Putting the dynamic loading of sub-menu's into the menu_setup() hook function would slow down other WordPress ...
0
votes
0answers
21 views

Adding images in WordPress menu

My client wants featured image, price and description to show up when anyone hovers the menu like item. How can I do this?
0
votes
0answers
19 views

How to add a 2nd Top Level Menu bar at my Blog/website?

I want to add a 2nd Top level menu bar at my blog TechBemaers.com There is already a primary top level menu in the Blog which I want to keep only to display option for Home page, About, contact info ...
0
votes
0answers
15 views

How to add code to a top-level menu

I found a custom Nav Walker that is used to modify the wp_nav_menu() function and display a sub-navigation. Everything works as expected but the only issue is that it adds an additional The sample ...
0
votes
0answers
15 views

Menu distorted on browsing or logged in

I have no idea what is going on but when site goes live (any domain pointed to the server) menu is getting distorted (part of submenus became parent menus). All is working fine on a local development ...
0
votes
0answers
24 views

Global Navigation for Multi-site Sub-sites Using jQuery

I'm looking to add the main site's main menu to the top of all sub-sites on a multi-site install. Requirements The menu should appear directly after body, above any site content, independent of ...
0
votes
0answers
20 views

How to link other page?

I build menu in admin name is "Members". This is code file User.php <?php function User_add_menu(){ add_menu_page( 'User Members', 'Members', 'manage_options', 'user-members', ...
0
votes
0answers
28 views

Different wordpress menu showing in frontpage and blog page

When I select "Your latest posts" from "Front page displays" I want to show a custom menu which will show in blog,single,page and archive page. But when I select a static front page than it will show ...
0
votes
0answers
31 views

Add default wp_nav_menu classes to my custom links

I'm adding custom menu items with wp_nav_menu_items filter. The structure is very simple, some "li"s with "a" inside. The point is, is there a way to have wordpress defaults menu calsses (like ...
0
votes
0answers
5 views

Have pre defined menus when developing a theme

I am trying to develop a theme with customizable menus, like a header with menu options and footer with menu options. In my theme menu page right now, in "Select a menu to edit" there are only 2 ...
0
votes
0answers
21 views

Clickable parent menu links to actual page

I am trying to optimize my website for SEO and I have one problem, which I can't deal with: in menu there is an "Offer" item which is clickable and after clicking it it shows submenu. The problem is ...
0
votes
0answers
9 views

How to add checkbox in navmenu at frontend?

I have a query and want the solution for that. Can I add some checkbox in nav menu in frontend so can I perfome some ajax filter. Like this if yes then please show me the right way to do this.
0
votes
1answer
30 views

Check in walker if current page is descendant

I hope this isn't a dup -- I wasn't able to find it! My goal is to, in my custom walker, append the current-menu-ancestor class to a menu item if it's an ancestor (no matter how deep) of the ...
0
votes
0answers
33 views

Adding two same css class on menu item

I saw something strange on Wordpress. I explain; I created a menu, added some pages to it. I added a css class to one of the page item, I saved, no problem. Then I added the same css class name to ...
0
votes
0answers
9 views

Menu collapses but doesn't expand when clicked on

I'm working on a website at sandyhookfoundation.com/wp/. When i minimize the browser window, the main menu collapses properly, but does not expand when clicked on. Also, can't get rid of the "menu" ...
0
votes
1answer
52 views

Appearance -> Menu -> Menu Structure : Add plain HTML code as an element

I have the following Header Menu: When you look on my wp-admin panel: You can see that the last <li> element containing the images of the german and english flag was not inserted to the ...
0
votes
0answers
27 views

Mess after wordpress update

My website is quite messed up after updating it to version 4.2.2. The menu isn't in line anymore and there are only three items left and the footer is gone. What can I do? (www.elternkindbuero.at) ...
0
votes
1answer
21 views

Add a non-dynamic phrase/character after a page title?

I have a client that has an idea to add a coma after the main page title. Sure, this sounds simple to do-but it makes the navigation see 'WELCOME,' as well. Basically I am adding a phrase in the same ...
0
votes
0answers
36 views

add class to specific menu item

I have an onepage template. Menu has Home, Services, Blog, Contact etc and working with <div id="blog">. If someone clicks menu item "Blog" goes to domain.com/#blog. If click on blog title goes ...
0
votes
0answers
27 views

Get custom navigation title using page id

function get_custom_nav_title( $menu_name, $page_id ) { $args = array( 'order' => 'ASC', 'orderby' => 'menu_order', 'post_type' ...
0
votes
1answer
31 views

Eliminate menu collapse button on website

I have a website I'm working on sandyhookfoundation.com/wp. It loads on desktop browsers with a "menu" button in the top left corner of the main menu. I cant seem to find how to eliminate it. I ...
0
votes
0answers
12 views

Conditional Menu based on Input

I need to make a link in my menu conditional based on a text input from the user. It will resemble the pay rent tab on this site: http://crestmanor.com/ And depending on what number you enter, it ...
0
votes
0answers
36 views

dynamic menu parent and child category

I'm trying to create a dynamic menu listing all my category and subcategory.. from that im having 2 problems: first one: it display only the category and subcategory being populated by some post, iw ...
0
votes
1answer
30 views

wp_nav_menu prints children with parent name

This code echo wp_nav_menu( array( 'theme_location' => 'primary-menu', 'depth' => '2', 'echo' => false ) ); prints Parent - Parent - Parent - Parent instead of: Parent - Child 1 - ...
0
votes
0answers
12 views

whats the best practice to make specific links accessible in theme?

I have a bunch of links I need to reference in my custom theme. Since it should be flexible and the page is also translated (using WPML) hard-coded links are not an option. Right now I use registered ...
0
votes
0answers
16 views

Backend Sidebar Add Another Post Menu

Once logged into WordPress, looking at the sidebar menu. How can I make another Post Page Menu with a different name? Then make my own posts under that new Post page. If Pages are pages, and Menus ...
0
votes
0answers
23 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 ...
0
votes
0answers
38 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
27 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 ...
0
votes
1answer
20 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
31 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
51 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
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 ...
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
90 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
64 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"> ...
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
22 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
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 ...