The navigation tag has no wiki summary.
4
votes
1answer
452 views
Add custom meta to nav menu items
I need to attach meta data to every menu item, with a key 'foo'. Is it possible to do that, without editing core WP?
A quick look at the nav-menu files showed that no hooks exist near the place I ...
0
votes
2answers
432 views
only show children of a nav menu
I wanted to know how could i display only the children of a nav menu. ive tried a couple of things like :
if($post->post_type == "page"){
$postid = $post->ID;
print_r( ...
0
votes
1answer
229 views
how to remove description from menu buttons?
I just installed Wordpress into my server and I am currently using the "graphene" theme to test my wordpress blog. I have two pages in addition to the front page, which is "about us" and "sample ...
1
vote
2answers
9k views
How to Create a Custom WordPress Navigation Menu with the Code?
Without using plugins, how to create a custom WordPress navigation menu with the code?
I have Wordpress ver 3.2.1
and Buddypress ver 1.5.1
I would like to create a menu like this:
click here
I would ...
1
vote
1answer
359 views
Arguments ignored/markup changed in wp_nav_menu if no menu is selected
I've created a menu using wp_nav_menu in my theme using the most simple setup as possible:
wp_nav_menu( array( 'theme_location' => 'my_theme_top_menu') );
And in my functions.php:
...
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
...
2
votes
2answers
2k views
Dynamically exclude menu items from wp_nav_menu
I tried looking for info about how to exclude/remove nav menu items from custom menus, and the only thread I found did not have any answers that were useful to me.
1. Background:
I put together a ...
0
votes
1answer
522 views
Most wp_nav_menu parameters ignored
I'm trying to get a text-based navigation menu for the footer of my site. I'm using the wp_nav_menu() parameters as directed by Codex. He're a snippet of code (in footer.php):
<div id="footer">
...
0
votes
1answer
6k views
Custom Post Types in the WordPress Navigation Menu
Hello can someone help me out by pointing me in the right direction as to where I can find out how to add a drop down menu to a theme with my custom post types stored within in, have been ...
0
votes
2answers
653 views
Can't Get Parent and Child Categories of Custom Taxonomy to Display
I have a Custom Post Type set up with a Custom Taxonomy. For this Custom Taxonomy, I'm trying to figure out how to echo out the titles of the parent category and current child category within it.
...
0
votes
2answers
717 views
Add a submenu to wp_nav_menu
I literally don't know where to begin with this. The only wp_nav_menu() documentation I found was http://codex.wordpress.org/Function_Reference/wp_nav_menu and all submenu docs reference a different ...
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
601 views
How do I remove WordPress Custom Menus hover event and replace it with jQuery onclick?
I am using the WordPress (Appearance > Menus) feature to create a custom navigation menu. I created a menu item that has a dropdown and would like to activate the dropdown menu with a click rather ...
2
votes
2answers
2k views
What's the easiest way to duplicate an entire navigation menu?
What's the easiest way to duplicate an entire navigation menu? I don't care if it involves SQL commands or whatnot. I just have some really big menus that I'd like to duplicate. Didn't see a plugin to ...
0
votes
1answer
101 views
Static Website No Titles But Still Nav
So I have a static paged website and I want to make pages without title, but I still need the titles for the navigation to pick it up. How can I get rid of the Page.php (the_post()) from displaying ...
0
votes
1answer
102 views
Auto Changing Text Case
So I'm using all static pages and I specify that in my WP settings. When I specify what the 'Front Page' should be it turns my link in to Title Case instead of all Capital Letters like I would prefer. ...
1
vote
1answer
429 views
posts_nav_link on single.php
The situation...I use 3 categories. One of them is called 'News'. This page shows on the left the latest post in the category 'News' and on the left it shows the 10 most recent posts from this same ...
1
vote
1answer
308 views
Bar separated navigation by extending Walker_Page
This question follows on from this one:
Bar separated navigation by extending Walker_Nav_Menu
I'm trying to do the same thing but this time I'm extending Walker_Page instead.
The issue I'm having ...
1
vote
2answers
369 views
Inserting specific images inside navigation menu
I have a navigation menu that I hard-coded into a recent theme that I developed. Now, it would be a lot easier (and more customizable) to just build this navigation menu using the intrinsic ...
1
vote
2answers
1k views
Bar separated navigation by extending Walker_Nav_Menu
I have the following menu in my header:
<?php
$args = array(
'menu' => 'Main Menu',
'container' => false,
'depth' => 1,
'items_wrap' => ...
2
votes
1answer
1k views
Not able to get current menu ID
I'm trying to get the current menu item ID. I hve found one thread that has put me on the right track: How to get current-menu-item title as variable?
This is the code I use in my function.php ...
1
vote
1answer
100 views
I need ideas for a complicated menu
I have a slightly complicated menu to code from PSD document and integrate into wordpress.
this is how it looks:
(link in the comment bellow)
The result of my work is this: ...
0
votes
2answers
121 views
Help with page nav?
I am taking over a site and we are making a sister site to it, but the problem is that the navigation was set up for the other site - so I'm having an issue getting the navigation to link to the ...
0
votes
1answer
51 views
determine if specific page is in list?
It's not hard i think, but i run out of ideas...
In template file I have code like this;
$current = $post->ID;
$parent = $post->post_parent;
$pages = ...
2
votes
0answers
94 views
Sitewide categories for all the blogs in the network [duplicate]
Possible Duplicate:
WordPress Multisite - global categories
I'm trying to do sitewide categories. like when a category is made in the main blog that category is added to all the new blogs ...
0
votes
1answer
867 views
Trouble highlighting correct menu parent with wp_nav_menu classes while viewing “single posts”
I just updated a menu on a site of mine to utilize wp_nav_menu. Setting this up with WP was fairly straight forward however I've run into one small snag with the the way wordpress is outputting its ...
1
vote
1answer
348 views
How do I access the menus produced by Dashboard > Appearance > Menus
A continuation to this question:
Replacing WordPress menu functionality with a plugin
Since I really rarely work with WordPress (I've done a lot of work with phpBB, myBB, Concrete5, and custom PHP ...
1
vote
1answer
198 views
Replacing WordPress menu functionality with a plugin
I asked this earlier on StackOverflow.com before realizing there was a StackExchange specifically for WordPress. Here is the link to the old question (for moderator deletion):
...
0
votes
1answer
273 views
Can I output a custom taxonomy as a submenu in the site navigation menu?
I'm building a WP 3.2 site with a couple of custom post types and taxonomies. I'm calling one of these custom post types programs, and its associated taxonomy is called topics.
I'd like to add an ...
1
vote
1answer
676 views
wordpress wp_list_pages help
In my wordpress enviroment, I have a number of pages, and I also have a custom post type called casestudy. I have setup a page-clients.php that has some of it's own content on, I then use the ...
1
vote
1answer
51 views
Blank Pages with # URL & Google
I'm using some blank pages that have a title only and a URL set to '#' for my navigation. (So, that the item appears in the dropdown menu, but when it's clicked a page doesn't open).
Do I need to ...
1
vote
1answer
746 views
How do I add an indicator to my .menu-item if it contains a .sub-menu?
If your common with the code that wp_nav_menu function generates. You should know what im asking for.
I need to add an indicator like a plus sign or an arrow to indicate that this menu-item has a ...
0
votes
1answer
121 views
Add user managable titles to custom menus?
I am looking for a way to include a user managable title in a menu. Ideally, it will take the place of the first <li> object in the output.
Any ideas?
Edit Clarification
I am looking for a ...
2
votes
3answers
3k views
Pagination with custom SQL query
I have my own SQL string to select Custom Post Type posts with specific WHERE clause. I've used the offset and limit to return appropriate posts depending on a page being displayed. That's working ...
0
votes
1answer
213 views
Why is Posts page selected when showing single Custom Post Type?
In Settings-Reading I have selected a static page from my "Front page displays". My Front page is "Home" and my Posts page is "News".
I have also added a Custom Post Type called "Project" without an ...
1
vote
1answer
145 views
Navigational drop-down lists in Wordpress?
I'm trying to simplify a set of links by placing them in a drop down list (form style) with a submit button that will take users to the page in question.
Ideally, I'd like it to behave like the ...
2
votes
2answers
2k views
WP_Query and next_posts_link
I cannot figure out how to make next_posts_link() work within my custom WP_Query. Here is the function:
function artists() {
echo '<div id="artists">';
$args = array( 'post_type' => ...
2
votes
2answers
182 views
Showing Custom Content in a Nav Dropdown
I have a custom content type "balloons", and I've assigned a parent category to a "balloon" item, "Water Balloon"
I've made the Balloon category a primary menu item. I want a link to "Water Balloon" ...
0
votes
2answers
594 views
Different Main Navigation per category
I have a client who has the categories listed in the right-hand sidebar. He came to me today requesting a different "navigation" in the header for each category.
So basically, if you click on ...
1
vote
1answer
3k views
Remove li from wp_nav_menu
How can I remove the li from wp_nav_menu? I know I can remove ul but is it also possible to remove the li? I would want to do this on just one menu not all the menus on my site.
1
vote
1answer
535 views
Checkboxes in the category list?
I want the category list to have checkboxes so that the visitor can navigate much more easily, just like the way Amazon does it.
Compare: left is my current layout, right is what I want to achieve
...
5
votes
2answers
2k views
Wordpress Custom Post Types with a page as a parent?
I have a lot of custom type items in my new WP project, and for navigation reasons, I want to make the parent to some of them a Wordpress page. The problem is that apparently, Wordpress does not let ...
0
votes
2answers
460 views
Page Navigation Outside the Loop
I have a series of pages for individual products. I'd like to page between them using a navigation that sits outside of the loop.
| |
( <= prev ) | <loop> ...
0
votes
1answer
601 views
Show All Children of WordPress Menu
The code below shows the active sub menu of the Main Menu. It's nearly perfect, however, I need it to show ALL subitems of these sub items, and their children. AKA unlimited depth. Thanks in advance!
...
0
votes
2answers
361 views
Depth problem using wp_list_pages for subnavigation
I've been looking for a solution to my problem for some time now, and I can't seem to find one.
I have created a submenu using the following code from the Codex:
<?php
if($post->post_parent) ...
1
vote
1answer
446 views
Displaying Subpages while on Parent page?
I would like to create a navigation menu where I will be displaying two level pages.
To illustrate that:
Parent 1
Parent 2
Parent 3 (current)
Child 1
Child 2
Child 3
Parent 4
So I would like ...
0
votes
1answer
194 views
Using Custom Taxonomies to organise products - struggling to call a correct list
So: I am making a WP site for a company that makes aftermarket performance parts for cars. I have used the post mechanic in WP to add in these parts. Each part has its own page, and I have registered ...
3
votes
1answer
396 views
Highlight nav menu terms
OK so i have custom post types and custom taxonomies. I have a sub-menu that is made of the custom taxonomies.
Example:
registered taxonomy: Movies
and
terms: action, adventures, etc. (= menu ...
0
votes
1answer
398 views
WP-navi plugin and post sorted alphabetically
I've got an issue with using the WP-Navi plugin and posts sorted alphabetically. The first page of posts (5 - set in the plugin settings) appearing properly, but when one navigates to subsequent ...
1
vote
3answers
3k views
How to add CSS Class to previous_post_link or get previous/next post link URL
How can I add a CSS Class to the previous_post_link output or just get the URL and create the HTML markup myself