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

Add the “.current-menu-item” class to <a> tag?

I am changing wp_nav_menu() to make it a listless navigation menu (i.e., no unordered list or list item tags) Normally the menu <li> has the .current-menu-item class attached to it when active. ...
0
votes
0answers
20 views

How can I add my_account_item to my custom theme?

Now I am creating a theme for my website. But now on my theme I need to add user account item (my_account_item()) that is shown on my admin bar. On above image shows my theme part and admin_bar. I ...
0
votes
0answers
26 views

Multiple Plugins Interacting with Menu

Got an issue with the use of multiple plugins interacting with the menu system in WordPress. We are using UberMenu and wanted to use If Menu as well to control the visibility of some of the menu ...
0
votes
0answers
112 views

I can't style my customized navigation menu in my wordpress website!

I am having this problem where I created my website first, with a menu in my header.php page. And then I wanted to transform my website into a wordpress website, so I did what I had to do, but the ...
0
votes
0answers
18 views

Navbar list items changing place

I am using wp-bootstrap-navwalker to create easy menus with Twitter Bootstrap. Everything works fine when setting menu up and everything is displayed. But when I enter the pages on the site the ...
0
votes
0answers
525 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
78 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
0answers
81 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
0answers
92 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
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
76 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
20 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
126 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
0answers
35 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
0answers
102 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
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
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
0answers
123 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
78 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
65 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
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
257 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
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
0answers
116 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
94 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
0answers
43 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
539 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
31 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
43 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
92 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
0answers
45 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
0answers
20 views

Child navigation within a menu

I've managed to create a dynamic menu. However, I need to place an inner menu within that, like so: List Item List Item List Item List Item List Item List Item List Item And I currently have: ...
0
votes
0answers
60 views

Adding an extra attribute to menu link using wp_nav_menu

I need a little help, I'm basically trying to add a custom data attribute to the a tag in all menu items. So as it stands, I have this: <a href="/">Home</a> <a ...
0
votes
0answers
115 views

Woocommerce + Show a menu with only the active category and sub-category

I have a menu structure that looks like this: Categorie 1 - Sub Category - Sub Category Categorie 2 - Sub Category - Sub Category Categorie 3 But I only want to show the active category with it's ...
0
votes
0answers
38 views

adding pages to the menus in wordpress admin side

Hi i'm new to wordpress and just started to study it. i already got a css and index.php files for studying with practicals. i integrate it to my local wordpress and created files ...
0
votes
0answers
97 views

Link to Author archive from Navigation Menus in dashboard?

I'd like to display a grid of authors on my site showing the name of the author and their avatar. The tricky part is, I'd like to be able to control this from the Menus page in the dashboard so I have ...
0
votes
0answers
45 views

WordPress Boldy theme new created page - Page Not Found

I'm using Boldy Theme and having problems with creating new pages: every page I have published showing "Page Not Found" page in preview. I'm new to WordPress and not 100% whether I'm following the ...
0
votes
0answers
59 views

add_filter 'single_template' and use of wp_nav_menu in template

I'm using add_filter('single_template',...) to call a unique template file under a certain condition. The problem we're running into is that no matter what I do I can't use wp_nav_menu() ...
0
votes
0answers
145 views

How do i keep my current page menu highlighted on pagination?

I have a navigation menu in a page that highlights the current menu you’re on based on the URL by adding a class. My problem is that my page is paginated, so sometimes the user will end up at: ...
0
votes
0answers
74 views

Submenu is missing when custom taxonomy page

I have problem that my sub-menu is missing when I use (tried built in categories also) custom categories as menu items. Basically what I want: Menu item (wordpress page) -submenu item what is ...
0
votes
0answers
119 views

Extending Walker class for Bootstrap 2.3.2

I would like to extend the walker class so that I can show a menu in this format: <div class="accordion" id="accordion2"> <div class="accordion-group"> <div ...
0
votes
0answers
25 views

How to create a menu super voice in WP?

I am pretty new in WP (I came from Joomla) and I am finding some difficulties to do the following operation in WP Main Menu. If you go on this site you can easy understand what I need: ...
0
votes
0answers
14 views

Limit the amount of menus someone can make

Working on a site of mine I was wondering if it would be possible to set/limit the amount of menus someone can make to '1' (and thereby disabling the current menu location features)? I've been ...
0
votes
0answers
26 views

Highlite current menu page problem

Hello I have a problem with the wordpress menu I have the main menu parent item has the same link width first page in submenu Parent --- Haloterapie: www.site.com/halorepaie Submenu --- Actiunea ...
0
votes
0answers
43 views

Add static value between second & third menu value

How can I add a static value between second and third menu value? For example, like this: Menu value 1, Menu value 2, STATIC VALUE HERE, Menu value 3, Menu value 4 I know about the Walker_Nav_Menu ...
0
votes
0answers
71 views

How to link to page AND anchor with Menus and/or wp_nav_menu()

Basically I am trying to create a menu that can link to a page and an anchor on that page in one go. I currently have a menu using wp_nav_menu() but I can't see any argument that could directly modify ...
0
votes
0answers
38 views

Add wordpress menus to magento website

How to add wordrpess menus to magento website? I have installed Magento WordPress Integration, author jamesckemp. By using this plugin, i did magento menus to display it in wordpress website. Please ...