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
419 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), ...
1
vote
2answers
424 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 ...
0
votes
1answer
1k views

Horizontal drop down category with hover effect working

It will be difficult to explain what I need in words, so please see a live demo of the horizontal navigation menu here, http://cn.wsj.com/gb/index.asp I want to replicate it for wordpress categories. ...
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
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 ...
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 ...
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
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
1answer
134 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
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
595 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() { ...
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
309 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
396 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
251 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
3answers
534 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
632 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 ...
0
votes
1answer
833 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 ...
1
vote
1answer
181 views

I'm having a lot of trouble since upgrade to 3.0.1 with get_page_children() function

I use the get_page_children() function to create a sub_nav for a designer client I do work for. She uses the Spry Assets flyout JS that DreamWeaver creates, so I have to manually do the menus like ...
0
votes
1answer
921 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 ...
1
vote
1answer
2k views

Image as a link using wp_nav_menu()

In creating a custom navigation menu in TwentyTen ( WP3.01), is it possible to make an image a link to a page on the same site, using wp_nav_menu() ? Is it the case that wp_nav_menu() echos or returns ...
1
vote
1answer
468 views

How to specify or extend the CSS-class of a menu item?

is there a way to allow admin users to add classes to individual menu items in the back end? we have done some individual javascripting and CSS using the title tag, but that is not flexible as it is ...
0
votes
1answer
391 views

Placing Admin Post Metaboxes in Tabs

I am looking for what code one would need to add into the functions.php file which would allow specific metaboxes to show up in tags instead of within their individual metaboxes. Can anyone help with ...
0
votes
1answer
138 views

Create a url structure for my blogs based on categories and sub-cats

My blog design heavily relies on categories and sub-categories. I would like the url structure to be dependent on that. How can I make the url's support the same? I would like it to be like: ...
10
votes
2answers
9k views

Generate a Menu that Displays Child Pages using wp_list_pages() with the New Menu Functionality in WordPress 3.0?

Previously, I was able to selectively load child pages for a currently-selected parent page using logic such as: if( $post->post_parent ) { $children = ...
0
votes
2answers
544 views

Archives and Categories in Custom Menu

What is the easiest way to place the Archives and Categories lists within my menu under a parent tab. I'd like both of the lists, such as "Archives" leading to the "archives" sub-menu, and the same ...
1
vote
1answer
172 views

Menu API not switching menus?

I am using the menus API, and I want to switch to a different menu, but it is holding the first one for some reason Here is my code in functions.php add_action( 'init', 'register_my_menus',10 ...
0
votes
1answer
942 views

menu doesn't show in different languages

I have a custom menu on a site with multiple languages (WPML plugin) The menu is not being displayed in any languages other than native. Can the menu be translated? Can the menu be shown in all ...
0
votes
2answers
137 views

Thesis -style Navigation

I am working on a theme where I would like users to be able to select pages to show in the theme options page much like Thesis. I've been Googling / reverse engineering Thesis for a couple hours but ...
3
votes
1answer
759 views

How to Programically add to the new WordPress menus

Pre WordPress 3.x I was using: add_action( 'init', 'product_register' ); add_filter( 'wp_page_menu', 'custom_page_nav', 90 ); function product_register() { // register_post_type( 'product', ...
4
votes
1answer
289 views

Is there a way to limit the number of top level items in a custom menu?

I wish to implement the wordpress 3 menus API in a client site, but the designs has restraint on the width of the top level menu items. How can I be sure the client won't exceed that limit?
2
votes
1answer
319 views

Where do custom menus get constructed?

I've created a simple menu in wp-admin>appearance>menus called main-nav. Works fine. However, I'd like to add a custom element to the end of the menu... a search box like the search box in the ...
1
vote
2answers
724 views

How to Move the Author Metabox into the “Publish” metabox?

About a year ago I remember seeing a plugin or some code which allowed you to add an author dropdown menu to the post "publishing" metabox instead of it being on its own. I can't seem to find this ...
1
vote
1answer
906 views

Menu with Automatic Pages Included from Custom Post Type

Question - How can one utilize the wordpress 3.0 Menu system to automatically have new pages from a custom post type included within the menu (I am referring to the Menu Management area of wordpress ...
0
votes
1answer
109 views

Custom theme - pages in menu

I am glad for the opportunity to be a member of this community. Lately I decide to start learning wordpress and theme building so this is my first post here. I read some tutorials around the net about ...
0
votes
1answer
179 views

Unable to nest categories in menu

I have an issue with the new custom menu in WP3. Suddenly the nesting of categories stopped working and even though it's possible to nest them in the UI, when I press Save, then they all go back flat. ...
2
votes
2answers
648 views

Renaming Menu Item within Admin Menu Section for a Custom Post Type?

I have a feeling this is a bug. When you create a new custom post type it does not seem possible to modify the first submenu item text. I am referring to the link which allows you to view the post ...
1
vote
1answer
120 views

How do you cope with the task of adding hierarchy to the navigation menu?

Say we got a theme with a horizontal menu that shows only the top-level pages. How do you manage with the task to make the menu hierarchical, adding subpages? Any appropriate plugins for that? If ...
1
vote
2answers
421 views

How to generate a list of child pages, and use some of their custom fields?

I have a page structure like this: -Home -Cars -Volvo 640 - Pics - Info -Porsche 911 - Pics - Info I'd like to generate a list of cars on the Cars page of all the cars (which are ...
0
votes
4answers
2k views

Listing Child Pages in a Certain Order?

I'm trying to show child-pages in a certain order, in a list. This is my code to output the pages as a list $parent = $wp_query->post->ID; ...
0
votes
2answers
120 views

Automatically going to the first page in a hierarchy?

Let's say I have a website about different types of cars. The structure is a little like this: -Home -Cars (shows a submenu with a list of cars, ie Volvo 850, Porsche 911 ) -Volvo 850 overview (the ...
1
vote
1answer
1k views

How can I detect whether a BuddyPress page is active from within my theme?

I'm trying to work sub-menus into my theme but am running into issues when navigating to BuddyPress pages (as opposed to standard WP pages, posts, etc.). Basically, what I want to do is have pages ...
4
votes
3answers
537 views

How do I add support to my theme for custom menus?

I've read a few tutorials on how to add the functionality of the custom menus added in version 3.0 to my theme but they all seem to differ somewhat, and I'm not sure whether they contain superfluous ...