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)

2
votes
2answers
699 views

wp_nav_menu() mark current item ancestor of custom post type

This solution does almost what I want it to. Only thing is, I have my menu set up as follows: Menu item 1 Menu item 2 Custom post type 1 Custom post type 2 Custom post type 3 Menu item 3 ...
1
vote
2answers
626 views

3 blogs on one site with the same header menu?

Person X has default SITE with an integral blog. Person X also has SITE 2 with Blog 2 and also SITE 3 with Blog 3. Is it possible to have on the DEFAULT SITE HEADER MENU something like this: HOME ...
5
votes
2answers
400 views

Does Extending Multiple Nav_Menu_Walkers Allow Nested Menus?

Essentially I'm trying to add multiple sub nav menus and I'm pretty close but I just can't seem to find the right tack to solve my problem ... I'm using a variation of a Stu Nichols CSS Menu ... ...
0
votes
0answers
3 views

How to get a different mobile menu than desktop menu in the twentytwelve child theme

I would like to use a different menu for my mobile website than my desktop website. With different I mean the content not the layout. I just want to use the mobile menu of the twentytwelve theme. ...
0
votes
0answers
6 views

How can I remove navigation menu tree on every page?

This has been bothering me for awhile. Is there a way I can remove the page tree (Home > foo > bar) that shows up on every page on my website? It isn't useful for my site and is just clutter. See the ...
-1
votes
1answer
22 views

Changing Menu Fonts Design [closed]

I am using the 2011 theme and I would like to make the font that appears on the primary menu bigger and more stylish, is it possible for me to achieve this and if so, how to I go about it.
0
votes
1answer
19 views

wp_nav_menu work in functions.php but not in the theme

