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)

2
votes
1answer
538 views

Change menu with language?

My problem is that I have used a plugin called polylang and now it doesnät work with another more importent plugin so I need to find a solution. I use WPML on other sites and that is not an option ...
1
vote
1answer
2k views

Wordpress 3.5 dropdown menu

I'm pretty new with WordPress and I want to create my own dropdown menu without the use of any plugins. I already did some research but there are some things I do not understand. In my header file I ...
0
votes
1answer
451 views

How to remove dropdown from wp_nav_menu

I dont want to have dropdown (select - options) in my wordpress menu, even in mobile or lower width devices. I know I can use css to hide it, but I want to remove it at all. I googled for an hour and ...
0
votes
1answer
9 views

Genesis - 1 page website - How to display secondary menu Navigation on Blog pages

I have a 1 page website with a sticky menu. It scrolls down to different #ids(sections) of that page. My problem is the Blog section. When you click to go to the Blog (any post), the Primary ...
0
votes
1answer
359 views

Custom Menu Anchor Links Not Working

I've got anchor links in the nav menu of my site, and I can't get them to work properly. The site keeps prepending the siteurl before the anchor link. With the #rsvp anchor link, I've tried using the ...
0
votes
0answers
10 views

Get page slug/id from position in menu

I have created a menu area(?) for use in my theme. The pages have been added to the menu in a consistent order via Appearance -> Menus This menu structure is used in multiple deployments, but ...
0
votes
1answer
14 views

Bootstrap dropdownl nav pills not working as wordpress drop down menu

I am using Bootstrap nav pills with drop-down items as WordPress menu, the menu without drop-down is looking good but when I add nested ul as drop-down the menu not working as expected.. HTML ...
0
votes
0answers
12 views

CSS won't style output of wp_nav_menu() correctly

I'm tyring to create a theme with a horizontal menu that is dynamically streched to fill the container element. I use wp_nav_menu() to fetch a menu from the backend and style it via CSS. Here some ...
0
votes
0answers
4 views

Parent menu not active anymore after page url rename

I updated some of my page urls and now the parent menu item is not active any more when I'm on a child page. Why's that? Do I need to refresh something?
0
votes
1answer
2k 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
17 views

Making hamburger clickable to open a menu

How can i make my menu like a hamburger menu,(i think that is what they call it). I have a menu, but there is no option to trigger it to dropdown? <nav class="navbar navbar-default ...
1
vote
0answers
71 views

Dashboard left hand menu overlapping next item down

Stuck with this one and wondered if someone could point me in the right direction... we updated one of our wordpress sites a couple of weeks ago and only revisited it today and noticed that the ...
0
votes
0answers
10 views

remove current page from url in main menu

I am trying to develop a theme for my company. The website is a one-page-website although it has 3 seperate pages for disclaimer etc. The problem I'm facing is as follows. The main menu has url's ...
0
votes
1answer
12 views

has_children in custom nav_walker

