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
222 views
How to add an <img> tag when a menu item is a dropdown(or has a sub-menu) [duplicate]
Possible Duplicate:
Adding a class (arrows) to main menu links that have children?
I have two, very basic css dropdowns in my menu. I want to be able to add an arrow next to the dropdowns ...
0
votes
0answers
12 views
wp_nav_menu some menu items disappear on category page [duplicate]
Possible Duplicate:
wp_nav_menu not appearing correctly on category page
i am running Wordpress Version 3.4.1
the menu appears perfect on home page and single post pages, as seen here: ...
0
votes
2answers
533 views
wp_nav_menu not appearing correctly on category page
this is the code i am using to call wp_nav_menu
<?php
wp_nav_menu(
array(
'container_class' => 'menu-header',
'theme_location' => '',
...
0
votes
1answer
168 views
if is_home(), change class of menu-item-225 of wp_nav_menu
Thanks for taking the time to check this out. I know it's outdated, but I'm using Wordpress 3.2.1.
I have a Custom Home Page - where I created a Page for it and titled it as my Home Page with the ...
0
votes
1answer
104 views
Menu Custom link - using relative link when WP is in a subdirectory
I tend to develop sites in a subdirectory, and I tend to use a fair amount of custom links in my menu ( the "Custom Links" option in the WP admin Appearance > Menus section) to display archive pages.
...
0
votes
1answer
73 views
Nav Menu Display
Hi I'm wanting to create a custom navigation menu that will require creating 2 div containers to hold the SUB-MENU set. In other words I want to do this:
<div id="access">
<div ...
0
votes
1answer
503 views
Category menu item and its last 10 posts as sub-menu
i have some posts categories as element of a main navigation menu, and i'd like to display the ten lasts posts of this category as sub menu.
ex: Category1
Lastpost1
Lastpost2
The ...
0
votes
1answer
201 views
add span to wp_nav_menu widget
Am using the custom menu widget to add a menu in the footer and i want to add a in the menu how can i do this ?
like so...
<li><a ...
0
votes
1answer
132 views
Auto Filled Custom Menus for Custom Post Types?
Is there anyway to have custom menus that fill out automatically, specifically for custom post types?
You can do it for default pages but nothing else it seems...
For example you have a page which ...
0
votes
1answer
43 views
Remove “Next Post” in nav_menu
I am creating my custom navigation menu with background-images. The menu items have a title from the Page, and that title is displayed above my background image, which is not what I want because the ...
0
votes
1answer
208 views
To Add Logout Button in Menu [duplicate]
Possible Duplicate:
How to use logout function on custom menu link?
I want to add a logout button at very last of my nav.. I Found a function
// functions.php
function ...
0
votes
1answer
157 views
Add tabindex to navmenu
I would like to submit a "tabindex" attribute in a navmenu structure. The default options do not allow me to do it.
0
votes
1answer
355 views
remove everything from wp_nav_menu
My theme has three 3 menus: two that are dropdown menus and one that is different. I want to remove the div, class, etc. from the menu that is different.
For Example:
I have three menus
topnav ( ...
0
votes
1answer
48 views
How to check if the Menubar contains no items?
I'm using the Menubar plugin to place a menu at the top of my website. However, I need to find a way to check if the menu contains items or not. My menu is called 'menubar'. Currently, I'm loading the ...
0
votes
1answer
187 views
Display link with current user's username in it in Custom Menu
I'd like to add a link to BuddyPress' My Favourite Topics in a Custom Menu. Is there a way to use the current logged in user's username in the link?
I mean like the %category% in the permalinks.
0
votes
1answer
120 views
How to looping taxonomy terms?
is there any way to loop terms in a way they display in menu?
Eg:
Let say I have 2 taxonomies in a post type - tax1 and tax2.
They are not hierarchical to each other.
If I have posts that have ...
0
votes
1answer
3k views
Add qtranslate language select box to menu
I can't find any info on how to operate qtranslate and add the select box to change language to the right of my header navigation.
Any ideas?
0
votes
1answer
659 views
Adding a unique class to wp_nav_menu
How would I go about adding a unique class to the direct child li elements of the main parent ul element generated with wp_nav_menu?
<nav id="access" role="navigation">
<div ...
0
votes
1answer
67 views
Navigation menu displays permalinks
I am creating a theme from scratch and the navigation menu is disturbing
me because it is displaying the permalinks after the menu item name. See this
picture
http://imagebin.org/212406
Link name ...
0
votes
1answer
1k views
register_nav_menus and wp_nav_menu issue, not displaying independent menus
My problem is that wordpress isn't showing the two menu's as separate menus, it just outputs on menu to both positions.
URL:
http://www.msc-media.co.uk
Check the header and footer for the links - I ...
0
votes
1answer
192 views
Links do not open from click, only in new tab [closed]
I'm fairly new to Wordpress, but I'm encountering a strange issue. I have a menu set up, and I've put links to some of my pages inside of it. But, when I try to click on any of the menu items, nothing ...
0
votes
1answer
371 views
wp_nav_menu doesn't show on index page
I'm using calls to wp_nav_menu() in my header.php file. They're conditional, based on whether a user is logged in.
This is in header.php:
<?php if ( is_user_logged_in() ) :
wp_nav_menu( ...
0
votes
1answer
227 views
Custom Menus Description Stripping HTML Tags
Spent two days researching this. I need to be able to add HTML to the Custom Menus Description. Everything I can find (including on this site) is from Feb 2011 and mentions using a strip_tags filter. ...
0
votes
1answer
78 views
Displaying wp menus by name without using theme locations
I used wp menus in the past but always registering a location and then using:
<?php wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); ?>
To display a menu on that location on my ...
0
votes
1answer
360 views
Jquery submenu display problem [closed]
I'm using default wp menu and I added some jquery for drop down slide effect. My problem comes when I hover <li> item because it displays all sub-menus in the same time.
Here is my Jquery which ...
0
votes
1answer
116 views
nav sub menu display problem [closed]
I have used WP nav menu in my website. It works fine. I have added the sub link under the home link. But it is not properly displayed. Please refer the screenshot.
In the above image, "support our ...
0
votes
1answer
497 views
How to get wordpress nav menu outside of wordpress system?
I want to get a specific wordpress nav menu as a list in my custom php page outside of wordpress.
How to do that?
0
votes
2answers
290 views
3 blogs on one site with the same header menu?
Person X has default SITE with an integral blog. Person X also has SITE 2 with Blog 2 and also SITE 3 with Blog 3.
Is it possible to have on the DEFAULT SITE HEADER MENU something like this:
HOME ...
0
votes
1answer
122 views
Change order that the menu is generated with wp_list_pages
I am trying to order the output of one of my menus to be based off of the way they are setup in the Appearance->Menus pane, however it seems to only want to do it alphabetically.
For example I ...
0
votes
1answer
174 views
Edit html for menu items in default frontend menu
I am running Multisite, and would like to be able to append menu items to all frontend menus on all sites. This should work for menus saved via the admin interface as well as the default menu that is ...
0
votes
2answers
56 views
function for creating dropdown menue in wordpress [closed]
I am using wordpresss custom menue, its working fine have added this code for showing nav bar.
<?php wp_nav_menu( array('menu' => 'main-nav' )); ?>
the problem is that, I want to show drop ...
0
votes
1answer
16 views
Setting up menus before making a template live
I'm currently creating a new template for a client. Their current template does not implement menus at all. They are all hard coded links in the template. The new template I making them will implement ...
0
votes
1answer
1k views
3 Level Deep Navigation Menu Not Showing All Levels
I have a 3 level deep navigation menu which will show beside all pages on the site except the homepage. The issue is only 2 of my 3 levels are showing in the menu when displaying it using the ...
0
votes
1answer
419 views
How do I get my nav menu to show sub pages?
http://webdesignsalemoregon.com/westernmennoniteschool/ is my website.
I've got the top menu which is the one that was in the theme when I started to customize it. It's got a test drop down that ...
0
votes
3answers
158 views
Add jQuery function to media button
I have added a custom button to the media actions in a custom theme,
function wp_myplugin_media_button($context) {
$wp_myplugin_media_button_image = ...
0
votes
1answer
255 views
Custom menus not showing
As a follow on from my last unresolved query regarding menus, the problem has extended even further.
My menus are not printing anywhere in the code.
I am registering the menu functions.php:
...
0
votes
1answer
195 views
How to create menu spread over four lines including images
I would like to create a dynamic WordPress menu using wp_nav_menu() divided over four lines or rows as the static website http://tinyurl.com/82trdjw. I think I should either force the menu to do this ...
0
votes
3answers
220 views
Adding an additional menu in Wordpress
I am using wp_nav_menu() and I want to add the search box as a part of the menu.
I am having trouble figuring it out and was hoping for some assistance:
My code:
<?php
$args = ...
0
votes
1answer
41 views
Show tarifs page with menu a or b depending on menu of origin
I have a site with three menus, one per main category of the site. I use pages only. Two main categories have one page in common.
Category A with menu a
Category B - with menu b - with tarifs page
...
0
votes
1answer
72 views
How do I put the sidebar items into a menu bar? [closed]
I have these sidebars with recent comments, archives, and meta which has site admin, login/logout, and rss feeds. I want to ditch these sidebars and put all that functionality in a horizontal menu. ...
0
votes
1answer
676 views
Adding Sub Menu In a theme which Do not have Menu Options
I am a new bee in wordpress but i can code in PHP. I have a free wordpress theme installed on my local host. The theme Do not have an option to add to add menu/sub menu in it. It comes with predefined ...
0
votes
1answer
141 views
How can I set the first link in my nav menu to simply be a drop-down to some other pages
I want to have a set of ~3 pages in a subdirectory called "about"
example.com/about/history
example.com/about/program
example.com/about/coaches
I don't want any about/index.html page, I just want ...
0
votes
1answer
213 views
Main menu with first level of children always visible [closed]
first of all my apologise if there is a post with this question answers but I couldn't find it.
I'm trying to use the wp_nav_menu() to have two main parents and the related children always visible and ...
0
votes
1answer
216 views
How do I use .addClass on an anchor tag? [closed]
I've been stumped by this all day. My page design needs to add a class to the 'a' tag of the active page, which creates a tab to let the user know that is the page they are currently on. I have been ...
0
votes
1answer
236 views
ID of parent Menu
I'm trying to assign a different ID to each sub-menu wordpress generates using the wp_nav_menu function. As it is, wordpress assigns the same class (sub-menu) to every sub menu generated.
<ul ...
0
votes
1answer
270 views
current_page_item and custom post type?
I have a page on my site that lists all posts for my custom post type 'Literature'.
However when I click on one of the posts, the highlighted active menu item changes to 'Blog'.
How do I assign ...
0
votes
1answer
194 views
Missing current_page_item in custom menu
I'm using the new custom menus in my side navigation and it only creates a class sub-menu in the UL's but does not use the current_page_item like when you use wp_list_pages(). I have 3 levels and only ...
0
votes
1answer
121 views
Theme Options Menu Item - Permission Issue
I am trying to create a theme options menu item for my custom theme. However, when I add the following piece of code in the functions.php file...
add_menu_page('Page title', 'Asteria', ...
0
votes
1answer
667 views
wordpress superfish dropdown menu
I am learning how to integrate superfish drop down menus in wordpress and i am following this tutorial http://kav.in/wordpress-superfish-dropdown-menu
I am using this theme with superfish integrated ...
0
votes
1answer
649 views
Add custom ID to wp_nav_menu list items
Is it possible to assign specific ID's to wp_nav_menu list items?
For example, if my menu contained links for "Home", "About" and "Contact", could I assign the "Home" list item and ID of "home"?