I use wp_nav_menu with this code in functions.php: register_nav_menus( array( 'sidebar_menu' => 'Sidebar menu', 'topmenu' => 'topmenu', ) ); $args = array( 'theme_location' => ...
1
vote
1answer
2k views

Wordpress 3.5 dropdown menu

I'm pretty new with WordPress and I want to create my own dropdown menu without the use of any plugins. I already did some research but there are some things I do not understand. In my header file I ...
1
vote
3answers
34 views

Benefits of using Nav Walker?

Are there any benefits to using a nav walker class over iterating through wp_get_nav_menu_items()? Nav walkers seem very clunky to me and iterating over an array feels easier and more re-usable but ...
2
votes
1answer
5k views

Using wp_get_nav_menu_items() to list children of children pages

I'm working with a Genesis Based Theme and I'd like build a Page/ Child Page menu structure. That part I can do with the help of some code produced by Bill Erickson. Essentially what I'm trying to do ...
1
vote
1answer
24 views

Multiple navigation menus to a location?

I want to be able to assign multiple menu's to 1 navigation location. But when I want to assign the second navigation, the previous is unassigned. How would it be possible without breaking the ...
0
votes
2answers
327 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
8 views

Mobile navigation is shown, but standard navigation does not disappear

I have setup that website berlin-permanent-makeup.de and the mobile navigation kicks in, as soon as the screen is smaller than 800 px wide. So far, so good. My problem is, the standard navigation ...
0
votes
0answers
9 views

Menu in Genesis theme [closed]

I need help about my menu and logo in wordpress genesis theme with Cafe-pro child theme, the problem is logo and menu are residing in the same div so when ever i make any change in menu it is also ...
2
votes
0answers
44 views

Create Custom Post Type Archive Page with Sub Categories Navigation Sidebar

I have 8 custom post types (which are actually for 8 different blogs and used as "blog landing pages"). Each custom post type is also a Blog Category and each has several sub categories to it. For ...
0
votes
1answer
286 views

Is there any way to recover deleted menu from database sql backup

i accidently deleted my main menu but i have a .sql database backup file and i want to recover my menu from this file. Is it possible? Thanks.
2
votes
1answer
22 views

jQuery cookie not working properly in wordpress

I make my own accordion menu with html + jquery its working perfectly to forth level, then i add a cookie code from net and do some extra work it also work 100% perfectly in html. My complete HTML + ...
0
votes
1answer
8 views

Main menu gets replaced when second menu is created

I have a menu (main menu) and i call it with <?php wp_nav_menu( $args ); ?>. It works normally, and is set to Primary Location. But when I create another menu, the new one replaces the main ...
0
votes
2answers
422 views

Custom menu - different submenu for first menu item

I created a custom menu with dropdowns. (just CSS no JavaScript). I also added a custom CSS class for the first menu item. So far so good. The point were I get stuck is adding a custom dropdown only ...
0
votes
2answers
589 views

Handling complex multi-level architecture / menu for large site

I am trying to get feedback and ideas for solving an information architecture / content management problem using wordpress. I have a large site ( 1,000+ pages, hundreds of posts ) made up of ...
0
votes
1answer
329 views

“Widgets” menu doesn't appear

I'm developing a WordPress theme, which works great on my localhost and one of my live servers, but on my other live server the Widgets menu (from Appearance) doesn't appear. And yes, all 3 servers ...
2
votes
4answers
590 views

Creating “static” taxonomies to choose from, inside custom post type?

Alright, so i have a custom post type called Blurbs (translated, sort of). I want to add a static set of categories for the posts within Blurbs (i don't want the user to be able to create custom ...
0
votes
0answers
15 views

Avoid changing menu query with suppress_filters => false

I recently had to change qTranslate for qTranslate X since the former is not being updated. This broke my menu and after searching I found it was because qTranslate X sets suppress_filters to false. ...
0
votes
1answer
15 views

Why does my site show the correct front-page when you arrive at the site, but not when you click 'home'?

I have a website (derbyskillbuild.org.uk) and the 'home' button leads to a diffent page than the 'front-page': When you arrive at my website, it displays the correct front-page.php with the loop on ...
2
votes
1answer
463 views

Adding Custom Taxonomy Archive Link to Nav Menu Shows Up As (Invalid)

I have a custom post type "packages" with a taxonomy "Celebrations" that has a few terms in it. When I try to add a link to my wp nav menu through Appearance > Menus and choosing the term I want from ...
0
votes
0answers
18 views

How to identify the current page in a custom wordpress navigation menu code

I am building a custom navigation menu in WordPress, where I have 2 level of depth; parent and direct child sub items. Some items are leaf though. I want all parent items to have no url so that I can ...
0
votes
1answer
25 views

How to register a menu based on a ACF condition

I am trying to register a Wordpress menu, depending on a ACF field condition. $logo = get_field('logo','options'); if ($logo) { register_nav_menus(array( 'brand_centered_left' => __('Brand ...
0
votes
0answers
12 views

Showing Woocommerce cart in a specific menu? [closed]

I've tried adding Woocommerce cart in the menu. And I found this code function add_last_nav_item($items) { global $woocommerce; return $items .= '<li class="menu-item-cart-item"><a ...
0
votes
0answers
6 views

how to get Tag in menu populated with recent posts submenus

I would like to know if it would be possible to implement an option to "populate" each tag menu items of my WordPress site automatically with links to recent post as submenus. In other words, when ...
0
votes
0answers
639 views

collapse twenty twelve submenu in mobile version

In the twenty-twelve theme, the following code will collapse the sub-menu ul/li on the mobile version. The problem is that it also breaks the normal version of the menu. How can I use it only when the ...
0
votes
0answers
15 views

How can I show latest posts from certain tags menu items as submenu?

I have the following order of menu in the menu dashboard: Category1 ->tags(related to category1) category2 ->tags(related to category2) etc.. when you hover a tag menu item I want to get the list of ...
0
votes
1answer
425 views

How to retrieve depth of menu into template

In wp_nav_menu i use for the menu, with custom walker, i can get the $depth parameter in the start_el function function start_el(&$output, $item, $depth, $args) but, outside this ...
0
votes
0answers
7 views

hide some nav menu items to non-localhost visitors, based on ip?

For a work extranet website i have a website that's fully accessible on premises. The website is now also fully accessible from outside as well. There are however some level 1 nav items with sub menu ...
0
votes
0answers
16 views

How to create a mega menu with latest posts of certain categories per tag?

I have the following menu: -Category1 ----tag1 ----tag2 ----tag3 -category2 ----tag1 ----tag2 ----tag3 etc.. The category1,2,.. are empty placeholders to hold the submenu tags. Could someone ...
1
vote
1answer
327 views

custom menu widget where menu title is a link

I am looking for, like the title of this question indicates, a custom menu in wordpress where the menu title itself is a link. It seems like a very simple thing, but after a lot of searching I've come ...
0
votes
0answers
11 views

Customize Theme Screen Keeps Reloading

I have a theme that I have customized, and when I go Appearance > Themes > Customize the page keeps reloading, over, and over, and over... This is the only page that does this. I have tried ...
0
votes
0answers
7 views

How to work around the bug which prevents custom menus from being deleted?

A bug makes it impossible to delete a custom menu in the expected way: select menu, click Delete Menu. This has never worked for me on any WP site in any version of WP; it produces an Error 403 and ...
0
votes
1answer
14 views

Always show wordpress submenu on responsive header menu

I'm trying to edit my CSS to always show all the li tags inside my header menu, also with ul.sub-menu li; I just want to show all the items from the menu, but I'm working on it for hours and I've ...
0
votes
2answers
15 views

different Menu position showing same menu

Weird Problem: I registered two menus (theme-positions) and then added two different menus to each (in Wordpress Admin), but it always shows same menu in both positions: sidebar.php <?php ...
0
votes
0answers
6 views

How to duplicate Sub Menu?

Just wondering how I can duplicate (copy) a sub menu item. I have the duplicate menu and duplicate post plugins. Neither lets me duplicate a sub menu. Thank you for the help
0
votes
0answers
16 views

How to echo text from higher level of nav

I'm building a site with three levels of nav. Primary is your standard nav in the header of the page. Second level of nav is below that primary header. Tertiary level of nav is on the sidebar. In ...
0
votes
0answers
12 views

Page Categories in Admin Menu

I am developing a responsive wordpress theme, among other things I will be serving different content to each device so with this in mind I am trying to organise the wp admin menu to make it easy to ...
1
vote
2answers
609 views

Using website header, menu and footer on Wordpress blog

I want to use the header, top menu and footer from my website on my Wordpress blog. The website itself is not a Wordpress site but the blog is and resides in a 'blog' folder on my server. So I guess ...
0
votes
2answers
553 views

How to use wp_nav_menu with hashtag links?

I am developing a custom theme and the navigation part uses hashtags (yes, all content is on one page). So when i use wp_nav_menu( array( 'theme_location' etc the menu items links to the pages. Can ...
0
votes
1answer
30 views

Specific Page that convert Hyperlink to anchor in nav menu

I extended my Walker_Nav_Menu that converting hyperlink to anchor as I'm making one page website. Here is the code: class description_walker extends Walker_Nav_Menu{ function start_el(&$output, ...
1
vote
2answers
905 views

Display posts from Custom Post Type in category page on front-end

I created my Custom Post Type (bizdirectory), created a new post (Test Business) and created a new category (Business Directory). But if I add the Business Directory category (slug = business) to my ...
0
votes
1answer
19 views

Missunderstanding of Wordpress menus

I made my first Wordpress plugin and I have couple questions regarding menus. When I activate default Wordpress theme "Twenty Fourteen" I can see navigation menu on top of page. My plugin, upon ...
0
votes
1answer
23 views

Using Different wp_nav_menu theme_location based on page id (or a parent id)

I am sure this has been asked. It's new territory for me so I don't have the full vocabulary of what I'm doing, nor am I sure this is the right way to do it. I've got a bunch of internal pages on a ...
0
votes
2answers
3k 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
1answer
9 views

WordPress menus - automatically generate

I want to automatically generate some menu items using a script (i.e. using wp_update_nav_menu_item). This would usually be a one-off event but I might want to repeat it if the menu items need ...