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
1answer
18 views

Menu is not displaying on the site navigation [closed]

I am using Axis Wordpress theme. I have created a new page and added it to the menu. But when I visit to the site I am not able to see the menu navigation link. I don't see any page to navigate and no ...
0
votes
0answers
110 views

Add active class to ul container menu

Does anyone know how to add a "active" class to the parent container menu in WordPress 4.1.1 ? If an item of the menu has the "current-menu-item" class, I want to add "active" class to the parent ...
0
votes
0answers
41 views

Dropdown in Navbar, spacing between links

I am having issues with the spacing of the dropdown on the nav bar. I added the menu through WordPress admin panel. When I hover over the dropdown, the words are all crumpled together. I need to space ...
0
votes
1answer
46 views

add custom entries to menu options

The menu options in WP already have support for created native posts types, and custom post types, and existing taxonomies. But in my plugin I provide a couple custom URLs that are not associated ...
0
votes
0answers
20 views

Add menu item for page with ID

I'm trying to leave Wordpress for my client as a simple and usefull CRM, but I stuck with one thing. I have one page with few main sections (groups of products). I don't want to separate every section ...
0
votes
1answer
12 views

current_menu_parent for custom post type and custom url

I have defined a custom URL that loads a custom template, as a customized "archive" por a custom post type. I can't use the native archive since the page has a couple requisites that the archive ...
0
votes
0answers
130 views

How to split sub menu li into 3 columns in wordpress

