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
67 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
87 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
123 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
71 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
19 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
122 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
34 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
97 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
42 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
56 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
15 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
116 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
77 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
28 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
247 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
109 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
92 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
41 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
523 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
86 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
59 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
114 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
90 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
44 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
56 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
140 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
116 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
24 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
34 views

WP E-Commerce - Navigation 'current item'

I'm using WP E-Commerce on a Wordpress site, which creates a 'Store' page and a 'Checkout' page. I'm also using wp_nav_menu() to create a menu. The problem is, when I'm viewing an individual ...
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
36 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 ...
0
votes
0answers
45 views

Return only posts in a primary menu within loop in the order in which they appear in the menu post__in

I'm working on a single scroll site. I want to include ONLY pages which appear in the primary menu of the site. If a page is not in the primary menu, it should NOT be included in the loop. I also ...
0
votes
0answers
24 views

Plugins for putting Custom Post Types into the Menu

I have been building a website that has numerous custom post types, and I have found one called WordPress Post Type Archive Links. This would allow me to add a link to the an archive of registered ...
0
votes
0answers
18 views

Inserting another menu from inside an existing menu

I ran into the dreaded php input limit but for some reason my host doesn't respect the php.ini or other settings. My only alternative is adding another custom menu from within a menu. Don't ask why ...
0
votes
0answers
173 views

Custom taxonomy categories menu with link to subcategory

I'm currently developing a theme for a client that need a "catalog" in a page, I made that catalog with a custom taxonomy and some AJAX, until that everything is fine but the products of that catalog ...
0
votes
0answers
80 views

automatically add new post type to its menu list

In case of menus that contain items other than pages, such as custom post types, posts, posts of a certain category, etc. How can I make wordpress to automatically (programatically) add a new item to ...