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
23 views
How Can I add a menu to the theme from withen the function.php file
I have the following code I'm trying to automatically add a menu to a theme via overriding a function. So I won't have to edit the theme file
However the menu is being outputted at the top of the ...
0
votes
2answers
25 views
How to add post count to wp_nav_menu?
Is it possible to add post count to menu links using wp_nav_menu?
For example:-
Apple (3)
ball (6)
cat (2)
-2
votes
3answers
156 views
Plugin: Custom menu item problem
I'm using the following snippet to add a menu item:
<?php
add_menu_page(
'Foo Server',
'Foo Server',
'manage_options',
'foo-server',
array('Class', 'method')
);
?>
Fine, ...
0
votes
1answer
40 views
How To Display A List Of CPT Posts In A Meta Box On Menus Page?
Is it possible to display a list of the custom post type POSTS, not archive link, inside a meta box on the nav menus page?
Currently, it displays each CPT post inside it's own metabox, but I would ...
1
vote
3answers
1k views
How to add meta box to backend menu page
I need to add a meta box to the backend menu page, in Appearance->Menus (/wp-admin/nav-menus.php), to list all the available post types, both the defaults & the custom ones.
It will contain a ...
0
votes
1answer
15 views
Adding Pipes to Menu Output
My client has a menu like this image below that I am trying to re-produce for them as a WordPress Menu...
My first attempt so far was to utilize the after parameter option for the wp_nav_menu.
...
0
votes
2answers
541 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 ...
3
votes
3answers
4k 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
13 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
17 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
16 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
440 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
22 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
25 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 ...
1
vote
0answers
18 views
Custom taxonomy position in admin panel
I can't figure out how to change position of custom taxonomy menu item in the admin panel.
Right now I have custom post type-- custom_1-- and another custom post type-- custom_2.
For custom_2, I've ...
0
votes
1answer
21 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
133 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
30 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
508 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
32 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
234 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
23 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 ...
0
votes
0answers
11 views
Redirect url in plugin to somewhere else?
I am using WP-SNAP Extended! v1.0.0 and I want to use this alphabetical menu as a sub-menu beneath my header. I managed to get the alphabetical menu in place, but now, if I click on a letter, it will ...
3
votes
1answer
230 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
235 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
18 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
3k 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
302 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
461 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
147 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
224 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
59 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
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
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
22 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
17 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
10 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
215 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
47 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
17 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
12 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
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 ...
...
0
votes
0answers
9 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
19 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
23 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"'; } ...