How Can i Split sub menu li into 3 columns each wrapped in a div. Here is my custom walker. Here is my custom walker. class Custom_Walker_Nav_Menu extends Walker_Nav_Menu { function ...
0
votes
0answers
18 views

Wordpress menu - return link

is there any way to add a "back" or "return"-link to the Wordpress-Menu? The only option I can see is "Link", meaning it has to be a valid site.. When using javascript:history.go(-1), the text is ...
0
votes
0answers
25 views

wp_nav_menu not selecting teh correct menu

I'm having a weird issue. I have 2 menus, and registered them in functions.php, like this: add_theme_support( 'menus' ); register_nav_menu( 'primary', 'Top Nav' ); register_nav_menu( 'footer', ...
0
votes
0answers
24 views

Get menu as lists with hierarchy

I've a menu like this: Page Category 1 Category 2 Sub category A Sub category B Sub category C Category 3 Page ... Because I need to custom styling it, I need to print it on a template. I need ...
0
votes
1answer
30 views

Show parent's child and also child's, child on a page?

I'm trying to get my head around this issue I have and the only way I can think about doing it is pulling in things via a WP_Query but you can't have a query inside a query can you? What I'm trying ...
1
vote
1answer
31 views

Insert other menus as submenus of a main menu

I have a main menu which features items for each of my service cpts. Each of those cpts has another menu associated with it, the id of which I grab using the ACF get_field function. What I'm trying ...
0
votes
1answer
72 views

Wordpress + Bootstrap [closed]

I have integrated Bootstrap with Wordpress, and implemented wp-bootstrap-navwalker to build menus. Bootstrap and navwalker are working as you can see my project here. The only problem is the CSS on ...
2
votes
1answer
72 views

Create self-populating menu and add extra divs to the menu layout

What I'm trying to achieve: A menu with one level of sub-menus: PAGE 1<br> --- Page 1 sub-page 1<br> --- Page 1 sub-page 2<br> PAGE 2<br> --- Page 2 sub-page 1<br> --- ...
0
votes
1answer
51 views

Menu item hidden behind others

I'm having some issues with my menu being displayed properly. As you can see from the photo below, my 3rd level menu items are hidden behind the others for some reason. I've gone over my template I'm ...
0
votes
0answers
25 views

Page auto link to the ID

I'm trying to make the page slug as their ID. Because I'm making one page site. Here is my code <?php global $post; ?> <article id="<?php echo $post->$post_name; ?>"> then I ...
0
votes
0answers
101 views

Class .current-menu-item in custom menu Walker

I'm building a blog using a custom walker for my submenu which looks like this: class Submenu_Walker extends Walker_Nav_Menu { function start_el ( &$output, $item, $depth = 0, $args = ...
0
votes
0answers
25 views

Pass $item->description to start_lvl

Is there a way to show parent menu descriptions on the first sub menus when using start_lvl ? function start_lvl( &$output, $depth = 0, $args = array() ) { $indent = str_repeat("\t", $depth); ...
10
votes
4answers
485 views

Split up wp_nav_menu with custom walker

I am trying to create a Menu that shows a maximum of 5 items. If there are more items it should wrap them into another <ul> Element to create a dropdown. 5 Items or less: 6 Items or more ...
1
vote
1answer
17 views

How to add notifcations to front-end menu for users when they recieved replies?

So I get this theme were people can interact with each other, send message, gifts, chat, etc. I want the menu, or the button "My profile" to change and add a notification symbol, notifiying the user ...
0
votes
1answer
16 views

Why is wordpress forcing https link generation?

I just moved a local site on my staging area, and I noticed that wp_nav_menu now automatically generates https links. Why? How can I disable it? Thank you
0
votes
0answers
18 views

html <nav id wordpress menu

I am trying to convert this html menu to a nav in wordpress <nav id="nav-main"> <ul> <li><a href="#">Home</a></li> ...
0
votes
0answers
27 views

how to add custom plugin menu link in toolbar

function ledger_manager_link($wp_admin_bar) { $args = array( 'id' => 'ledger_manager_link', 'title' => 'Ledger Manager', 'href' => plugins_url('ledger_credits.php'), 'meta' ...
0
votes
0answers
199 views

WordPress Custom Links and category is not working

I am new to wordpress and using wordpress(4.1.1) and theme "Hueman". I wanted to add custom Link and Categogy Link in Menu Structure, but i can't able to do that. When click ...
1
vote
1answer
76 views

Altering html structure and creating custom menus

I'm fairly new to Wordpress and am trying to do something very specific. I am currently using the awesome html5blank to create my custom theme. I am using the native menus for my nav tabs. I am ...
1
vote
1answer
76 views

Schedule Page to Menu [duplicate]

Every week I tend to have 2-4 pages scheduled though I need to get them added to my menu as well. The "Add New Top Level Pages to Menu" option won't work in my case though as the pages in question ...
0
votes
1answer
19 views

Where is my menu editor

So I've opened up a WordPress site I've developed some time ago where I've never had to use the menu editor. Problem is, I do need it now, but it doesn't show up in the wp-admin 'Appearance' section. ...
0
votes
0answers
35 views

Why is WordPress stripping anchor links from mneu item URLs?

I have a taxonomy page that lists all the sub-categories. I want to link directly to the sub-category position of that page from the main navigation menu. I set up a menu with the main category ...
0
votes
0answers
82 views

Top level ancestor ID of current page in navigation menu

I want to get the ID of the top level ancestor in the navigation menu. So I want to do a function that retrieves id of "TLA" from this list: Menu - Submenu TLA <- Need its id - Submenu 1 - - ...
0
votes
1answer
7 views

Importable Menus? Along with Pages (a site layout template)

Simply stated: How do you pre-create menus which can be imported by a user who does not want to spend a day recreating the wheel? Most themes have preferred layouts, which can have a tedious page ...
0
votes
1answer
91 views

WP Super Large Menu Problem

Hey Folks! I am looking for the best WP practises to handle mega large menu. My navigation menu has about 400 links, so if I create just a single menu, then it looks so ugly... I could divide it into ...
0
votes
1answer
118 views

Menu on responsive twentytwelve theme not working, strange url error

i use twenty twelve custom theme (palumariosrl.it) but i have a problem. If i try to use on responsive mode the menu not function (can i see only hover menu page and if i click on menu buttom i have a ...
0
votes
0answers
93 views

Get menu item data from menu item ID

I want to filter the_title when I output a custom menu (of internal pages) using wp_nav_menu(). My pages have a custom field called 'short_title', and I want to use these values in my rendered menus ...
0
votes
0answers
31 views

Admin Custom Menu Editor Disappeared

The custom menu editor on my site has disappeared. It used to be under the Appearance menu. Any idea where to find it, or how to fix this problem?I have registered and init the menu properly in theme ...
0
votes
2answers
72 views

Get menu items problem

I'm trying to get a menu items created from wordpress admin panel. To do this I followed the instructions codex: http://codex.wordpress.org/Function_Reference/wp_get_nav_menu_items // Get the nav ...
0
votes
0answers
60 views

Add login and register controls at the header top right corner

I want to add login and register at the top right corner in the main menu of wordpress site. So is there a plugin out there which can do this and login and password textboxes should show horizontally ...
0
votes
2answers
96 views

Admin: Navigation Menus do not show empty categories/taxonomies in the list's search tab

This is referring to the Admin area of Navigation menus It seems the normal behavior for building out Navigation Menus (Appearance>menus) is that when you expose categories or custom taxonomies, that ...
0
votes
1answer
30 views

Hide menu theme location for certain capabilities?

I have 6 menu theme locations setup with "register_nav_menus" I would like editors to be able assign custom menus to 3 of those locations and keep the other 3 only available to administrators. How ...
0
votes
0answers
58 views

Theme for a specific subcategory inside multiple categories

In relation with this topic in which I wanted a different theme for categories than for subcategories, now one step further, I want a specific theme for a specific subcategory used in multiple ...
0
votes
1answer
41 views

Can't add any menu items anymore, server related

Unsure if this fits here, but hopefully it does. So I'm having an issue that I can't add any menu items to a custom menu anymore. At this very point I can verify that it's server related, since this ...
0
votes
2answers
44 views

Theme for subcategories

I am working with categories (cities) and subcategories with the same menu (for example: cars, animals, houses). Therefore right now my categories structure looks like this: - London -- cars -- ...
0
votes
0answers
50 views

Adding items in a menu not working in multisite

I have a custom code that it will automatically add the category to the menu in multisite. Lets say I have a category name "Cat1" then once I run my code this will automatically added to the menu. ...
0
votes
0answers
75 views

Sidebar menu, different parent and child pages

I wish to organize a hierarchy of pages into a navigation menu in a manner similar to the following: Cats Short-haired Long-haired Purebred About Animals Dogs Toy Dogs Hounds Terriers About ...
0
votes
1answer
369 views

Wordpress template - How to add class to li tag if submenu exist

for example i want create this menu: <div class="menu_wrap"> <ul class="nav sf-menu"> <li class="sub-menu"><a href="">Main Menu 1</a> <ul> ...
1
vote
0answers
26 views

How do you add a <div> around the second level of a Menu?

I've been searching around online and reading up on walkers but I can't figure out how to do this. Basically I need a <div class="sub-container"> wrapped around the second level of the menu but ...
0
votes
1answer
178 views

How can I add a fixed vertical menu to my site? [closed]

I'd like to have a vertical (secondary) menu on some sub-pages of my site. It should be fixed (will stay as the viewer scrolls down the screen). I'm currently using the Q2W3 fixed widget, but it lacks ...
0
votes
2answers
228 views

Add static item to wp_nav_menu

I am trying to add static menu item to Wordpress Menu.I am using filter 'wp_nav_menu_items' for this in functions.php. It works but it doesn't put it under menu container tag. function ...
0
votes
0answers
23 views

Sub menu that links to posts grouped by year

Is it possible to create a custom menu that links to all posts grouped by Year (See screen shot) and is automatically populated as new posts are created? I have found a few posts asking for a way to ...
0
votes
1answer
39 views

Modify sub_menu function to show pages below a specifically set page

I've got a function that ties in to wp_nav_menu that shows sibling pages for the currently viewed page, as well as any children pages. I need this modified to only show the children pages of a ...
0
votes
0answers
26 views

error on adding menu walker

I am trying to add a menu walker. I have added the following code in a plugin: class description_walker extends Walker_Nav_Menu { function description_walker() { } function ...