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

WordPress menu link redirecting

I have a WordPress menu item that I want to link to http://forum.secdefus.com. I have set the menu up as such. Mousing over the link on the site displays "forum.secdefus.com" in the bottom left hand ...
0
votes
0answers
10 views

How to create a child menu in a different place

I have a main menu and it has a dropdown submenu. I also have to show the same submenu below main menu along with the dropdown and it will be always there. Please see the picture to get an overview. ...
0
votes
0answers
9 views

Wordpress conditional dropdowns in custom post edit

I grabbed this question from another post, I couldn't find an answer. Can someone assist. What's the best way to do this. Thanks I have created a custom post type and a taxonomy for it. Here is an ...
0
votes
0answers
16 views

custom post types menu

I am wanting to create an accordion menu of states and cities that are defined in a custom post type. The cities are defined in a custom field of the post type and the states can also be a custom ...
0
votes
0answers
21 views

Custom Admin Menu Order

I have a simple solution in my functions.php for reordering the admin menu. Here it is: // Admin menu - reorder function custom_menu_order($menu_ord){ if (!$menu_ord) return true; return array( ...
0
votes
0answers
15 views

Replacement for wp_get_attachment_image() inside loop

Currently I am using the Menu Image plugin. It simply adds an image field to the backend Menu page, so you can have images in your menu items. Well I have a large menu structure with a lot of small ...
0
votes
0answers
29 views

Menu links' destination url changed to an hashtag

Here is the website: http://www.aiteq.it In the menu on the left, all of the links seem to point to "#",instead of the pages selected in the wordpress menu section of the control panel. Viewing the ...
0
votes
0answers
18 views

Custom menu creation

So I wrote my first custom menu with a walker. In the admin panel I see the locations, so they are registered. The problem is that the very first menu I created gets added to all the locations. I ...
0
votes
0answers
24 views

Fixed Menu and Submenu Position and Label

I'm creating a wordpress site based on PSD submitted by my client. The client requested to keep the clickable menu at the selected page with the current position. Examples in the images: ...
0
votes
0answers
23 views

Mega Menu with posts

I am trying to create a menu with posts on it. I don't know how to add extra code to a dropdown. Or just add the HTML to show the mega menu on hover, How can I do that? Please help.
0
votes
0answers
53 views

Building a drop down menu for child categories