I am trying to create custom menu nav walker. I added below code function display_element( $element, &$children_elements, $max_depth, $depth=0, $args, &$output ) { $id_field = ...
0
votes
2answers
1k views

Wrapping link and .sub-menu with wp_nav_menu

I want to wrap each sub-menu ul and the tag just before it with a div. I can create the opening tag using the 'before' attribute of wP-nav_menu like this: wp_nav_menu(array( 'before' => ...
0
votes
0answers
5 views

wp_nav_menu highlight all parent categories

I have been trying to debug this problem and have been hard time finding a solution. My menu has been created with categories.I have few posts assigned multiple categories. When I go to that ...
0
votes
0answers
11 views

Selective menu is possible?

Is it possible to make selective category or page menu? For example category is Electronics and Sub Categories are ipod, ipad, iphone With regular menus you can choose either whole category ...
0
votes
1answer
28 views

Menu disappears with custom post type link

I’m working with Genesis Theme for a while but never got any problems:) This is my first big issue and I dont know how to solve it. I’m making a new website with Custom Post Types and WP All Import ...
1
vote
2answers
718 views

Using website header, menu and footer on Wordpress blog

I want to use the header, top menu and footer from my website on my Wordpress blog. The website itself is not a Wordpress site but the blog is and resides in a 'blog' folder on my server. So I guess ...
0
votes
1answer
20 views

Replace anchor tag with span tag

I have created my custom menu having many items and sub items, the markup is like this <a href="#">Item</a>but for parent element I need to replace anchor tag with the span tag having some ...
0
votes
0answers
20 views

Problem creating menu shortcodes

I'm trying to setup three shortcodes, each to display its own unique menu block. Just two are shown in the code below because I ran into an issue. The problem I am having is that both [footera] and ...
-1
votes
0answers
21 views

How do I get my parent page to include posts? [closed]

I'm using Wordpress.com, the menu appears to look fine but every time I click on a parent tab it doesn't include any articles that I've posted. This is my website : http://jumpthemagazine.com/ ...
0
votes
0answers
14 views

Menu widget not showing on search.php page via get_header(); function

I have the following code in the header.php file which renders the main menu: <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Main Menu')) : else : ?> ...
0
votes
1answer
25 views

Adding onclick event in custom menus

I have created menu from admin panel, now I have to add onclick event in li tag of each menu item like below: <li><a href="#m-track-suite" onclick="hide('drop')">Track ...
1
vote
1answer
370 views

custom menu widget where menu title is a link

I am looking for, like the title of this question indicates, a custom menu in wordpress where the menu title itself is a link. It seems like a very simple thing, but after a lot of searching I've come ...
1
vote
1answer
771 views

Unable to center menu and header image twenty twelve

I have a really simple site at cyriljoyce.com on the 2012 theme I created a child theme to center the header and menu bar but just cannot seem to make it work. The child theme text is below The line ...
0
votes
1answer
725 views

Splitting up a submenu into columns, or putting existing menus in another menu as submenu item

I have a menu with a long list of submenu items. I'd like to split that up into columns and the easiest way in my mind would be to have them split up into multiple . Is there a way to do this? ...
0
votes
0answers
11 views

How to separate website pages from the home page and make custom?

I have installed a theme on my wordpress and published some new links to my navigation. Until now i have my main "home page" customized and i want to costomize the next page "our products". But all my ...
-1
votes
1answer
11 views

How can I edit the width of my menu? [closed]

How can I make the menu items stay on one line in my menu bar? I believe that I can edit the CSS somehow however I am confused as to where this is available for editing. Here's a link to my website ...
0
votes
1answer
32 views

Problem to asign class to <ul> with wp_nav_menu()

I have some problems to asign a class to tag with wp_nav_menu() instead of asign the class to the tag it creates a and asign the class to that one. My register_nav_menu function: function ...
0
votes
1answer
18 views

WP mobile nav menu will not work

I'm working on a site which uses WordPress. The wp dropdown menu link not working in mobile view. I'll click it and the nav menu will open then immediately close. I thought it might be a glitch in the ...
0
votes
0answers
24 views

How to style wp_nav_menu?

I am trying to style WP menu but i get some issues. This is the orginal menu and not a custom one. (css is already done and working). What I want is this: <div class="collapse ...
1
vote
2answers
669 views

3 blogs on one site with the same header menu?

Person X has default SITE with an integral blog. Person X also has SITE 2 with Blog 2 and also SITE 3 with Blog 3. Is it possible to have on the DEFAULT SITE HEADER MENU something like this: HOME ...
0
votes
0answers
23 views

How to create a “menu item” on the theme customize screen?

My question is, how do I create a menu item as seen below but on the theme's menu customize page? "Theme Menu Options" Show's up here, But it does not show up here, Here is the code I used to ...
1
vote
2answers
750 views

Blending Foundation's Tabs with Wordpress Nav Menu & Display Active Tab

I am currently working with ZURB's Foundation Framework. It's a terrific framework and my project is coming along a lot nicer and quicker than it would have beforehand. Foundation comes with ...
0
votes
1answer
17 views

Menu subitem doesn't keep its position

I try to hide some menu items (from an unique menu) dynamically in functions.php. I have some subdomains. I add CSS classes to menu items and then I hide them according to the current subdomain. Here ...
0
votes
1answer
412 views

“Widgets” menu doesn't appear

I'm developing a WordPress theme, which works great on my localhost and one of my live servers, but on my other live server the Widgets menu (from Appearance) doesn't appear. And yes, all 3 servers ...
0
votes
1answer
2k views

Use menus with anchors

I have a CPT archive page and I want to create a navigation menu which will jump to anchors in the form <a name="post-slug" http="{the permalink goes here}>The CPT Title</a> I have been ...
0
votes
3answers
31 views

Arrow down in menu not displaying

I tried to add arrow down when the menu has a sub-menus. But the down arrow not showing up. Please help me. Here's the link: http://bit.ly/1UH4FlT Currently using this script that I found somewhere. ...
3
votes
3answers
9k views

Menu limit, cannot add new menu items

I'm running WP 3.4.2 on a VPS. When I first moved to this VPS server and imported all my WP data from the old, the menus worked fine. However, for some reason, I cannot edit/add to the menus, and some ...
0
votes
2answers
428 views

How to correctly load a different version of main menu based on the user language in WordPress? Is it a good solution?

I have the following problem developing a WordPress theme and I am here to ask you if this solution could be a good solution or if exist some better way to do. I have a custom WP theme and into this ...
0
votes
1answer
389 views

Dynamically get the meta key value of a menu item based on it's post ID

I have a menu, that I need to insert an image that have it's path saved in a meta key (_menu_item_img) and associated with a post ID, every menu entry has it's own image, and I need to grab it ...
1
vote
4answers
5k views

How to create a category menu?

I am new in WordPress world (before now I always used Joomla and some other old CMS) Now I am testing WordPress and I have some doubts about how create a navigation menu in my WP Site. This is my ...
0
votes
0answers
24 views

Embed specific parts of external webpage [migrated]

So I am creating a website and want to embed a menu to it. We are currently using Leafly for our menu system and want to use it on the site too. However, there are 300+ products and I do not want to ...
0
votes
0answers
32 views

Adding CSS-class to WordPress Menu in backend

I am wondering if its possible to add CSS-classes to WordPress menu in backend. If building complex menus, the overview gets lost - would like to style it a bit. Normally it would be fine to add the ...
0
votes
0answers
13 views

How to inject HTML to secondary menu on front end?

So I have a main menu and secondary menu on my site. I need to add html for my 'live chat' icon and I want to add this to my secondary menu. However, it is not a basic link and contains JavaScript and ...
-1
votes
1answer
34 views

removing extra mobile menu from the header

I have installed burger theme and modified some template files to my needs. when I came to header, I decided to go with a simple bootstrap navigation bar, that doesn't require an extra menu. I took an ...
0
votes
2answers
719 views

Change HTML structure for custom menu in sidebar

I've been digging for documentation on how to change HTML output for the "Custom menu" which you place in optional widget. So its clear what I meen I have attached an image of the widget block here: ...
0
votes
0answers
15 views

How to call the post thumbnails in a list of recent post in wp nav menu?

Thanks to Stack I found a code which allow to list recents posts of each of my categories into my wp nav menu. The code looks like this : // Front end only, don't hack on the settings page if ( ...
0
votes
0answers
15 views

How to add number of post to category menu items

I wanted to know how we can add number of posts for dropdown menu items that are categories. For example: Topics Category 1 (5) Category 2 (8) Category 3 (2) More Topics Category 1 (5) ...