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)

1
vote
2answers
820 views

How do I add (css) class to a custom link to make it current_page_item

As a custom menu item wp doesn't add the class current_page_item All other links it does? <ul class="nav" id="menu-mainmenu"><li class="menu-item menu-item-type-custom menu-item-home ...
0
votes
1answer
749 views

Ordering Submenu Pages in WP 3.1

I just recently upgraded to WordPress 3.1 a few moments ago. However, I noticed that when you have Post Types show up under a *main* menu page, it overrides the link fo th menu link. Here's my ...
1
vote
1answer
2k views

Find out if a page has no parent

Hay, have a basic menu looking like this Item 1 Item 1.1 Item 1.1.1 Item 1.1.2 Item 1.2 Item 2 Item 2.1 I'm outputting this as a list using WordPresses "wp_list_pages()" ...
1
vote
2answers
326 views

Can only get one of two custom menus to display

I'm a wordpress beginner and at the moment struggling to get to grips with custom menus. I have created two menus. Wordpress tells me the theme supports two menus. I have <?php ...
3
votes
2answers
4k views

Navigation menu with children shown only for current page

I've been playing around with Wordpress' menu functionality (wp_nav_menu and wp_list_pages) to build a menu for my site. It's coming along, but I'm still having some trouble getting the behaviour I'd ...
5
votes
4answers
9k views

Add Class to Specific Link in Custom Menu

I know you can add a class in the custom menu options, but it adds it to the LI before the A. I want to apply the class directly to this specific A rather then the whole LI. So instead of the output ...
0
votes
1answer
426 views

Is there a way to tell menu items to force non-SSL URLs?

I've got a client site which uses SSL for only a small chunk of pages where users purchase subscriptions. So, for those pages, we just make sure that any links into them have hrefs with https://etc ...
1
vote
3answers
2k views

removing <li> tags from wp_list_pages() using PHP

as the title states, I am trying to remove the <li></li> tags from the list that gets generated with wp_list_pages(). My thinking is to somehow run a for/foreach loop through the menu ...
0
votes
1answer
307 views

Wordpress menu: How to make www.link.com/#name never contain current_page_item class?

I am using the wordpress menus on a website, but the problem is that one of the links on that menu is www.homepage.com/#order So, when I am on the homepage, both "home" and "order" links on the menu ...
3
votes
3answers
8k views

Using Image Links in Wordpress Navigation Menus Instead Of Text Links

Does wordpress support the capability to use images in the navigation menus instead of text links? I searched for this capability and found a site that shows how to include images in the menu through ...
2
votes
3answers
6k views

Hide Admin menus per role in Wordpress

I am trying to hide a certain amount of menus for a client. Right now I am using the following code and it is doing its job well, but it removes it for everyone as far as I can tell. As in all roles. ...
0
votes
1answer
808 views

Is it still not possible to show separate submenu with “Custom Menu”?

Well, the title says it all. Is it still not possible to show separate submenu with the "WP Custom Menu"?
0
votes
2answers
1k views

Including link to custom post type in 'wp_list_pages' function

I am generating a navigation menu on my website using the wp_list_pages() function and I also am using a couple of custom post types with a post type archive function. How would I go about adding a ...
0
votes
1answer
912 views

Child pages don't become submenus (as in the twenty-ten theme)?

I'm using the theme Starkers which is based on twentyten. My twenty ten theme do place child pages below its parent page. But the new theme (based on Starkers) I'm developing doesn't (it just place ...
1
vote
2answers
438 views

How to set my main menu items

I am new to WordPress development, hope this is not a too stupid question. How can I setup my Menu such that it has links to Home About (Page) Blog (I think posts in all categories except Portfolio ...
5
votes
2answers
2k views

Custom Post Type Menus

I'm writing a plugin for work because our main website is being ported to WordPress eventually. I've got multiple custom post types planned for this plugin and would like to group them all into one ...
1
vote
2answers
2k views

Manage custom menu for an Editor?

I've a problem with permission. Is there a specific permission to let an user with Editor Role, manage the custom menu of a theme, and only this options? The item that is under Appereance -> Menu, to ...
2
votes
2answers
570 views

How to manually add an item to a submenu in a menu generated by wp_nav_menu?

Hey. I've been trying to figure this out for a long time but can't seem to crack it. I have created a menu using Wordpress 3 menu editor and it's all fine and working. But I want to manually add an ...
4
votes
7answers
4k 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 ...
1
vote
1answer
2k views

change front end menu depending on user login

How can i change my front end menu depending on if the user is logged in or not? For Example: View 1: user is not logged in menu is : home , about us, testimonials View 2: user is logged in menu ...
3
votes
4answers
7k views

How do I remove UL on wp_nav_menu?

I search on this site and found many answers for this question. Most of them is not working on my theme. Here is a one solution I found and it's working according to my need. function ...
1
vote
3answers
323 views

How to remove some specfic navigation links only from selected page/pages?

For example: In the client site I have 5 page 1) Home 2) product 3) Services 4) Contact us 5) Blog Only from the blog page I want to remove 2) product and 3) Services but not from other pages. Is ...
2
votes
2answers
630 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 ...
1
vote
2answers
1k views

How to change the admin menu “Pages” to something else

When one creates a custom post type you have the ability to define various elements related to that post type which essentially allow you to define things such as the menu title, "add new post" text ...
1
vote
2answers
1k views

How do I remove the link element from the current page in a wp_list_pages menu?

WP makes a list of links, and helpfully applies a current_page class, but I'm concerned with the accessibility issues of a link to the page you're on. Normally I'd swap the <a href etc with a ...
0
votes
2answers
2k views

Limit User Iinterface for Admin?