We have an auto selling WP site with a makes page with logo and a link to view all vehicles in that category. Ideally we would like a drop down menu in their displaying all models (the childs of the ...
0
votes
0answers
13 views

Showing main menu and child menu in diffent places in a same page

This question may sound a bit novice, but I am facing a problem. I have a menu structure like this: Home About -History -kontact Posts -Category1 -category2 For design purpose, I have 2 different ...
0
votes
0answers
29 views

Add items to a menu

I'm reading The Absolute Beginners Guide to Wordpress, but possibly it's too advanced for my purposes. I cannot get information about basic navigation, wiring the menu to pages. I've created three ...
0
votes
0answers
21 views

Using 'array' method in wp_nav_menu causes it to disappear

I want to change the menu_class on my navigation bar, but the second I try to use the 'array' method to display my nav, it disappears. This works: <?php wp_nav_menu('Profit.Ology'); ?> This ...
0
votes
0answers
23 views

Using categories and pages in menus

I've got a problem with mixing categories and pages within menus. As a fictional example: - About us (custom page template) -- What we do (page) -- Key staff (page) -- CEO blog (category) ...
0
votes
0answers
24 views

Page template where sidebar navigation menu is selected dynamically

I'm creating a WordPress site where I have about a dozen top-level pages, and each of these pages have sub-pages. All of the pages look exactly the same, but each "section" in the site (i.e. a ...
0
votes
0answers
13 views

extra <a> tag is added in wp_nav_menu

I am a wordpress lover and i am facing this issue for the first time, below is the code i am using for making menu to be displayed. <?php wp_nav_menu( array( 'theme_location' => 'primary', ...
0
votes
0answers
30 views

Auto Create Page and Menu

I'm trying to create a membership plugin, I want it to be able to work with any theme, such that there are some pages that will be automatically added to the theme and the links to them automatically ...
0
votes
0answers
53 views

Isotope JQuery Menu Link to a Filter in Section of One Page Website

I have an Isotope gallery on a one page parallax website. I would like to create a menu item in the header that points to a specific filter ("locations") in the gallery. Well, to be clear, this menu ...
0
votes
0answers
26 views

Horizontal Navigation/Menu

New here, searched a few times, can't quite find the answer. Trying to insert a nav menu in a random location. I want to call a special menu (titled "custom-menu") but style it differently. My ...
0
votes
0answers
19 views

Removing menu item doesn't get removed on edit post

I have removed some menu links for a basic contributor role, just that when the user access the edit post section they re-appear(wp-admin/post.php?post=24731&action=edit). What am I missing? This ...
0
votes
0answers
38 views

Use Walker_Nav_Menu to remove automatically generated classes but keep user-added classes

My custom nav walker is outputting link elements like this: <a class="test-page-class menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-4 ...
0
votes
0answers
53 views

Editing attributes of ul and div by wp_nav_menu

According to documentation of codex site, the code $defaults = array( 'theme_location' => 'header-menu', 'container' => 'div', 'container_class' => 'navCtrl', ...
0
votes
0answers
32 views

sharing slug between taxonomy and custom post

I am having trouble getting the relationship between a custom post and assigned taxonomy to work. The custom posts are clinics, the taxonomy is the location of each clinic: ...
0
votes
0answers
33 views

How to stop showing menu in static home page

Ok, I'm creating a wordpress theme. I don't want my navigation menu to show in the home page "Only" if the site admin setup Front page displays > A static page (select below). otherwise I want to ...
0
votes
0answers
21 views

Posts of Certain Category as Menu

I want to retrieve posts by certain category dynamically as a menu. What I need is: On the left-side of the page I want to display a menu as following | Category Name | | Post of This | | ...
0
votes
0answers
19 views

Change Custom Menu Header Manually

I am working on a legacy site and typically don't work with Wordpress, so I'm crashing very hard into the WP world here. Basically, from what I can tell the site has these Custom Menus set up. I want ...
0
votes
0answers
22 views

Same menu is being displayed twice - one is overriding the other

I've registered three menus in functions.php like so: add_action( 'init', 'register_my_menus' ); function register_my_menus() { $menus = array( 'ranges-menu' => __('Ranges Menu'), ...
0
votes
0answers
19 views

Customizing label/title output of admin nav_menu selecter

On the left side of the menu editor, where you can add Page, Posts, Links, or Categories to a menu, how would I append a string to the title that shows up next to the checkbox? I've tried using ...
0
votes
0answers
95 views

drag & drop re arrange menu items in front end page

in my WP MultiUser project i am designing a template for managing the menu like delete page, drag & reorder menu items by using below code <?php $menu_name = 'header'; if ( ( $locations ...
0
votes
0answers
27 views

Menus: Item appears twice in menu, current item classes fail – Bug?

I think I found a small bug in how Wordpress handles CSS classes applied to menu items. I would love to fix it, but so far I wasn't able to pinpoint the problem - it's probably in ...
0
votes
0answers
50 views

Custom menu walker: Repeating a menu item when it has children

I am trying to repeat a menu item when it has children. To better understand, maybe take a look at this example markup: <ul id="main-nav"> <li>Item 1</li> <li ...
0
votes
0answers
50 views

Best practice for blank top level menu item?

I create a LOT of WP sites and therefore tons of menus. A lot of times there is no sensible page for a top level menu item. For instance I was creating a site with internal learning. The top level ...
0
votes
0answers
27 views

Top level menu items different container than sub menu items

Is there a way to split the menu into two containers. The top level items would be in a separate container than the sub menu items. Here is the default structure <ul> <li> <a ...
0
votes
0answers
44 views

There is a code that I don't understand - menu customize with walker

Here is a code I got from internet: (of couse I do not own it) class description_walker extends Walker_Nav_Menu { function start_el(&$output, $item, $depth, $args) { global ...
0
votes
0answers
21 views

Adding Class and div id to wp_list_categories

I am trying to create a dropdown menu for wp header with categories and children as dropdown but cant find a solution, trying to get somethink like this <li class="Main-Cat"> <a href="Link ...
0
votes
0answers
15 views

Auto-build First Instance of Menu from Page Structure

I am wondering if there is a way to build a custom menu that is initially populated by the current page structure. I am working on a site that was initially build pre-custom menus, but now we want to ...
0
votes
0answers
21 views

Display the nav menu for a particular page id

Say that I have the id of a page that is in the wp_nav_menu() I would like to show the wp_nav_menu() for that particular page. Is that possible? I can use wp_get_nav_menu_items() to get all items for ...
0
votes
0answers
19 views

How to leverage hefty memory actions from programmatically creating nav menus

I'm working on a plugin right now and hitting a wall. Long story short, part of the plugin process is to construct a dynamic nav menu. This nav menu can get rather large, and I'm finding that it seems ...
0
votes
0answers
18 views

current_page_item not being added in menu output

I've created a menu that I call on using following code. <?php wp_nav_menu( array( 'menu' => 'Primary Nav', 'container' => '', 'items_wrap' => ...
0
votes
0answers
202 views

Why does has_nav_menu return false when get_registered_nav_menus shows the opposite?

I'm working on a new theme to replace an old one. The existing theme has custom menus and I can't figure out why in my new theme a call to has_nav_menu is always coming back false. In my ...
0
votes
0answers
21 views

Fixed top-level menu

I'm developing a site which has around 10 top-level pages in the menu and each have 4-5 child pages in the sub-menus. I am giving the site users the "Editor" role which I have customised using a ...
0
votes
0answers
43 views

wp_nav_menu use #<slug> instead of permalinks

I need help modifying the wp_nav_menu arguments so that it can generate a menu which has # instead of permalinks.. I know I can add custom link menu items, but I want the menu to be more dynamic .. ...
0
votes
0answers
16 views

Getting Wordpress Permalinks to match menu navigation

I am trying to get my permalinks to match the location of where the page/posts lie in the navigation menu at the top of my page. For example, my travel site has has a post about Torres del Paine ...
0
votes
0answers
19 views

strip_tag not working in header.php

Used code I found on css tricks to remove the li tags from wp_nav_menu. $menu_parameters = array( 'container' => false, 'echo' => false, 'items_wrap' => '%3$s', 'depth' ...
0
votes
0answers
60 views

Superfish Menu is incompatible with the latest jQuery version (1.11.0)

I tried to convert an HTML template into a WordPress theme, and it seems like the Superfish Menu v1.7.4 is not compatible with the WordPress' default jQuery version (which is v1.11.0). I've tried to ...
0
votes
0answers
154 views

Wordpress Wp_nav_menu How to create Columns in submenu

i have been trying to develop custom navigation in wordpress. i want to add columns in sub menu item. i want to add images in navigation as well as create Multi column Navigation. Please check this ...
0
votes
0answers
113 views

wp_nav_menu list children if on parent page but sibling if on sibling page

For example: About Page (Parent) History Mission & Vision Location If I'm on the About Page, I need the wp_nav_menu to show the three children pages. But if I'm on the History page, I need it ...
0
votes
0answers
45 views

How do I add a class to every menu item automatically in a nav menu?

At the moment I'm adding a button element around the menu anchors using this markup: $defaults = array( 'theme_location' => '', 'menu' => 'main-nav', 'container' ...
0
votes
0answers
45 views

How to add <button> to wp menu using bootstrap 3 framework

I need to figure out a way to add a <button></button> element to a link inside of the wp menu I currently have this markup: $defaults = array( 'theme_location' => '', 'menu' ...