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

Add dynamic sidebar in wp nav menu item

I've added a custom menu walker into my theme: 'walker' => new menu_walker So i've created a navbar_widget function to insert dynamic sidebar at the end of menu item: function navbar_widget() { ...
0
votes
0answers
18 views

Display category and subcategory hierarchical

This is what I'm trying to achieve: So the result should be like this: <ul class="product-categories"> <li class="cat-item cat-item-18 current-cat"> <a ...
2
votes
2answers
1k views

How to set limit only on top levels of wp_nav_menu?

How can I set a limit to the top level menu items in wp_nav_menu? Example: I have this menu in my admin dashboard: I would like to count ONLY the top level items and display a limited number of ...
1
vote
2answers
842 views

Display posts from Custom Post Type in category page on front-end

I created my Custom Post Type (bizdirectory), created a new post (Test Business) and created a new category (Business Directory). But if I add the Business Directory category (slug = business) to my ...
0
votes
0answers
9 views

How do can I pass data retrieved from a filter to template files?

I wrote this class to display only the current top level menu item's children: class deseng_navSplit { var $sorted_menu_items; var $args; function __construct($x, $y) { ...
0
votes
0answers
13 views

How can I automatically add a taxonomy to my navigation?

So I have a navigation of custom taxonomies that I have added through Appearance > Menus Navigation: HOME | NISSAN | HONDA | TOYOTA | MORE Now all of those are custom taxonomies of "Types" that ...
0
votes
0answers
9 views

Same menu for different taxonomies to reach different content

I'm using a "location" taxonomy to show the same website for 4 different locations. Each of them will have the same categories which I want to display in a menu. Is there anyway to create the same ...
0
votes
1answer
12 views

Multiple categories for one menu item?

I have six categories: Seasons Categories: Spring Summer Fall Winter Collections Categories: Formal Wear Night Wear Ready to Wear Sports Wear I need to put them up in the navbar custom menu ...
0
votes
1answer
11 views

Two menus show up

If I set 'echo' parameters value to 'true': <?php if( has_nav_menu( 'primary-menu' ) ) { wp_nav_menu( $menuParameters = array( 'theme_location' => ...
0
votes
0answers
13 views

How to add a custom HTML attribute to a parent element of wp_nav_menu?

I am using wp_nav_menu and I want to add a custom attribute that I need for uikit drop down component (data-uk-dropdown attribute) This is how the HTML should look like: <ul class="uk-navbar-nav ...
-1
votes
0answers
7 views

How to create menu in parallax wordpress theme? [on hold]

Can anybody clearly give me some idea how to create menu in parallax theme for wordpress?I want to add menu not using the # tag and page title or slug.
1
vote
2answers
1k views

Nav menu items disappearing (but not immediately)

I'm working on a site where some of the nav menu items disappear (from the front end, the back end, and the database). However, debugging is extremely difficult since they don't disappear immediately! ...
0
votes
1answer
632 views

Nav Menu and display post count

Iam looking for a solution that the number of child post displayed, like so: Parent (14) - Child - Child Parent (2) - Child I have played with the custom walker and tried the function with ...
3
votes
4answers
4k views

How to count nav menu items?

I'm creating a custom walker for my nav menu. The goal is to split the menu in to columns like so: I can easily determine where I am in the list by looking at $item->menu_order. What I don't ...
0
votes
0answers
16 views

Bootstrap menu dropdown issues [on hold]

Hi I need to find a solution for a problem that I have with bootstrap menu. I'm using wp_bootstrap_navwalker in my WP theme, and I found some solutions on the web to enable more deeper nav, but cant ...
0
votes
0answers
7 views

Create a menu with Language link

I created a menu in the appearance area with links to the languages i want, but if i'm in the "About" page and click in some language it goes back to the homepage, is it possible to create a menu and ...
0
votes
0answers
15 views

Item_wrap doesn't work when the menu returns fallback_cb

It seems the item_wrap() function doesn't work when a navigation menu is not created and it returns the fallback_cb (a list of pages). Actually, I just need to add an icon of a searcher to the ...
1
vote
0answers
14 views

Trying to store submenu items to render out after main menu

I'm using a custom nav walker to render out the main menu, during this I want to store the second level navigation items to use/ render out later in a separate area of the page. I want these second ...
0
votes
0answers
7 views

Can't add optional class to menu item when using Walker_Nav_Menu

As a wordpress beginner. I'm creating menu also want to customized the <li> tag to be able to assign different class name to control specific behavior through CSS so I use custom walker to get a ...
2
votes
1answer
374 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
542 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
0answers
7 views

Why don't my dropdown menues in the widget look the same? [closed]

I am trying in vain to format my widget so that the dropdown menues look the same. Both of them should be 100% width. What in the world is the reason that they don't do it? I want "select country" to ...
0
votes
2answers
2k views

Creating a custom menu/widget area

I'm looking to create a /menu/widget area like the following site: http://www.microsoft.com/en-gb/default.aspx please see sections under downloads, security, support, about is this considered a ...
5
votes
2answers
345 views

Does Extending Multiple Nav_Menu_Walkers Allow Nested Menus?

Essentially I'm trying to add multiple sub nav menus and I'm pretty close but I just can't seem to find the right tack to solve my problem ... I'm using a variation of a Stu Nichols CSS Menu ... ...
16
votes
3answers
6k views

Adding an Arbitrary Link to the Admin Menu?

Is there a way to add a arbitrary hyperlink to the WordPress admin menu (I mean the menu on the left when you log into the admin dashboard)? For example, can one add a link to Google? In my ...
-2
votes
1answer
248 views

Is it possible to add a superscript trademark symbol to a menu?

Is it possible to add a superscript trademark symbol to a WordPress menu?
0
votes
2answers
337 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 get category id's which are added in main menu?

I called post categories in my main menu using menu section and set them as child menu items now when I click that category menu items I need to make parent menu item active.I know doing this with ...
1
vote
1answer
1k 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
25 views

How to build a navigation menu for long-form texts like this one

A menu like this one here (on the right–hand side) – http://tenxer.github.io/xcharts/docs/ – makes it much easier to navigate through long-form texts. Do you know of a way of implementing something ...
4
votes
4answers
707 views

Any walker causes blank menu?

Using the following, or any other custom Walker_Nav_Menu seems to cause a blank navigation menu, I tried specifying the default to make sure I wasn't going crazy yet it still blanks the output... Any ...
-1
votes
0answers
11 views

Drop Down menu customization [closed]

I am developing a site http://ekaa.in. I have customize home page main menu. Menu looking good but drop down not working properly. I want drop down should be same as another pages. CSS of Homepage ...
0
votes
1answer
19 views

Call posts of particular category in a page

As per my requirement I need to call posts in a page for example Iam having a menu item Current Tenders and having a posts category Current Tenders now I need lo display posts related to current ...
1
vote
1answer
335 views

Displaying different page links on different pages

I have a wordpress site with 100+ pages. Now suppose 5 pages are related to page 1, and I want to show them in side bar as similar pages/related pages and other group of pages in other menu in ...
0
votes
1answer
17 views

Creating other page than page.php

I want to load other page than page.php. I mean following situation: Always when I click position from menu it is starting page.php. I want to special position in menu sutch that it load my.php (which ...
2
votes
1answer
5k views

Using wp_get_nav_menu_items() to list children of children pages

I'm working with a Genesis Based Theme and I'd like build a Page/ Child Page menu structure. That part I can do with the help of some code produced by Bill Erickson. Essentially what I'm trying to do ...
2
votes
1answer
5k views

How show sub menu only using wp_nav_menu()

I am using this code to show the custom menu subpages if you are on the parent page. But what this code also shows is a parent page on a page that has no sub menu, which I would like hidden. Basically ...
0
votes
1answer
18 views

If current menu item is child or parent with child?

Is it possible to check in WP if the current page/menu item is a child or a parent with child (in my wp_nav_menu)? So not if the page has a child page, but if the menu item is a parent with child or a ...
1
vote
2answers
716 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
14 views

How to translate menu items?

is there i way for menu to be translated when i choose website language? Can it be done without using a plugin? Does anyone have a solution to do it withot using the plugin? Thanks in advance
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
1answer
26 views

Add custom class to existing menu items from custom meta

I would like to add a custom class to my existing menu items. The problem is, that I would like to do something like this: <li class="<?php echo get_post_meta($post->ID, "_icon", true); ...
0
votes
4answers
68 views

How to add active state to the navigation links?

I am trying to add active states for my custom menu navigation, but so far everything I try is just not working. I have set the navigation menu in a separate file nav.php, then I included the nav.php ...
0
votes
1answer
448 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
1answer
560 views

How to add menu support to a theme?

I tried few tutorials. All i think is i should use register_nav_menus() and then add the menu in header.php Here is the code i tried in functions.php from this help site itself function ...
0
votes
1answer
22 views

Nav-Menu not showing up

I would love for somebody to please help me because somewhere I am really miss understanding what WordPress is telling me. Alright so within my header.php I have the following code. <div ...
0
votes
1answer
13 views

Is it possible to dynamically register menus?

I have a template, lets call it menu.php, which contains a menu. I would like the user to set the menu on this page by using WordPress's own menus, so I don't have to create something custom for it. ...
0
votes
1answer
26 views

Get current post's nav menu name (term name)

I want to get the nav menu name by the current post ID. After hours searching in my database I found out that navigation menus are basically just terms of the taxonomy 'nav_menu'. But for some reason ...
0
votes
2answers
338 views

Creating a second menu on Twenty Eleven aligned right from the first

I'm a bit new here. But I did attempt to Google this (etc.), without much luck. Basically, I'm trying to set up a second menu on Twenty Eleven that will line up to the right of the normal one (while ...