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

Dropdown menu on click change

Im working on a website where I need to create a submenu that shows only the parent pages. When I click on one of the parents it has to show the children from that parent. Here is the menu hierarchy ...
0
votes
1answer
45 views

Custom menu with different behavior for every item

I'm working on a custom menu that is particularly complex and I like to know which is the right way to build it. This is the structure of my menu: - Home (is a PAGE) - Information (Is a PAGE with ...
0
votes
2answers
416 views

Dynamic menu with custom post types

I'd like to create a dynamic menu with a mix of static pages and custom post type archives that applies a class of "current" to the current tab. The example below uses 1) Static page set as Home 2) ...
0
votes
2answers
371 views

Remove current-menu-item for a specific link

bbPress uses a custom post type called forums. When I click on forums, both forums and the Blog menu items are highlighted as a current-menu-item. Is there a way to remove the current-menu-item from ...
0
votes
2answers
478 views

wp_list_pages: only show subpages on the parent page?

I'm using wp_list_pages('title_li=') on my site. Some of my pages do have subpages, however I don't want to list them unitl I'm on an actual parent page that has subpages. So imagine my front-page: ...
2
votes
1answer
201 views

Problem with registering menus - What to do when other solutions aren't working?

I'm not able to get nav menus to register - and I'm not sure what else to try when posted solutions are not working? I've tried the solution in this post: register_nav_menus() won't register ...
0
votes
2answers
809 views

Conditional custom menu?

I'm trying to create a custom menu that displays a <li></li> when a user is logged in, and not display it when they're not. I have this so far, but it's not working. Does anyone know how ...
1
vote
1answer
119 views

Make a navigation menu in the same post [duplicate]

Possible Duplicate: Looking for a Table of Contents (TOC) plugin for WordPress I have been trying for some time to do one thing: I need a navigation menu inside a Wordpress post which will ...
2
votes
1answer
836 views

Custom search filter causes menu and query_posts problems

I'm using a custom search filter (using my custom query var type), like so: function fteh_pre_get_posts( $query ){ if( isset( $query->query_vars['type'] ) ) $types = explode( ',', ...
0
votes
1answer
102 views

How to activate/deactivate menu tab and keep the same id?

I have a problem here and i cant find/think of any solution yet. I want to have a menu button that can be activated/deactivated and still keep the same id so the CSS will still be applied. Is there ...
1
vote
2answers
79 views

Does loading of sub pages in menu cause load to the server?

I am working on a wp site where I need to manage 500s of child pages for a single page such as About menu can have more child pages need to manage those child pages as sub menu and I have more than 5 ...
4
votes
3answers
4k views

non-clickable placeholder in the menu

well, I really would like one & more of my top-level menu items (parent menu items that has child menu items) to be non-clickable, so that visitors can only click on the child menu items...could ...
0
votes
1answer
52 views

Setting a Master Menu on a Custom Post Type

I am currently developing a site for a car dealership to list their inventory. I have setup the car up as a custom post type. Each post will have children (gallery, features, accessories, etc). I ...
-1
votes
1answer
287 views

How to create a custom WordPress navigation menu?

I hired a designer to create a custom website for my startup home business. Two years later the site is uploaded onto WP but I can't do a thing with it. The site is password protected as it is still ...
-1
votes
1answer
157 views

How can I make this process automatic?

I have a Bakery page. Every time I add a child page such as cakes, I would like to add the page title cakes to a custom taxnomy. I also want to add this child page to a menu which displays these child ...
0
votes
1answer
71 views

I'm using wp_nav_menu to display my menu, but I want one more link in there that is a hardcoded link. How can I do this?

