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

Custom Taxonomy Showing in WP Menu

I have 3 taxonomies bundled with my custom post type. I have noticed my custom post type(cpt) and 2 taxonomies won't show in the Wordpress menu system but 1 taxonomy will. Can anyone point me in the ...
0
votes
0answers
98 views

wp_nav_menu transferred to other domain using JSONP - menu not echoed in correct place

I have a WP website, and a related shop that's on a different domain / site. I want to have one navbar that I can update in wordpress that will also update the shop without me having to do it twice. ...
0
votes
1answer
37 views

Custom Menus and taxonomies

OK I just started using WordPress not very good and I have a menu problem I can REALLY use some help please. I am working on a website and it has multiple locations, and not all the locations sell ...
0
votes
2answers
73 views

Menu id in nav menu ignored

<?php wp_nav_menu( array( 'theme_location' =>'main_menu', 'container' => false, 'menu_id'=> 'nav' ) ); ?> After updating WordPress to 3.8 menu id ...
0
votes
0answers
82 views

Getting stripos error when trying to add menu classes

I'm using a custom theme that is doing something that blocks Custom Menu Classes (the optional ones that you can input from inside the Menu Panel) to print to HTML. I found in the code where they ...
0
votes
1answer
45 views

How to change the markup created by menu item only on chosen items?

How to add a checkbox to the menu item in WordPress backend that says "Make this a Mega Menu Container"? In my mind it should look something like this (Photoshop draft): And when the box is checked ...
0
votes
0answers
95 views

Drop down menu location select widget

