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

When I click a custom menu link, how do I make it update the URL in the browser to the external link?

I have created a "custom link" under Menus. The problem is that URL in the browser retains the Wordpress URL ( http://blog.tabsonrahm.org ) instead of the linked URL ( http://tabsonrahm.org/about ). ...
1
vote
1answer
855 views

Bulk Custom Menu and Wp-Ecommerce

I have to add a lot of items in wordpress menu (lot of 2nd level items) is there any bulk menu item creation method available to do it ? is there any way to add wp-ecommerce categories in wordpress ...
0
votes
1answer
102 views

Highlighting top level link when viewing one of it's sub-pages, which are not linked in the menu

I have a page that is not linked in my custom menu. This page has a parent page, which is linked in the custom menu. If I go to the "not-linked" page, I want to to highlight it's parent page link in ...
0
votes
1answer
324 views

Admin menu success message

I have created a simple admin menu that allows users to enter in some basic information that is stored in the footer. When they click save the url appends &settings-updated=true Is there a way, ...
0
votes
1answer
1k views

Trouble highlighting correct menu parent with wp_nav_menu classes while viewing “single posts”

I just updated a menu on a site of mine to utilize wp_nav_menu. Setting this up with WP was fairly straight forward however I've run into one small snag with the the way wordpress is outputting its ...
1
vote
1answer
449 views

How do I access the menus produced by Dashboard > Appearance > Menus

A continuation to this question: Replacing WordPress menu functionality with a plugin Since I really rarely work with WordPress (I've done a lot of work with phpBB, myBB, Concrete5, and custom PHP ...
1
vote
1answer
445 views

Replacing WordPress menu functionality with a plugin

I asked this earlier on StackOverflow.com before realizing there was a StackExchange specifically for WordPress. Here is the link to the old question (for moderator deletion): ...
0
votes
1answer
1k views

Custom menu with categories and tags

Basically I need a custom menu consisting of two level. Top level will consist of available categories, possibly with added feature that each category name is follow by the number of posts in that ...
1
vote
2answers
971 views

global menus made from master site's custom menus wpmu network

I'm looking into a way to have global menus across my network of blogs. Basically I am using wordpress as a CMS - the purpose of the network is actually to ringfence content. The sub blogs will be ...
0
votes
1answer
404 views

Can I output a custom taxonomy as a submenu in the site navigation menu?

I'm building a WP 3.2 site with a couple of custom post types and taxonomies. I'm calling one of these custom post types programs, and its associated taxonomy is called topics. I'd like to add an ...
0
votes
1answer
165 views

I cannot include a file in my plugin settings page

I'm trying to create a settings page. If I print things within index, I can see it. If I try to include it, I can't see anything, neither errors. add_options_page('My Plugin', 'My Plugin', ...
1
vote
1answer
1k views

Show Home Link In wp_nav_menu but only on primary menu

This function adds a home link into my nav menu, but it is added to 3 other menus I am using as well. I don't quite understand where to add code to only display in my primary nav. function ...
0
votes
2answers
458 views

Active Menu Highlighter with Subpages?

my question is... I have 2 pages & 2 subpages in each page. like: page1 -->subpage1 -->subpage2 page2 -->subpage1 -->subpage2 & my Menu is Page1 page2 Now if i select ...
-1
votes
1answer
216 views

How to highlight current menu bar base on the URL?

================================== Home Contact About ================================== For example, The menu should looks like ================================== Home Contact About ------- ...
0
votes
1answer
1k views

finding menu hierachy > wp_get_nav_menu_items

Hi I am building a menu using the code listed here. http://codex.wordpress.org/Function_Reference/wp_get_nav_menu_items Is there a way to suss out the menu hierarchy. As i can not debug this, it is ...
1
vote
1answer
382 views

How to append to menu items selectively

I'm making this wordpress theme, and I need to create a menu that is vertical but its submenus are horizontal, like this: MenuItem SubmenuItem | SubmenuItem AnotherMenuItem SubmenuItem | ...
0
votes
1answer
127 views

Why isn't the Settings API designed to work for plugins using custom admin menus? [duplicate]

Possible Duplicate: How should one implement add_settings_error on custom menu pages? The Settings API offers all sorts of labour saving features and future proof code. I find it really odd ...
1
vote
1answer
232 views

Second menu not showing

I am running WP 3.2.1 on a dedicated server and having a little trouble with a second menu. I have a menu at the top of the page which is working fine but I've added a secondary left menu to the left ...
-1
votes
1answer
151 views

Menu in widget with yahoo style

I would like to know the procedure to put my categories in the left menu on the widget in the same style of yahoo I like this style: ScreenShot-> ...
0
votes
1answer
380 views

Make a menu item unselectable

I'd like to make the main menu selection for some menu items not selectable. For example, I'm doing a resume and I have a "Work History" page with "Job 1", "Job 2", etc. as children. I'd like to be ...
1
vote
3answers
226 views

How do I apply a class to custom menu items based on user roles

I have a members section on my site and they see specific custom menu items. I'm seeking a way to simply apply a star to the <li> based on it's permission level and what the user's role is. ...
0
votes
2answers
245 views

Disabling tooltip on menu items

For some reason, my menu items are showing tooltips on hover-over- In other words, the menu links have "title" attributes being added to them. Looking at my other, older WordPress sites, this is not ...
0
votes
1answer
142 views

Add user managable titles to custom menus?

I am looking for a way to include a user managable title in a menu. Ideally, it will take the place of the first <li> object in the output. Any ideas? Edit Clarification I am looking for a ...
0
votes
2answers
250 views

Check if has pages?

So hard to find this info... I'd like to know a way to find out if there are pages. Something like: if (has_pages()) { /* do something */ } I can't find a reference to any similar function... how ...
7
votes
3answers
3k views

remove “edit your profile” from admin menu bar

How can I remove "edit your profile" submenu under "my-account-with-avatar" admin menu bar, while still keeping the avatar and logout?
1
vote
4answers
2k views

wp_nav_menu, add class to every nth item?

is there a way to add a class to every nth item in a menu using wp_nav_menu? Trying to create columns but need to add a 'last' class to the 3rd item. cheers! Dc
0
votes
2answers
228 views

Divide Menu into Separate Menus and Display them Side by Side

I'm having problems saving a large menu. I keep getting a 500 Internal Server Error. I'm using WP 3.1. I use a HostGator dedicated Linux server and the Superb theme. I have a menu with 4 main ...
0
votes
3answers
2k views

500 Internal Server Error when Trying to Save Menu [closed]

I've got a few dozen pages in my menu. When I try to add new pages to the menu, then Firefox gives me the "connecting" message int eh tab and it eventually stops after a few minutes and gives me an ...
1
vote
2answers
732 views

Custom settings disappear during database migration?

I've noticed a problem that pops up occasionally when moving a WP install from one place to another (usually the same server.) I copy all the files to their new location, get a mysql dump, update all ...
0
votes
3answers
455 views

Dropline menus — seperators between children only?

I'm working on a custom dropline menu using wp_nav_menu. Using wp_nav_menu( array( 'theme_location' => 'primary', 'after' => '|' ) );, I can put separators after every item. However, I'm only ...
0
votes
1answer
2k views

How to set up suhosin.ini for unlimited menus

On my custom menus page, I'm getting a limit (e.g. the users cannot add more menu items). I have done some research and have found that my suhosin settings may not be allowing wordpress enough memory. ...
0
votes
1answer
332 views

Getting the WordPress custom menu titles and outputting them in a theme

I have created a number of custom menu slots in my WordPress theme, and the output of the links into them has been very easy. Unfortunately I cannot find a way to output the user entered title for the ...
1
vote
1answer
141 views

Wordpress Custom Menus Issue

In my template I'm using calls like this to output some custom menus: <?php wp_nav_menu(array('container_class' => 'secondary-navigation', 'theme_location' => 'secondary')); ?> Ever ...
0
votes
1answer
472 views

Second Level Menu

I'm trying to figure out how to do, Second Level Menu as a template function, that persistent when visiting any level, whether its a top level page, or a grand children Page. Any Ideas?
1
vote
2answers
2k views

Filter out built-in wp_nav_menu classes but keep custom class

Im trying to remove / filter our all the classes from the wp_nav_menu, EXCEPT the custom ones that i insert (in the "CSS Classes (optional)" field) when creating the menu in the admin. I found a ...
0
votes
1answer
259 views

Using front-page.php need new blog page

I'm using front-page.php to generate a static frontpage for a Web site I'm working on. I can't seem to get Wordpress to display the blog posts on any other page. I tried creating a custom template to ...
0
votes
1answer
163 views

menu in different page in different style

I have a one column page for the home page where I have a mega menu and in side the site there is another page called about us where the mega menu is present but it is in small format just like it ...
0
votes
4answers
318 views

How to set classname for <li> tag in wordpress menu?

I am using. <?php wp_nav_menu($args); ?> to get menu from WordPress. It returns the menus with <ul> and <li> structure. How can i set class name for every <li> tag ...
1
vote
4answers
1k views

How to set classname for <li> tag in wordpress menu?

I am using. <?php wp_nav_menu($args); ?> for get menu from wordpress.it returns the menus with <ul> and <li> structure. In that i need to set class name for every <li> tag ...
0
votes
1answer
691 views

Dynamic User State & City selection

I need to implement a state-city selection for my users to choose from. Where they first choose their state and then there is a city drop down field that shows only the cities in that state. ...
3
votes
3answers
7k views

Query menu_order custom post types

I added 'supports' => 'page-attributes' to my custom post type, and now i have the meta box for page ordering. When i use the argument 'sort_column' => 'menu_order' with get_pages() on my ...
0
votes
1answer
123 views

How to substitute old wordpress menu by wp 3 menu the right way?

I have a wp theme with this menu in header: <div id="header_nav"> <ul id="nav" class="clearfloat"> <li><a href="<?php echo get_option('home'); ?>/" ...
1
vote
2answers
553 views

How can I automatically add child pages to pages in a WP menu?

In the WP menu creation GUI there's the Automatically add top level pages option. I would like to do the opposite, for any page that is in the menu, automatically add it's child pages. Is there a way ...
2
votes
1answer
357 views

how to assign more permission to wordpress author

I have installed jw player plugin so that users of my site could upload their videos. Right now, admin can only see jw player menu on the admin panel and he can only upload videos and use this plugin. ...
2
votes
5answers
734 views

How do I highlight the menu for a child page?

EDIT: This used to be How do I force a page to be is_archive == true? I was trying to solve the wrong problem. Instead of forcing the post/page to have a particular attribute, I should have ...
8
votes
1answer
4k views

add custom class to wp_nav_menu using filter hook nav_menu_css_class

I have a custom post type in my wordpress theme. I want to add a custom class to the nav menu for the pages created in that custom post type. I read that you can use a filter hook: ...
1
vote
1answer
94 views

Operable default menu *and* custom 3 menu

OK, this is a basic question...I'm upgrading a theme I built (from scratch) to support 3.0 menus (finally). With the new wp_nav_menu tag, as expected, the tag's default container is added when a ...
0
votes
1answer
415 views

wp_nav_menu and its fallback

When I use wp_nav_menu(array( 'theme_location' => 'mainnav', 'container' => 'nav', 'container_id' => 'mainnav', 'container_class' => 'clearfix', 'depth' => 4 )); ...
1
vote
1answer
92 views

Change name & menu_name for Profile in the default menu, w/o altering core files?

I want to change the name and menu_name of the profile menu in the default menu without altering the core files.
1
vote
2answers
1k views

Show recent posts in menu?

I'm building a menu which contains categories. Is there a way to make each menu option show a list of recent posts in that category when you hover over it?