I want to have all my dynamically generated links in my nav menu, but the second last one should be a link to my "Work" for my portfolio, which is just a link to a section on my main page. (Anchor ...
1
vote
2answers
3k views

Search box as a menu item in the nav menu output by wp_nav_menu?

I am using the Twenty Twelve theme, and the following is the code it uses to register and display the menu. In functions.php: function twentytwelve_setup() { ... // This theme uses ...
0
votes
1answer
290 views

Add session or cookie to remember last menu location

I have a site that is pretending to be three sites. This is done by a series of conditional statements and page templates to make it look like the user is on a different site depending on their menu ...
0
votes
1answer
3k views

How to add social buttons like facebook and twitter in the footer of a theme?

Hi I own the blog camilamfotografia.com.br and I'd like to add social buttons in the footer or in the navigation menu to link my site to facebook twitter flickr pinterest etc... I have tried without ...
0
votes
3answers
209 views

How to list menu-item- ids in order for wp_nav_menu

I have a nav menu call: 'primary', 'container_class' => 'primary-menu' ) ); ?> The output looks something like this: <div class="primary-menu"><ul id="menu-other-links" class="menu"> ...
0
votes
1answer
4k views

Automatically Display Sub Menu

To start... I am new to Wordpress and developing themes. I've got a main menu which I've placed in my header using the following code: <?php wp_nav_menu( array( 'theme_location' => 'primary', ...
-1
votes
1answer
329 views

Class for Selected Menu using wp_nav_menu

I create Widget for Vertical menu Now I am trying to get selected or current menu using wp_nav_menu Any one know how to Add current class when selected in wp_nav_menu
1
vote
2answers
60 views

Sidebar links for different pages

Hey all i am wondering what i need to add in order to have a different sidebar for a set page? I created a category for the page (called PatientEdu): And made sure the page was linked to the ...
1
vote
0answers
85 views

How to re-arrange the MENU of “Allure Real Estate Theme for Placester” wordpress theme?

I am using "Allure Real Estate Theme for Placester" wordpress theme, I tried the below three methods but no positive result in realtypointusa.com I tried in Dashborad-> Appearance-> Menus and ...
-1
votes
1answer
217 views

Display sub menus as separate lists

I need to change the way of rendering menu in WordPress - I guess I should write my own walker class but I'm not sure how to bite it. What I'd like to achieve is to render each level of menu as ...
0
votes
1answer
144 views

Page header menu links change

I am trying to find out where the header menu links on my WP is located so that i can change the URL of the page. the link is: http://blahblah.com/?page_id=11 and i need to change it to: ...
5
votes
2answers
1k views

How can I create an auto-populated menu that is automatically assigned to a location?

I'm trying to add BuddyPress nav menu support to my theme and, unfortunately, BP's template tags still aren't fully up to snuff. (Basically, if you're not making an explicit child theme for the BP ...
0
votes
1answer
256 views

Theme Location empty

I have a problem. I have a WordPress theme which supports two navigation menus. The primary menu shows all the pages, and the secondary menu displays the categories by default. When I go to ...
1
vote
1answer
243 views

Change the menu home link to something else

I'm using the built in menu system, and I wan't to change the text of the home menu link to something else, like "hjem", and i have tried placing this in the code: <?php wp_page_menu( array( ...
0
votes
1answer
360 views

How to add an <img> tag when a menu item is a dropdown(or has a sub-menu) [duplicate]

Possible Duplicate: Adding a class (arrows) to main menu links that have children? I have two, very basic css dropdowns in my menu. I want to be able to add an arrow next to the dropdowns ...
0
votes
3answers
6k views

How do you get the current-menu-item ID?

Im trying to get the id of the menu item that has be class called "current-menu-item". Not the current page id, but the nav item id. Please help
0
votes
1answer
2k views

Getting menu items like get_pages

I need a way to create a custom HTML template for the wp_nav_menu function. I've heard of custom walker classes, but these don't appear to be helpful enough to achieve what I'm trying to do; at least ...
0
votes
1answer
239 views

Walker_Nav_Menu creating too many closing tags?

created this walker below to create a set of tabs. All looks ok but in the source there are several more than there should be causing validation errors. I only want to generate a tab for 'question' ...
0
votes
2answers
539 views

Specifying Class style for Menu

Im integrating Superfish into WP. I have called the CSS and the JS. However when I place a class style in the wp_menu as below, the menu is disappearing (see here for rendered output). Could anyone ...
5
votes
2answers
299 views

Call custom field into menu item

I have a navigation menu in Wordpress. I would like it to check if the page has a custom field of "menu_icon" and if it does, add that custom field into the menu item it corresponds to. I'm sure this ...
2
votes
4answers
3k views

Adding a class (arrows) to main menu links that have children?

I'm wondering if it is possible to add different classes to second/third/fourth/etc-level items that have children in Appearance > Menus tree? That's how I call the menu: <?php $menu_args = ...
0
votes
2answers
978 views

wp_nav_menu not appearing correctly on category page

this is the code i am using to call wp_nav_menu <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => '', ...
1
vote
2answers
17k views

How to Create a Custom WordPress Navigation Menu with the Code?

Without using plugins, how to create a custom WordPress navigation menu with the code? I have Wordpress ver 3.2.1 and Buddypress ver 1.5.1 I would like to create a menu like this: click here I would ...
3
votes
6answers
3k views

Large WP 3.0 menu times out and won't save

I have a large menu containing 10 parent items with roughly 7 child items each that I am trying to build using the WP-admin > Appearance > Menus. I have nearly all the menu items added but now my ...
3
votes
2answers
815 views

Overwriting Core Wordpress Functions with Plugins

Is there a way to overwrite a core function is the Wordpress core using a plugin? I don't need to inject code, I need to replace the function entirely with a re-written version. The specific function ...
2
votes
1answer
284 views

Add Submenu Link in add_submenu_page That Opens in a New Window

How can I add a sub menu link using add_submenu_page that will open a new window (target="_blank") instead of opening in the current one (default behavior)?
1
vote
2answers
310 views

How to switch between the Primary Menus programmatically?

Lets say i created 2 Different Primary Menus (in the Appearance > Menu .. section). Then in the (Theme Location > Primary Navigation) Section, i can set 1 Menu to be activated. So how can i switch ...
1
vote
2answers
2k views

How to add php to custom link in the nav menu?

I simply want to add some php in as a custom link in the wordpress menu section. The code I want to use is <?php bp_loggedin_user_domain(); ?> which will generate that logged in user's ...
0
votes
2answers
110 views

Increase search results for Admin -> Appearance -> Menus -> Search (default is 10)

I have over 800 pages in WordPress which becomes a challenge trying to find a specific page to add it to the menu. View all works if you have only a few pages so the best option would be to search for ...
0
votes
1answer
96 views

Bought custom navigation menu from codecanyon, how to change feature.php?

I bought a nav-menu with css but not sure how to use this in my wordpress theme. Is there a standard way to implement it? Like this ...
-1
votes
3answers
66 views

Adding a post to a page

I would like to know how I can add a specific post to a specific page? It would be great if anyone can suggest a reference to this problem. Do I need to create a post category to relate with a page? ...
0
votes
1answer
111 views

Submenu opened problem

I am trying to fix a problem with a submenu. I have coded (as you can see on jsfiddle: http://jsfiddle.net/8899x/87/ ) my horizontal menu and the submenu. I would like to leave the submenu opened when ...
0
votes
1answer
687 views

Bootstrap menu - make menu entries with submenu not clickable

I am currently developing a new WordPress theme employed on the basis of twitters bootstrap build. To use the menu Custom Navbar, I've followed the instructions of goodandorgreat. ...
2
votes
2answers
604 views

Organizing by super-categories (or nested categories)?

Suppose I want to blog about three somewhat unrelated main topics: Money, Languages, and Information-Technology on the same blog. How should I organize things for the best user experience? How does ...
0
votes
2answers
2k views

Get custom post type categories to show up in menus

I'm wondering how it's possible to add custom post type categories as an option to add as a navigation menu item. What I have: $portfolio_args = array( 'labels' => array( 'name' => ...