This code select menu by names but i want to do it selecting registered menu location.below is my exact code. class MyWidget extends WP_Widget { function __construct() { $widget_ops = ...
0
votes
1answer
127 views

wp_nav_menu(); Outside WordPress installation

I wanted to use WordPress menu management then show it on outside wordpress installion php file with html but I got this error PHP Fatal error: Call to a member function get_queried_object() on a ...
0
votes
0answers
125 views

How to CPT with meta box, output navigation links to front end (but not ?cpt=value)

I have a custom post type with meta box. The output is paginated, so that my custom page will output one post at the time which works just fine. What I need is to be able to create a menu link on ...
0
votes
0answers
95 views

Wordpress menu walker - get the parent item

I want to implement a menu walker system where only those submenu items get listed which have a specific parent. So let's say I have two level one menu items, A and B. On a page I want to get listed ...
0
votes
0answers
21 views

Put captions underneath menu items

Im working on a design and i would like there to be small captions underneath my navigation links like in this image: Image How would i go about doing this in wordpress? Thanks
0
votes
0answers
133 views

creating a custom walker class

I am currently developing a theme for wordpress, and would like to add some data values to the list items that are returned. Here is the basic structure of my nav: <div id="nav" class="grid_9 ...
0
votes
1answer
61 views

Single-level menu option? Another way?

I'm developing a child theme of Twenty-Thirteen for a client. My theme contains a second navigation menu properly registered through my functions.php file. This second navigation menu is fully ...
0
votes
0answers
36 views

How to change style a menu item in plugin?

I want to assign specific style to a specific item in navigate menu like "Home" but in plugin not in theme. I think I must write something like this in my plugin: function change_home(..){ if($item ...
0
votes
1answer
22 views

Placing generated list into drop-down on custom menu

I'm trying to add categories and authors automatically into the custom menu as they are created (avoiding having to do it manually for each one). I've modified Alex Mill's code and got to display a ...
0
votes
1answer
51 views

Programatically retreive page content from its template page

I am building a menu and representing it to the front-end in Accordion style using the foundation front-end framework. The Wordpress admin drags and drops menu items (pages, posts, custom posts, ...
0
votes
1answer
39 views

How to add plugin activity in the menus?

I have Installed CM answer plugin, but how can I add that as a menu at the top? Note: I can install plugin but the problem is that I don't know the way to add the plugin into the menu or a page.
0
votes
0answers
103 views

Bootstrap 3 and Wordpress menu navigation menu highlighting

I am using Wordpress 3+ and Bootstrap 3. To generate the menus I am using the Bootstrap navwalker and the following code... <?php $args = array('theme_location' => 'primary', 'container_class' ...
0
votes
2answers
35 views

How change menu for each user in plugin?

I need to change navigation menu in my plugin for each user for example: if(is_user_logged_in()) wp_nav_menu(...); else wp_nav_menu(...); But when I apply the above code in my plugin it ...
0
votes
0answers
45 views

walker class for custom menu structure

i design a html template for hospital website and my menu structure is like this: <div class="innerW"> <ul class="clearfix"> <li class="tN nav1"> <a ...
0
votes
2answers
36 views

Menu items' links are not working properly and added images

I did a wordpress project localhost using MAMP in Mac os,when I'm import the data to window 7. I have 6 Menu items there are some images and they are not displaying(I'm using revolutio slider) ...
0
votes
1answer
2k views

how to add home icon instead of text in wordpress menu

i need to add "home.png" icon image as home button instead of text for example i searched this question in google and find out a way, but that didn't work. the method mentioned in those sites are ...
0
votes
0answers
57 views

2014 Theme Mobile Menu

Any suggestions on making 2014 Theme Mobile Menu have drop down vertical sub-navigation - instead of displaying all subnavs horizontally images show before, and looking to achieve
0
votes
0answers
16 views

Creating an item to list Contributors in main menu

I'm trying to figure out if there is a way to create a dropdown menu item that would list contributors? The hope is whenever a contributor is added it would automatically add them to the list. I've ...
0
votes
1answer
71 views

Help with changing style of the extended menu drop down [closed]

I am trying to change the style of the extended menu drop down from being on the right side to the left side. As you can see by the picture provided, the menu item named "Catholic Women's league of ...
0
votes
0answers
136 views

Image URL only for custom navigation walker (walker_nav_menu)

I'm attempting to build a custom navigation walker that pulls a page's Featured Image into the page's menu item. I intend to use the Featured Image as a background for the menu item (which is prettier ...
0
votes
0answers
86 views

How can I include the parent menu item label in page title?

I want to customize the header title of a page to include the menu label of the parent page. I have this code that does essentially the same thing - but using the parent page title instead. Any ...
0
votes
0answers
68 views

Transform <ul> menu in <table> menu

Someone can help me? I'm trying to create a walker's menu but I think is impossible. I want to create a top level menu as a table, but with 2 rows. For example, a typical one option menu will be: ...
0
votes
0answers
29 views

How can i get featured image beside the menu item in main nav?

is there any way to get the featured image of the page beside the menu item in the main navigation of wordpress ? If we have featured image for the page, that should come beside the menu item ...
0
votes
1answer
20 views

Need direction on a seemingly complex menu walker for automatically inserting a parent link li in it's submenu ul

I'd appreciate some direction on how to accomplish something with my WordPress menu. I've Googled this for hours without avail. I was to automatically insert a parent link into it's immediate submenu ...
0
votes
0answers
29 views

Add custom css to menu while using custom nav_menu_tag

I created a custom menu to replace my li with td markers. However, I need to be able to add some custom tags through the wordpress menu. How do I do so? Is there something I can add to my ...
0
votes
0answers
274 views

bootstrap nav menu drop down is not working

i'm trying to develop a responsive theme in wordpress with twitter Bootstrap v3.0.2. and in order to integrate bootstrap menu with my theme i use the below code in my function.php class ...
0
votes
0answers
12 views

Echo Parent of Current Pages [duplicate]

I'm using the above code to display sub-pages of the parent (even when the user is on that page). However, this code does not display the parent itself. I tried adding $subpages = ...
0
votes
0answers
47 views

How to display menu description, but only if there is a sub menu?

Today I've written my own custom menu walker. While I am a bit shocked how difficult this is (also because there seem to be some bugs in Wordpress), I am astonished that I could make everything work. ...
0
votes
1answer
68 views

Load Pages Menu in single.php

I've searched a lot but didn't find an answer ... My Wordpress has got 4 main areas, each one also has a news (posts) section and an own submenu. If I load a post (with single.php) is it possible to ...
0
votes
0answers
131 views

sub menu in bootstrap is not displaying

this is my custom walker function. class Bootstrap_Walker extends Walker_Nav_Menu { function start_lvl(&$output, $depth = 0, $args = array()) { $output .= "\n<ul ...
0
votes
0answers
98 views

Show recent posts thumbnail inside menu

I'm trying to develop a menu bar for a theme that, when the admin adds a category as a child on the menu, it displays the recent posts of that category. Example: I have a menu called "jobs" which has ...
0
votes
2answers
228 views

Menu Disappears on Category Pages

I have a site whose navigation disappears on category pages for posts in the ‘post’ post type, but not for posts in any of my custom post types. The ‘post’ post type and post of the custom post types ...
0
votes
1answer
88 views

How to output the menue structured for tabbed navigation?

I've got a design for my webpage that uses tabbed navigation with two levels. In this example 'TAB2' tab is selected and it's children item are desplayed below of it. ˬ ...
0
votes
1answer
47 views

Replace Menu Item with Logged in username

I have a topnav menu item that current says "My Account", I would like to change it so that it functions as: Welcome [Logged in Username] -> My Account -> Logout
0
votes
0answers
45 views

Show content of subdomain from specific menu-item?

If have a site with menu that has links that looks something like this: domain.com?page=3 domain.com?page=35 domain.com?page=3 I want wordpress to show content of shop.domain.com when user clicks ...
0
votes
0answers
559 views

WP Bootstrap Horizontal Menu for Child Items

I have bootstrap 3 integrated into my custom WP theme. I am using navwalker and WP's built in menu. Everything is working great, but I would like the child items of my parent level to be displayed in ...
0
votes
0answers
32 views

How to remove the suffix from tag title of the current archive

Hi I am new to WordPress. I am developing a website. I am listing the name of all categories as my menu bar. The problem is that when I click on a category from the menu bar, the word 'Archive' is ...
0
votes
0answers
44 views

Main Menu Theme Different Output Print

I am currently developing a wordpress theme that has a tricky main navigation menu. The problem I am stuck with is that I am looking for a special print of the submenu. Here is the html I am trying ...
0
votes
0answers
99 views

The capability edit_theme_options is not giving capabilities to add an item to menu

I want to give a user the capability to add pages to the menu. So I gave him the edit_theme_options capability using the User Role Editor plugin. This gives him the capability to see Appearance - ...
0
votes
0answers
27 views

Display Post by menu order

I want to display posts on my homepage. But I like to manage the posts using Wordpress Menu, so I can easily add, delete, and re-arrange the ordering of posts displayed in the homepage. For Example: ...
0
votes
1answer
45 views

Breadcrumb how i can display page title with parent > child title with permalink ? any Idea

function the_breadcrumb() { global $post; if (!is_home()) { echo ""; if(is_single()): echo 'Main'; else: echo "Home"; endif; echo " / "; if ( ...
0
votes
1answer
251 views

How do I show a different secondary navigation menu for each section of my website?

My site is organised into three sections, like this: Reiki Basics (page ID 499) – page 1.1 – page 1.2 – page 1.3 Practice & Study (page ID 501) – page 2.1 – etc Courses (page ID 471) – ...
0
votes
0answers
47 views

add metabox to specific custom plugin page

Hello I am new to WordPress and I am creating a custom plugin called ZeeFields. Now i wanna add a meta box to my custom plugin page. I tried but still i cant get it to work. btw I can add meta box to ...
0
votes
1answer
19 views

Add more levels to menu

I have a menu with more than three levels. The issue is that the menu just shows until level 2, the next child levels don't show. I am using Maya template and WordPress 3.5.2 What i have to do and ...