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
149 views
Give child-categories same class (the parent category-slug) as parent in menu list?
I am trying to do two things, which I have no idea how to do:
give child categories the same class as the parent category (which
is the parent category-slug)
create a menu which displays my ...
0
votes
0answers
68 views
Menus aren't displaying in navigation bar in Chunk Theme [closed]
I'd like to create custom drop-down menus on the navigation bar where I could then nest particular posts that belong to particular categories.
For example, I'd like to have a "Personal Style" menu ...
0
votes
2answers
92 views
Creating “static” taxonomies to choose from, inside custom post type?
Alright, so i have a custom post type called Blurbs (translated, sort of). I want to add a static set of categories for the posts within Blurbs (i don't want the user to be able to create custom ...
0
votes
1answer
743 views
wp_nav_menu - show children of current menu item only?
I am trying to create a menu structure with a simple concept:
A horizontal, 1-level deep main menu
A vertical submenu, that contains children of the current main menu item (2 levels deep)
Of ...
0
votes
1answer
30 views
Two pages named the same thing, on a different level but conflicting url paths in menus and direct links
I've just changed some titles of pages and child pages around, simply I've got Work as top level page, and Blog as a top level, with Play and Work as children.
The paths are:
/work/
and
...
1
vote
0answers
54 views
How to create a Menu based a username
How would I create a menu so lets say user1 sees user1's menu and not user2.
or just see there own pages which I assigned to them in a menu.
So not user role menu but a username menu.
i know it ...
1
vote
1answer
81 views
pull non-wp site into content area of wordpress -or- pull wp header into non wp site?
I am building a site which has a ecommerce nature that is not able to be tied directly into wordpress. What my goal is to have a constant header that is generated by my wordpress header on all pages ...
-1
votes
1answer
73 views
Navigation won’t update to show full path to single post
I have a site with a custom post type “projects” and two taxonomies “clients” and “mediums”. For the navigation I’m using a custom nav walker (that extends Walker_Nav_Menu). This all works very well ...
0
votes
2answers
117 views
Custom ID for certain menu item?
I'm displaying Wordpress menu using this function:
wp_nav_menu( $args );
Menu is set in wp-admin/nav-menus.php.
Can I somehow attach ID of my choice to one of the items? I want the menu to look ...
1
vote
1answer
109 views
Add a class at specific element in custom Menu Walker
I have customised my menu in wordpress by extending the Nav_Menu_Walker class and now i cannot figure it out how could i add a class at a specific ul element. I have this function which adds classes ...
0
votes
2answers
85 views
Theme only supports one menu? [closed]
I would like to use the main menu but also have a menu in the footer for things like
about, career, etc.
Am I fubared foobared or can I do this?
1
vote
1answer
137 views
Exclude Private, Draft pages from Primary Nav when using custom menu
I'm looking for ways to prevent "private" and "draft" pages from appearing (to non-logged-in admins) in a site's Primary Navigation menu which is based on a custom menu - other than manually removing ...
1
vote
1answer
56 views
Creating Menu with Wordpress
I am not very familiar with WordPress so my knowledge with this is limited. I am working on a travel website where I need to show navigation menu and I am not sure how I can achieve the desired ...
-1
votes
2answers
51 views
Custom menu is not displayed, regardless of theme [closed]
I've got a WP 3.4.2 site running on a HostGator server using a theme called Blogolife. Everything's working fine, except that the facility to use a custom menu is broken. If I go into Appearance > ...
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
312 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
119 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
145 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
77 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
905 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
974 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
99 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
182 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
191 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
19 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
196 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
482 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
548 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
620 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
148 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
935 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
121 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
228 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
28 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
68 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 ...
