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
21 views
How we show pages in dropdown
I show the all menu which i have on the top in dropdown style when site is open in mobiles.
I successfully display them in dropdown style but the problem is that how can i indend my subpages. or make ...
0
votes
1answer
29 views
How do I move menu to the bottom in Custom Community theme?
I am new to Wordpress and created the following website: www.sugarhausbyamy.com
I would like to move my menu to the bottom of the screen. Is there an easy way to do this? I would also like to ...
-2
votes
0answers
17 views
Why are menu tabs unrolling when loading pages? [closed]
When I open the pages of my website or load some pages from it all the menu tabs show up (See attached how they "unroll") and then go back to normal (see website). How can this be solved?
1
vote
2answers
1k views
how can i manage buddypress's navigation baar
hi i have create a community by using buddypress. but i am in problem.
i want to manage buddypress navigation bar. which have these pages My Home , my profile etc..
actully i want to put these two ...
0
votes
2answers
471 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! ...
0
votes
1answer
27 views
Custom Menu based off custom header
I'm using my Child of TwentyTwelve
Just for your knowledge, I have two sections to my one WordPress site... one is called pain, the other called anesthesia (It's a medical site for the curious).
I ...
0
votes
1answer
67 views
Custom Post Type .current-menu-item not applying on Custom Post Type Archive Page
I am working with custom post types and I had trouble with the nav menu not getting the .current-menu-item on my custom post archive page menu item. In fact, when I was on that page or any of the ...
0
votes
1answer
29 views
Hide pages depending on role
I've been trying to find a way to limit the user from seeing some pages in the "pages" menu in the admin panel.
I looked in the edit.php file and noticed:
} elseif ( 'page' == $post_type ) {
...
0
votes
1answer
140 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
39 views
How to retrieve depth of menu into template
In wp_nav_menu i use for the menu, with custom walker, i can get the $depth parameter in the start_el function
function start_el(&$output, $item, $depth, $args)
but, outside this ...
0
votes
0answers
9 views
Adding custom menu entry [duplicate]
I want to add a custom (dynamic) login/logout link to the end of the top level menu of the twentytwelve menu.
Is there a way to do this by editing the theme (and its functions) only?
0
votes
1answer
42 views
Wrap wp_nav_menu output around option tags for select menu
I have set up a wp_nav_menu in Wordpress. I have 2 parent categories, with 2 sub-categories each, so this produces a nested list.
My current code to call this menu is...
<?php wp_nav_menu(
...
1
vote
1answer
251 views
how can i add css class on current page in wordpress wp_nav_menu
how can i add css class on current page in wordpress wp_nav_menu
For Example I Want To Use It In Wordpress wp_nav_menu
<li><a href="index.php?id=index&colortheme=green" class="selected" ...
0
votes
1answer
27 views
changing the labels inside appearance -> menus for some for the fields
So I've create a custom walker for nav menu (i am talking about the menus located at:
appearance -> menu -> add a new menu.
I now use the following for several things i need:
URL
Title Attribute
CSS ...
3
votes
1answer
245 views
Extend walker class with custom post types
I'm using the walker class below, but I can't make it work with custom posts.
class Zwp_Walker_Nav_Menu_Dynamic extends Walker_Nav_Menu {
function end_el(&$output, $item, $depth) {
...
0
votes
1answer
348 views
Get menu item slug
I use custom menus and I’d like to get the menu item slugs.
Is that possible?
// Get the nav menu based on $menu_name (same as 'theme_location' or 'menu' arg to wp_nav_menu)
// This code based on ...
0
votes
2answers
21 views
How do you return a menu with the menu name?
in functions.php, I've defined the following:
register_nav_menu( 'home_blocks', __( 'Home Page Posts', 'my_Theme' ) );
In /wp-admin/nav-menus.php, I've added a menu called Home Page Posts and ...
1
vote
3answers
4k views
Show just one level of child pages, wp_list_pages woe
I'm working on a site that has a fairly large page structure a few levels deep - in some sections there are a lot of pages.
The basic setup is something like this...
Parent
Parent
Parent
-Child
...
0
votes
1answer
369 views
How to use wp_category_checklist()?
I've recently discovered that we can insert a dropdown list of categories like this:
<?php
define( 'WP_USE_THEMES', false );
require( './wp-load.php' );
?>
<?php ...
0
votes
1answer
464 views
Remove the <ul> Tag from wp_nav_menu in Wordpress 3.4.1
my problem is the following:
I want to remove the tags from the wp_nav_menu. I already found different posts about it here but they don´t seem to work for me. Here is what I did:
First I ...
1
vote
2answers
171 views
Why do the menu titles change with the renaming of pages?
I've created a custom menu using pages. For a lot of the list items, I've specified a custom menu title for the page... So, the About Us page becomes About on the menu, for example. Then, when the ...
2
votes
5answers
332 views
how to create a menu with all sub categories?
Is it possible to create a menu with a category such that each time that I had a sub category that automatically display on the menu?
As far as I know, if I have a menu with the category "fruit", and ...
0
votes
1answer
60 views
Create and style menu
I have been assigned with the task to create a menu that can be added or removed from wordpress admin. Right now the menu is hard coded into the templates. But I want to use default menu function ...
0
votes
2answers
1k views
add span class inside wp_nav_menu link anchor tag
I found examples adding a class to top level items, so we can display an arrow in menu items with sub-items, but is seems terrible to cope with the already built in WordPress classes, can't display ...
0
votes
1answer
36 views
Move Sticky Nav Menu Below WordPress Tool bar when tool bar enabled
I've created a sticky menu but its hidden behind the WordPress Toolbar when logged in. How do i move it below the toolbar when enabled and logged in?
I was looking for a conditional tag but couldn't ...
0
votes
0answers
8 views
How do i move a sticky menu below the toolbar for logged in users? [duplicate]
I have created a sticky menu but its hidden by the WordPress tool bar for logged in users and need a solution. Thanks
-1
votes
0answers
76 views
How to integrate jPanelMenu jQuery into WordPress [closed]
I would love to know how, if possible, to integrate a jQuery plugin into WordPress so it replaces the navigation.
Trying to integrate jPanelMenu in my WP site.
jPanelMenu is a jQuery plugin ...
-1
votes
1answer
15 views
How to reduce space between menu and page content? on Themify - funki theme [closed]
It would be great if someone could help me with this... I would like to reduce the space between my post (a picture) and the main menu, how do i customise the padding(not sure if it called padding)! ...
0
votes
1answer
247 views
How to rewrite the output of wordpress nav menu?
I have been trying to figure this out for a while. I need to overwrite the default output of the wordpress nav system.
Right now it is like:
<ul id="main-nav">
<li ...
0
votes
1answer
83 views
Admin Menu Hack (Left side in Dashboard)
How can I add a Title to my Admin Menu on the left side of the dashboard? Not a link, but just a title? I want do this in my functions and not use a plugin. Also which template file handles this menu?
...
0
votes
0answers
19 views
Building Menus with the latest posts included
Im looking to build a menu system much like that off the huffington post or washington post, with links on one side and the latest articles or other dynamic content on another.
Before i go crazy and ...
0
votes
1answer
14 views
wp_nav_menu: indicate by id page grandparents
I have an web site with top-header menu and sidebar menu.
Situation, like:
header menu: books music movies (if we are now under music)
sidemenu: blues jazz dance (if we are now under "Jazz")
...
6
votes
6answers
1k views
Why do Custom Nav Menus generate so many classes on list items? Can I manage this somehow?
Below is an example. 3 classes attached to each item, except current item, which has 6. Can I pare this down somehow?
<ul id="menu-global-nav" class="sf-menu">
<li id="menu-item-63" ...
2
votes
1answer
167 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 ...
...
0
votes
0answers
11 views
blog menu highlighted when bbress topic clicked?
as the title says when I click a forum topic in my local wordpress the link acknowledges the request but when the page is returned the blog menu is highlighted not the forum menu, code is standard and ...
0
votes
1answer
27 views
Navigation menus not showing because of custom post type filter
I use this filter to show content from all custom post types in tags archive page
function tagFilter($query) {
$post_type = $_GET['type'];
if (is_tag()){
if (!$post_type) {
...
0
votes
0answers
27 views
WP_Nav Highlight Parent Issue
I'm trying to figure out how to highlight the parent nav of a page and becoming stuck.
I've seen something like this :
<li <?php if(is_page('services')) { echo 'class="current_page_item"'; } ...
0
votes
1answer
102 views
Menu System: View all by default
Been doing some digging and trying to see if there is a way to change the default list for Pages, Posts, etc in the WordPress menu area to default to "View all" instead of a truncated list. Any ideas? ...
0
votes
0answers
18 views
Dynamic Custom Menus [closed]
I've created a meta box so my client can choose which custom menus to use on certain pages. That seems to be working fine. However, I've created a second menu but only the original menu is showing up ...
0
votes
2answers
405 views
Creating a custom menu/widget area
I'm looking to create a /menu/widget area like the following site:
http://www.microsoft.com/en-gb/default.aspx
please see sections under downloads, security, support, about
is this considered a ...
0
votes
1answer
20 views
Wordpress Navigation default output
Could someone please give me the Wordpress default navigation output, i've searched it around but havn't found it.
I would like the example navigation to also include one sub-menu link.
Or if ...
0
votes
0answers
27 views
Cannot control wp_nav_menu properly
I'm having a little issue which looks like a bug but probably isn't. Here we go:
I simply have this:
<?php wp_nav_menu( array('theme_location' => 'primary', 'container' => false, ...
0
votes
1answer
116 views
who to limit number of li in wp_nav_menu
need help regarding wordpress navigation
i am using
if ( has_nav_menu( 'main_nav' ) ) {
wp_nav_menu( array('menu' => 'guest menu' ));
}
from back end if i keep the menu empty(do not any ...
0
votes
0answers
87 views
Alternative to wp_get_nav_menu_items?
I have tried out a technique to implement the wp_get_nav_menu_items, however, a
child on the level 1 is being nested inappropriately on the menu.
Kindly suggest an alternative of how this issue can ...
0
votes
1answer
21 views
Prevent Menu Shortcode From Formatting
I'm trying to insert shortcodes into menu links (as I need to display a latest post link). I've figured out how to get the do_shortcode part done.
However, when I insert a shortcode as the menu link ...
0
votes
0answers
22 views
nav menu with categorized child pages
I'm a bit new to the whole customizing wp nav menus and have exhausted all ideas.
I want to output a completely custom nav that first displays all top level list items.
...
0
votes
2answers
637 views
How to add nofollow to wp_nav_menu
I need to add an option in my theme options panel to set a specific custom menu's links all to nofollow.
Does wp_nav_menu() allow this or does it require a custom walker to manually ad ...
0
votes
0answers
25 views
Programmatically Add Item to WP Multisite Menus
Does WP Multisite require a specific function in order to programmatically add a menu item to a menu?
A friend and I have a plugin that adds a menu item to your menu found here. When we created it we ...
1
vote
0answers
28 views
selected menu item
The template I'm working on for a client has the following pages:
Home : a custom static page that displays the content of a certain WP page, and the latest sticky posts. This is the front-page.php ...
0
votes
0answers
55 views
How to create a dropdown menu on Origami theme
I'm doing a Wordpress website using the Origami theme; in this website i have a navigation bar with the page "Blog" in it. When I hover the cursor of the mouse on the page "Blog" I want to create a ...