Is there a plugin or a way where I can restrict or limit the buttons on the admin interface for a certain user? For example: for the user who has a role of a writer, he/she can only post content, ...
0
votes
2answers
3k views

WPML Plugin Not displaying multilingual Menus

I'm using WordPress 3.0 Menus, which the WPML (wordpress multilingual) plugin claims to have added support for in a recent release. I am using the most current version of the plugin. My problem is ...
0
votes
1answer
136 views

Wordpress Menu options in the Admin: Posts for the dropdowns

Under Appearance > Menus I seem to be able to add Categories, Pages, or Custom Links as my menu/sub-menu dropdown items...but I can't add posts. I would like to have posts in my dropdown (posts of ...
0
votes
2answers
321 views

Creating Multiple Menus in the Thesis Theme?

How can I add three menus to the Thesis theme? I want a menu above the header image, one below the header image and one in the footer. A neat step by step instruction like this for Twenty Ten would be ...
0
votes
1answer
106 views

Why do sticky posts show in this menu?

The code below writes out a list of the most recent posts. However, it does not appear to be skipping over sticky posts although I'm using 'post_not_in' => get_option('sticky_posts'). What am I ...
0
votes
1answer
644 views

How do I add a custom sublevel menu specified in one directory to a custom top level menu specified in another directory?

I'm working on a plugin that constructs a top level menu and resides within its own directory in /wp-content/plugins. For example, the plugin looks like this: function main_menu() { ...
5
votes
3answers
728 views

Can I display submenus in groups, using wp_list_pages?

Say I have top-level(parentless) pages called Fruit, Animals, Cars. When, say, Fruit is selected I would like to show links to the individual fruit pages below. I would like to be able to dislpay ...
0
votes
3answers
230 views

Two-tone menu items

wp_list_pages seems to print out menus ok, but is there a way to alter the functionality so that i can display the menu in two colors..? So, if the titles of 3 actual pages are: Big Cinema * Monaco ...
3
votes
1answer
316 views

How to implement separate sub-menus?

I want to implement two menus that work like this: Cars *Animals <-selected Recipes -- Bear *Dog <-selected Cat So the top menu in the main menu, the the menu below is the ...
3
votes
2answers
402 views

How to highlight the right item in the navbar

In my site i have a navbar which is created by using the new feature of wordpress 3 - "the menus ".In my site this navbar conatins both categories and pages. When I'm in a single post / sub-page , ...
1
vote
1answer
253 views

add JS to multiple plugin admin pages

For a WP Theme with multiple admin screen (got its own main menu and some submenus), I want to add a common Js script to load on (only) all these pages. I know how to acheive this using the pagehooks ...
0
votes
1answer
656 views

Making a horizontal flyout menu from WordPress category listing

I'm looking for some options for creating a horizontal flyout/rollover menu from the WordPress categories listing when category items have child nodes. Ideally, all in css, but I can include ...
0
votes
3answers
539 views

Exclude all pages except a few?

I have a bunch of pages and I only want to include 2 or 3 pages on my main menu. How would I do that? Currently my code looks like this: ...
1
vote
1answer
664 views

Controlling Taxonomy Category listings to hide and unhide specifics

I have a vertical menu using the superfish script that shows categories in a custom 'productcategory' taxonomy. This menu has multiple levels, and is hierarchical.At the bottom of each branch of the ...
1
vote
2answers
2k views

Set menu active state for custom posttype and category, given custom taxonomy term

How to set the menu active state for a custom posttype and category, given a custom taxonomy term? I have a custom taxonomy: region, a custom posttype: business, and use the categories taxonomy. My ...
0
votes
1answer
206 views

sub.menu's not working

working on a wordpress install that is in a subdirectory of another wordpress install (( thecloud99.info has wp in the root )) there is a folder in the root called clients w/ another wordpress install ...
0
votes
2answers
801 views

Add a “has-children” class to body tag?

I need to add a "has-children" class to the tag if the current page's or post's menu item in fact has children. As this "logic" has to work with Pages, Posts, Categories etc. menu items it seems it ...
0
votes
1answer
886 views

How to automatically generate custom menu item from categories?

I would like to display all my category items under a single parent but I failed to do so now I'm creating a new menu link for each category and dragging it into place in the custom menu screen. Is ...
0
votes
1answer
427 views

Can't create a SubMenu

Hi everyone I have created a new WordPress blog at http://www.shanytopper.com and I have a problem. I am using a wp_nav_menu for the main menu in mywebsite (I added the suppert to the theme myself), ...
0
votes
3answers
1k views

Three menus - parent / child / sibling

Firstly, apologies for the terminology used here, I will try to be as descriptive as possible. I am trying to create a menu system that will achieve the following: List top level pages as one menu ...
3
votes
2answers
922 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 ...
0
votes
1answer
1k views

Adding Pages to Menus - No Page Hierarchy in Backend [duplicate]

Possible Duplicate: How to add a custom metabox to the Menu Management admin screen? In the backend of Wordpress, under Appearance -> Menus it allows you to add different post types by ...
1
vote
3answers
284 views

Default menu editor with automatic page list

How can I add a page to the menu and define for the menu item that all subpages should be included by means of a simple checkbox?
1
vote
2answers
4k views

How to add (css) classes to only one wp_nav_menu()?

Edit I removed the original Question as this Q has far above 1.000 views now - which means it's important to a lot of people - to show you something that works a) without a custom Walker & b) is ...
0
votes
1answer
932 views

Creating menu and breadcrumb “sections” within Wordpress 3 being used as a CMS

I am implementing WP as a CMS for my church's website. This is the first WP install where I'm doing a lot of the custom coding myself instead of just finding plugins and a stock theme. As I am a bit ...