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.
0
votes
1answer
165 views
wp_nav_menu check both hierarchy fail?
I see that in menu exist to kind of hierarchy to find the parent and ancestor.
They look for "category or page" hierarchy or for "menu item" hierarchy.
But when both exist in a depth tree branch, ...
1
vote
1answer
307 views
Add the current menu item CSS class to a custom page type archive in Wordpress menu
I've been reading a lot about this but couldn't find a solution.
Basically I'm trying to show a current menu item on a dynamic page that is created by a custom page type archive.
The default menu ...
2
votes
2answers
117 views
How do I make a wordpress plugin with menu item etc
I've been reading documents, viewing videos, etc. on how to create a Wordpress plugin. I've learned how to filter a post, add txt to a post, use conditionals to see if the page is a single post as not ...
1
vote
1answer
140 views
Return Page/Post ID's of Child WP_Nav_Menu items
Is it possible to return the Page ID of menu items?
I specifically looking to get the IDs that appear in a rollover submenu.
0
votes
1answer
76 views
Delete a specific item menu when I deactivate my plugin (resolved)
When I activate my plugin (register_activation_hook), I add a new specific page and a corresponding item menu in the custom menu. No problem here.
When I deactivate my plugin ...
0
votes
1answer
899 views
Responsive dropdown menu with smaller screen sizes
Working on a theme template and trying to make the menu responsive, so that it will change from a horizontal layout into a block format at a certain screen resolution. I have tried one tutorial which ...
1
vote
2answers
204 views
Create dropdown list post
I want to create a drop down list that will list all the posts in the category. I want the drop down list to appear on every post. So for example if I view a post that belongs to category Apples it ...
2
votes
1answer
165 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 ...
...
12
votes
1answer
948 views
add_menu_page() with different name for first submenu item
The add_menu_page documentation says to pass the menu title as the second parameter:
add_menu_page('Page Title', 'Menu Title', ...);
When adding more pages later via add_submenu_page, the main page ...
1
vote
1answer
1k 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 ...
0
votes
0answers
6 views
Highlight special menu item [duplicate]
Possible Duplicate:
How to style a specific nav menu item?
I want to highlight a certain menu point. What is the best way to do it?
Of course I could take the id of the menu point and ...
0
votes
1answer
98 views
How to insert date in topNav
In my theme i have a menu on the top of the page where i've links for my pages, this is the line of code in the header.php that generates topNav,
<!-- BEGIN HEADER-TOP -->
<?php ...
0
votes
1answer
16 views
All my menus are empty and I cannot add a new one [closed]
My menus suddenly are all empty. I create new ones and insert entries but none appears.
Did something break?
0
votes
1answer
311 views
wordpress 3.4.2 + wp_nav_menu + chunk theme not working [closed]
I'm trying to create a page for each of the categories i got in my blog and it should appear on the menu i got in Chunk theme.
the idea is to have a link to each of the categories which would guide ...
0
votes
2answers
179 views
Multiple menu items highlighted
I am using WordPress as the CMS for my website. For my navigation menu, I am using WordPress' inbuilt navigation menu function. You add categories, page, etc, to this and it generates a list with ...
1
vote
0answers
111 views
Custom Post Type Nav to Subpage
I've registered a post type for an audio plugin, the post type is "Custom Players" in the admin and has its own tab on the admin sidebar.
I'm just curious if there's a simple way to move this out of ...
2
votes
1answer
161 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)?
0
votes
0answers
205 views
Cannot Create/Save menu in WordPress 3.4.2 [closed]
create/save menu was working fine before, but now it is giving following error/warnings
Warning: Invalid argument supplied for foreach() in /home/usr/public_html/wp-admin/includes/menu.php on line ...
1
vote
1answer
42 views
cross-site custom menu
i have a multisite whice i want to separate because its unneccery as two of my sites are on the same DATABASE and all i need is actually the dynamic custom menus which i have built in the main site(to ...
1
vote
1answer
188 views
Different side menu on each page
Does anyone have a solution how to have different side menus on different pages?
Do I need to create template for every page?
I've registered many nav_menus in functions.php and than used pages ID as ...
1
vote
1answer
18 views
Using a page as home, how do I prevent nav from setting both home and page links active?
Let's say we have a site with four items in a managed menu, corresponding to pages:
Home | Foo | Bar | Baz
The "Home" item is a custom link pointing at "/".
And we want the "Bar" content shown ...
1
vote
0answers
194 views
wp_nav_menu custom walker - child items
I have written a custom walker to integrate a jquery dropdown nav script into my wp template. I need to add .dropdown-link to each of my parent menu items and .dropdown-wrapper to the unordered list ...
0
votes
1answer
473 views
highlight parent page menu item when in custom post type
in a website that I am building I have a portfolio custom post types (called: "project") to show my portfolio items.
The page that holds the loop of the custom post type is a custom page called ...
0
votes
1answer
543 views
Setting parent menu item href to javascript:void(0) [closed]
Ok, worked out how to do it, but wanted to know if this is the preferred method of doing it or if there was a better way.
What I have is this..
<script type="text/javascript">
...
0
votes
2answers
609 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 ...
2
votes
1answer
76 views
Menu items id's - are they 100% unique?
With regards the menu item id's WP generates such as menu-item-814, are these 100% unique in nature?
I know they are unique at the time, but are they always unique? Meaning that if I was to delete ...
0
votes
1answer
144 views
How to make a plugin auto-add item to nav menu
I'm building a contact information plugin that writes data to a page. So far, so good. What I would like is to build a function into the plugin that adds a navigation item to the main nav bar on the ...
0
votes
1answer
904 views
How to style a specific nav menu item?
I have a site, which now have a new registration form and I want to highlight it by blinking the menu item. you can see the site here.
I wan to blink "Registration for seminar" item. I am using ...
0
votes
1answer
120 views
Menu disappears after attaching [closed]
When I go to [Appearance > Menus] and attach menu to its area and refresh that page it disappears. This happens only on one WordPress theme (but not on default).
Do you have any ideas what could ...
1
vote
1answer
221 views
Hide Menu items base on capability
What is the best way to add/remove items for the wp_nav_menu() based on user roles?
For instance a custom menu that looks like:
Some Page
Some Other Page
Special Admin Page
Where the Special ...
0
votes
2answers
135 views
Fake mark a menu item as current_page_item/active in Wordpress
I have a custom post type called Books and a page structure like this:
Home
Products & Services
- Services
- Products
-- Books
I am using Wordpress custom Menus for the 1st level navigation ...
1
vote
1answer
64 views
Where do I add html code to the menu div?
When looking at header.php, I see the following line:
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
That function is defined in nav-menu-template.php and generates the ...
0
votes
0answers
27 views
Styling Navigation [closed]
I am having trouble styling my navigation specifically the sub nav. Does anybody know what I need to target to style the drop down menu? I would like for it to align left so that the borders match up ...
0
votes
1answer
67 views
Custom Menu in Admin doesn't change menu in browser
i've just begun participating these stack overflow forums yesterday and had a great experience with someone who could problem solve with me. working from the admin panel under the themes tab i have ...
1
vote
0answers
193 views
Single custom post type's menu ancestor/parent is Posts archive page
I have created a theme by copying twentyeleven default theme.
I have also installed a module Custom Post Type UI and created a custom post type called "Book".
I have gone to Settings -> Reading ...
0
votes
2answers
100 views
Replace the slug of parent pages with # [closed]
I'm creating a Wordpress site with a Superfish CSS3 / Jquery dropdown menu, complete with hoverIntent as displayed here:
http://users.tpg.com.au/j_birch/plugins/superfish/#examples
As far as I can ...
1
vote
1answer
51 views
How can I add items to the menu via the PHP file?
I run a membership site and I want to add a tab to the navigation menu that says, "My Subscriptions" and then add certain pages to that tab, which will be specific for each member depending whether or ...
0
votes
0answers
1k views
Embed custom menu into page [closed]
Is there a plugin out there or a certain way to embed a custom wordpress menu into a page?
4
votes
2answers
951 views
fall back for main menu?
I am new to WordPress, and am still trying to learn the in's and out's in much respect to this well known CMS.
I am wanting to know, if I should or must have a Fallback for main menu?
This is what I ...
0
votes
2answers
432 views
Nav menu items disappearing (but not immediately)
I'm working on a site where some of the nav menu items disappear (from the front end, the back end, and the database). However, debugging is extremely difficult since they don't disappear immediately! ...
1
vote
1answer
63 views
Output menu navigation in php file
I have a WordPress site which generates a menu at the top of the page with this:
<?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
This ...
0
votes
1answer
47 views
What is the $menu parameter used of in wp_nav_menu()?
I have a theme where I register multiple menus in function.php. All menus have a unique name and a simple description (we just use the name of the theme so they all have the same desc but thats ok).
...
0
votes
1answer
111 views
changing theme folder name breaks menus - twentyeleven
I needed to change the twentyeleven theme folder name, so I activated the default theme, changed the twentyeleven folder name to X, then reactivated it. Everything worked except the menus were all in ...
1
vote
1answer
159 views
Best way to customise wp_nav_menu [duplicate]
Possible Duplicate:
Menu items description? Custom Walker for wp_nav_menu()
I'm familiar with WordPress and using the WordPress menu system. But I'm looking for a way to add custom HTML to ...
0
votes
2answers
697 views
Adding html elements to wp nav menu
I know how to create wp menus using the functions.php and diaplay it in my sote wherever the menu is required (e.g top menu, footer menu)
I even know how to style it using custom CSS.
I would like to ...
0
votes
1answer
28 views
Custom menu: Link names
I would like to build a wordpress theme with a custom menu (no dropdowns, nothing fancy). I am trying to get wp_nav_menu do what I want, but I can't quite see how to achieve the following.
I would ...
0
votes
1answer
43 views
Show posts of parent in edit.php
I'm creating a post type for a site where there 4 main 'parent' pages in a custom post type. For the sake of argument the post type is 'schools'
the 4 (of many) parents are:
Cambridge
Teesside
...
0
votes
2answers
537 views
Blending Foundation's Tabs with Wordpress Nav Menu & Display Active Tab
I am currently working with ZURB's Foundation Framework. It's a terrific framework and my project is coming along a lot nicer and quicker than it would have beforehand. Foundation comes with ...
0
votes
1answer
150 views
Wordpress Menu - creating a fake link [closed]
I like to create Web site mockups for clients using Wordpress. Typically I will only create the landing page and a believable navigation menu. To keep from creating extraneous pages I will create a ...
-1
votes
1answer
165 views
highlight parent page on menu when child page is on sidebar (and not on menu)
i'm using twenty-eleven, i have on the menu 4 items : Home, About us, Contact, Clients
it's a custom menu. The site currently is on localhost, so no preview is available. However i haven't put the ...

