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
122 views
2 item in a same menu pointing to 1 page
I have a menu containing 2 item that pointing to 1 page, my question is how do i highlight the top level item according to where i click it.
<nav>
<ul class="mainNavi" id="menu-main">
...
0
votes
1answer
119 views
Add function to custom menu
I am am trying to add a function to my custom menu. The menu works, but I have no idea on how to get the custom_execute_shortcode() function to work inside the add_profile_link_to_nav() function.
Any ...
0
votes
1answer
81 views
Catagorized hierarchy menu for PAGES!
Yes, I am a noob at all this so please excuse my ignorance! So, for the past couple of days, I've been searching for a drop down page menu widget, but I would like to have the pages separated into ...
0
votes
1answer
296 views
Show menu based on parent & ancestor
Trying to show a wp menu based on parent. Works great on parent / child pages, but on grandchildren pages its failing. How should i restructure the menu selector to include the sub nav menu based on ...
0
votes
1answer
81 views
Difficulties filtering manage_nav-menus_columns
I realize I've asked similar in the past, but I've currently running in some difficulties editing/removing the admin nav menu advanced menu properties. (without using jQuery)
add_filter( ...
0
votes
1answer
52 views
Registering a static menu?
I have a website with a very large sidebar menu that uses an accordion plugin to keep everything compact and organized. Unfortunately, my menu has grown so big that I am unable to save any new ...
0
votes
1answer
243 views
Using CSS ID's and Classes with images in a Wordpress Horizontal Menu
just found this marvelous website, so, I'm new in Wordpress.
I have a HTML/CSS website developed from a PSD file. Everything was going OK, Header, Footer, but when I came across the WP menu, I'm just ...
0
votes
1answer
65 views
Hide custom menu when when no menu selected
The title might not a 100%, feel free to correct...
I'm building a custom theme that has a couple of costume theme locations for menus (1 main menu, 1 footer menu, 1 "Follow Live" button). These are ...
0
votes
1answer
204 views
wp_list_pages() not showing on posts
I have the following code showing up a sub-menu on my website (in my header.php file) that shows all well and good, however when I open up a post it dissapears:
<div id="dep-menu">
<?php ...
0
votes
1answer
358 views
Populate wordpress menu with link to custom field value (file download)
I have an additional menu that appears on some single.php pages. To this menu I would like to add an li with a link to a PDF which is uploaded to the post by a custom field (advanced custom fields ...
0
votes
1answer
357 views
How to Use the Function is_user_logged_in To Display Different Menus?
So, I want to create different menus for people who are logged in or not.
I got a reply that i should use a function
if (is_user_logged_in()) {
wp_name_menu(array('theme_location' => ...
0
votes
1answer
713 views
How to add div to top menu itiem
<div class="menu">
<ul>
<li class="page_item page-item-15"><a href="link.html">XXX</a></li>
</ul>
</div>
Where "XXX" I want to put
...
0
votes
2answers
172 views
custom menu not found
I am trying to use a menu which I have partially working, I have setup functions.php:
if (function_exists('register_nav_menu')) {
register_nav_menu('main-menu', 'Main Menu');
}
I have configured ...
0
votes
1answer
232 views
Add session or cookie to remember last menu location
I have a site that is pretending to be three sites. This is done by a series of conditional statements and page templates to make it look like the user is on a different site depending on their menu ...
0
votes
1answer
131 views
Is custom menu name and category name linked in wordpress?
I have created a custom menu for each of my categories (to show subcategories of each category on that category page) and that menu will have the exact same name as the category name.
The weird ...
0
votes
2answers
462 views
Hard-coding a shortcode as the last menu item in primary navigation?
I have Genesis framework installed with a child theme.
My client wants their themes "shopping cart" shortcode to be the last menu item, in their primary nav, no matter how many menu items there is.
...
0
votes
1answer
134 views
How do I render a navigation menu like my theme does?
I am using the theme suffusion, and I'm trying to add a custom navigation menu to only one of my pages.
I've managed to get it almost working using this in my page template:
if(is_page('123')
{
...
0
votes
2answers
367 views
Dynamic menu with custom post types
I'd like to create a dynamic menu with a mix of static pages and custom post type archives that applies a class of "current" to the current tab. The example below uses 1) Static page set as Home 2) ...
0
votes
2answers
642 views
wp_list_categories() Exclude All Categories Except One
Is there a way to exclude all categories except one? I want to show a category and it's sub-categories as a dropdown menu, but the admin might add more subcategories to it so I don't want to limit ...
0
votes
3answers
156 views
How to list menu-item- ids in order for wp_nav_menu
I have a nav menu call:
'primary', 'container_class' => 'primary-menu' ) ); ?>
The output looks something like this:
<div class="primary-menu"><ul id="menu-other-links" class="menu">
...
0
votes
2answers
2k views
How can I add a menu item to the admin area?
I've used almost all of the Wordpress example code but it still doesn't work. I've put the php file under wp-content/plugins/menuitem/ .The code is simple
<?php add_action('admin_menu', ...
0
votes
2answers
228 views
How to remove the tripadvisor logo from the wordpress theme?
Tripadvisor offers a free wordpress theme at here
If you go on this page, you'll see the free wordpress theme, and on the navigation bar, there is the trip advisor logo on the right, How can I remove ...
0
votes
1answer
280 views
How to show pages in menu without link
I need to have a menu like this:
- a (link to a)
-- b (link to b, children of a)
-- c (link to c, children of a)
- d (NO LINK, #)
-- e (link to e)
I have the menu composed by the pages, as ...
0
votes
2answers
930 views
Dropdown primary navigation menu not working
I have installed a theme on WordPress added pages, created a custom menu called Primary Nav.
I have then assigned this as my Primary Menu. I have child pages and the menu looks like this.
I have ...
0
votes
1answer
47 views
Most allowed Taxonomies in Appearance->Menus
I am managing a large list(300) of "places" taxonomies, and I need to create a menu with those places. the WordPress menu system seems like the way to go but when I save the menu I am getting a PHP ...
0
votes
1answer
489 views
Custom Post Type & Custom Menu Walker to append custom class for active post types
I have an interesting problem I am trying to solve here regarding a custom nav menu.
Essentially, I have created a custom walker class for my nav menu and I have manually added a menu entry directing ...
0
votes
2answers
245 views
Problems Displaying Multiple WP Menus
Not sure where my error is (I did piece most of this together from snippets on different websites,) but when I test my theme, only "Left Menu" displays. There are definitely two menus, however where ...
0
votes
1answer
186 views
wp_nav_menu including Skype URL
If I try to add a skype username as the URL for a wp_nav_menu item, the item is saved but the URL is not.
The username URL is in the following format:
skype:example?call
Any thoughts on add skype: ...
0
votes
2answers
80 views
Understanding with this Wordpress code
I'm new to wordpress and tried to Google and looked up codex but it didn't help.
I downloaded a free theme from Github and I'm trying to learn how to make a theme by looking at its code. In the ...
0
votes
2answers
2k views
How to style current page menu item when using a walker
I have designed a custom menu and would like to be able to style the individual li dependent whether it is the current page or not? I believe this is normally pretty straightforward using a class such ...
0
votes
1answer
618 views
Drop down menus with wp_nav_menu or wp_page_menu
i have some doubts on what i am actually supposed to use to create drop down menus.By just looking at theme twenty ten,i have ,
<div id="access" role="navigation">
<?php /* ...
0
votes
1answer
73 views
How would I make a function to dynamically determine if user is logged to change navigation menu text?
I would like to create a function to determine if a user is logged in or logged out. If the user is logged in I would like the navigation menu text to say "My Account" (this is what it currently ...
0
votes
2answers
135 views
WP as a CMS menu
I've converted a client website from Joomla to WordPress. However, there is one aspect of the old site I haven't been able to replicate perfectly without modifying core WordPress.
The goal is to ...
0
votes
1answer
490 views
Superfish and WordPress: Active Color Problem
Take a look at: http://www.themeforward.com/demo2. When I hover over a menu item with a sub-menu, like 'Templates', and mouse over sub-menu items the background color stays the same as it should... ...
0
votes
1answer
307 views
Check if page has subpages
I'm try to build a menu with wp_list_pages() that must work like this:
Main Page
-Subpage1
-Subpage2
I check if the Page has_subpage and i can see the 2 subpages when i'm in the Parent ...
0
votes
1answer
628 views
wp_nav_menu: output featured image of each page listing
Context: I am building a portfolio index where I can sort the individual project links in my sidebar by priority of appearance. I've successfully done this using the wp_nav_menu(), where each project ...
0
votes
1answer
114 views
How to output all taxonomy links from a custom post type in a menu?
I made a custom post type called Product. And a taxonomy with the name 'product-category'. These taxonomies have pages where we show a list of the products that have that taxonomy.
Now my question is ...
0
votes
1answer
92 views
Parent/Child pages
I find that the parent/child pages in the "Pages" area of WordPress has become a bit confusing since the introduction of the new menu creation area.
Using the new menu system, as far as I know I can ...
0
votes
2answers
680 views
Conditional custom menu?
I'm trying to create a custom menu that displays a <li></li> when a user is logged in, and not display it when they're not. I have this so far, but it's not working. Does anyone know how ...
0
votes
1answer
119 views
Editing the nav menu?
I want to add | (vertical lines) between the page links in the nav menu. What's the easiest way to do this?
0
votes
1answer
403 views
.current_page_ancestor broken in Twenty Eleven
I would like to have a level 1 menu in a vertical menu and a full menu in a vertical menu in the left sidebar in Twenty Eleven. My problem is that I would like to make the top item bold if the user is ...
0
votes
2answers
1k views
How to show only parents subpages of current page item in vertical menu?
I just can't find a way to make it possible to show only current parent items down to current page item in a vertical menu the "wordpress way".
What I want to achieve is the following dynamic ...
0
votes
1answer
311 views
horizontal menu / 4-level depth
I need a 4-level horizontal menu.
which is the best way to build, organize and style it? "Active" tabs should be highlighted.
<?php wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); ...
0
votes
2answers
269 views
jQuery Drill Down iPod Menu FOUC and Selecting Current page
I'm using Drill Down Ipod Menu and I'm really like the style of showing submenus , but I have two problems with it.
1-when i load a page it shows all submenus open for a second and I experience a ...
0
votes
2answers
266 views
Remove current-menu-item for a specific link
bbPress uses a custom post type called forums. When I click on forums, both forums and the Blog menu items are highlighted as a current-menu-item.
Is there a way to remove the current-menu-item from ...
0
votes
1answer
86 views
Custom menu styling
I'm trying to style a custom menu here so that I can let other people manage this site alongside myself.
What I'm trying to do is remove the text for the top level links while leaving the a as a ...
0
votes
1answer
437 views
Add posts from a category to menu with all posts in it as sub menu
Because there is no category option on pages I desided to add post category to main nav.
I added the category and added posts on it but it doesn't dsplays the sub category on menu.
what should I do to ...
0
votes
2answers
105 views
Custom Post Menu link reverting to Blog menu item
So I have a Custom Post Type setup and running with no issue.
I also have a WordPress menu object as my primary navigation.
I added my Custom Post to the main menu and when I click on to the landing ...
0
votes
1answer
603 views
Styling issue with custom menus and sub menus
In a previous question I asked (and later worked out) how to style sub menus, I want to expand on that with another question related to styling sub-menus.
I have hit an issue were if the parent is ...
0
votes
1answer
54 views
When I click a custom menu link, how do I make it update the URL in the browser to the external link?
I have created a "custom link" under Menus.
The problem is that URL in the browser retains the Wordpress URL ( http://blog.tabsonrahm.org ) instead of the linked URL ( http://tabsonrahm.org/about ). ...