The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
3answers
1k views

Use navigation path from menu for permalink

I now switched to permalinks and defined my own structure /%postname%. If I click on a menu item it takes the path from the parent page (hierarchy defined directly when editing a page). What I want ...
3
votes
1answer
3k views

show current navigation path from menu

I want something like this Home > Products > Steel > Nails This information should come from the menu structure! I installed Breadcrumb NavXT but it seems that it only takes the path I defined (this ...
0
votes
1answer
104 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 ...
2
votes
0answers
81 views

Exclude Post Format from next_post and prev_post

Is there a way to exclude a specific Post Format from next_post and prev_post? I want my asides to show up in the regular list of posts on the main blog page, but when a user is navigating through ...
0
votes
1answer
83 views

.sub-menu or .children?

I'm developing a theme using a test installation (using InstantWP), but when I upload it to a staging site, for some reason the nav menu looks inflated. After looking at the source, it turned out to ...
3
votes
1answer
294 views

Show only 2nd level of navigation depending on active navigation

For example, suppose a menu like so: Parent 1 Child A Child B Parent 1 Child C Child D Child E Parent 2 Child F In a certain part of my template, I want something to show depending on ...
0
votes
3answers
388 views

reverse next/prev page order

I think the way wordpress display previous and next posts is basically non sense, with next posts on the left side, and older posts on the right side. I am using the code <?php posts_nav_link() ...
1
vote
1answer
137 views

Get only the path from a function like previous_post_link

I want to use something like previous_post_link('%link','',TRUE ) and put the path into a javascript variable. So using something like var previous = "<?php previous_post_link( '%link','',TRUE ...
2
votes
3answers
172 views

Can this navigation be done easily in WordPress?

Can anyone please let me know if a dual navigation style is easily achievable or not possible. A WordPress developer I'm in touch with is telling me it's not. Basically, we would like the navigation ...
0
votes
1answer
1k views

Menu with parents, children and or siblings pages display

Here you see the parent menu selected in the horizontal navbar. I already have that working. I need a sidebar like they have with the same parent indicated plus children when they exist . At the ...
0
votes
1answer
133 views

WordPress navigation only shows post of page one, even if on page two

Got a little problem hopefully I can get some help. I noticed that after I added a "sort post by" code to my index my navigation broke. If you click on page two you still get the contents of page one. ...
0
votes
2answers
240 views

Displaying Current Page Number Conditionally

I want to display the current page number in the site. I want it to be conditional though so that it doesn't show up on the home/front page. Using the code below, the page number is being displayed at ...
0
votes
1answer
252 views

How to hide 'Home' button from appearing on supages - twenty eleven theme

How could I make it so the 'Home' button / text link doesn't appear in the top menu as the user navigates to a subpage?? (So the menu stays the same accross)
1
vote
1answer
3k views

Breadcrumbs showing Parent and Child Pages

We are trying to create a function for breadcrumbs that will show not only the path to the current page, but also to other pages with the same parent page. For instance, on ...
16
votes
3answers
7k views

Programmatically add a Navigation menu and menu items

Through API functions, I want to define a new Navigation menu, select it in the current theme, and then insert a few Pages as menu items. This is to be done for instance on a theme activation. ...
1
vote
2answers
209 views

Highlight static blog page link in header

I created a navigation bar like tab system for my header and I can get all but my news button to highlight on that page. The news is a static page for all of my blog/news post. Not sure if it's my ...
0
votes
1answer
138 views

Adding a pagenavi to function for displaying bookmarks

I have a plugin user bookmarks - see here - and I'm trying to add a to it so the bookmark posts don't pile up like crazy. How can I do it? This is the function that displays the bookmarked posts. ...
1
vote
1answer
311 views

My post repeats itself on the second page [closed]

Hey the way i have my index coded is that it shows one full post and the rest of the post are excerpts, but when i click previous the 2nd page shows the same post from the first page, what can i do to ...
1
vote
1answer
1k views

Add an extra field to the navigation menu box?

Goal: I like to use a subtitle in the navigation bar. The most logic location, in my opinion, would be Appearance > Menu and add a field below navigation label called subtitle. So the end user can ...
2
votes
3answers
912 views

Hide and show menu subpages

I am sorry if this is not clear, but I am using translated wordpress so I am translating some names back. I have pages in menu and when I click on some item it goes to that page. But I need f. e. ...
0
votes
2answers
135 views

Removing the advanced menu properties

As I'm often involved with people who don't know anything about WordPress, a CMS or even the internet :) I try to hide things irrelevant (for them) as much as possible. Normally this would involve ...
1
vote
1answer
119 views

Make a navigation menu in the same post [duplicate]

Possible Duplicate: Looking for a Table of Contents (TOC) plugin for WordPress I have been trying for some time to do one thing: I need a navigation menu inside a Wordpress post which will ...
0
votes
2answers
222 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
279 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. I think I should either force the menu to do this using CSS and width ...
1
vote
2answers
1k views

Separator for custom nav menu

I creating a custom footer navigation in wordpress. I looked all over the wordpress documentation and still haven't found anything. So, what I'm trying to do is add an "|" in the navigation like this: ...
0
votes
2answers
154 views

Adding an external link to wordpress menu

I am currently using wordpress menu like this ... $args=array('menu'=>'menu', 'menu_class'=>'', 'before'=>'<span>', 'after'=>'</span>', ...
0
votes
1answer
448 views

How to make wordpress nav menu use post custom meta data

Using WordPress custom navigation menus automatically gets the menu item label and displays it between the of the menu item, what I need to do is to get a custom field value of the page and displays ...
3
votes
1answer
159 views

Assign title-specific class to list items in menu based on WP pages

I'm currently using a WP-generated list of pages for my site navigation - this is using the method wp_page_menu. I'd like to add custom styling to specfic list items in the menu, and I was wondering ...
1
vote
1answer
534 views

Nav menu of all posts in a custom post type

How can I create a nav like those generated by wp_nav_menu which lists all the posts in a specific custom post type? For example, I have CPT "section1" and I'd like to have the menu list all posts ...
0
votes
2answers
2k views

How do I retrieve menu items from one level only?

The WordPress function wp_get_nav_menu_items returns my whole site's navigation nested and all. Now if i want to get the nav menu for one "level" of that nested navigation only, how do I do that?
0
votes
1answer
198 views

Give Children Unique ID's

Is there a way I can give each wordpress children (subcategory UL lists) unique ID's? I'm creating a dropdown list for subcategories and I want to position them but :nth-child isn't supported by ...
1
vote
1answer
500 views

Is there a wordpress plugin enabling an autocomplete search box, then jump to page?

I have very little experience with WordPress. I am exploring it as a potential solution for our needs. I would like to implement an autocomplete search box (a bit like jQuery's) where users could ...
0
votes
1answer
193 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
1k views

next_post_link / previous_post_link not working with WP_Query

I am trying to add next and previous page buttons to my template, but when I try to use either next_post_link or previous_post_link, it just does not work. Could it be because I am using WP_Query? ...
0
votes
1answer
1k views

the-events-calendar, pagination with tribe_get_events()

i'm using the events calendar plugin and at some place i use the tribe_get_events() function to show the upcoming events. Point is, i need to create a pagination for those results. The ...
1
vote
1answer
4k views

wp_get_nav_menu_items how to exclude sub level menu items?

I have the following function to output a custom menu in select format for a responsive design I'm working on. It's working exactly how I want it to apart from I would need to exclude sub menu items. ...
0
votes
1answer
96 views

first_post_link and last_post_link? [duplicate]

Possible Duplicate: Is it possible to add a first and latest posts link? I'm working on an image gallery website. Here is the navigation code that appears at the bottom of each "view image" ...
0
votes
1answer
462 views

Creating a custom menu with images as each link

In my current template my main navigation is output by a simple wp_nav_menu function. Now I am thinking of replacing it with a unordered list with background images in css. Assuming I do this I need ...
0
votes
1answer
129 views

Advanced Multi Tier Navigation across columns

I've been struggling with this for a while now and need some help. I'm trying to create a quite specific navigation setup for a client. I have a top level navigation which is hard coded and not a ...
0
votes
1answer
327 views

Using categories on navigation bar instead of pages

Check this URL www.linuxstall.com. The top navigation bar has one page (about us). I want the categories there, not pages. How can I do that?
2
votes
1answer
344 views

Previous & Next on Index Page broken

So the Next/Previuos on my index page is broken. It goes to page 2 but doesn't refresh the posts. It will work on my categories and it will work on my posts but it just won't work on the from page. ...
0
votes
1answer
292 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
229 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: ...
3
votes
3answers
2k views

Nav menu separators?

Anyone know of a plugin that can, or have an idea how to, allow a user to drop in separators/dividers between certain nav menu items? Google only seems to bring up rookie CSS tips for first/last ...
2
votes
0answers
511 views

Hierarchical Custom Posts - Highlighting Current Post in Sub-Menu

I have created a hierarchical custom post type called events and have used wp_list_pages to list the sub-posts for each event post (See below). This navigation works great, but I cannot figure out how ...
1
vote
2answers
392 views

Open subcategories in submenu on click in primary menu

I am figuring out a way if we can manage the menu in such a way that when I click on the menu item in the first menu, the sub categories or links that i choose should be displayed in the secondary ...
5
votes
3answers
10k views

wp_nav_menu(), how to change <li> class?

I'm building a menu for my website. The static is looking like this: <nav> <ul id="menu"> <li class="item_1"><a href="#">Item 1</a></li> <li ...
2
votes
2answers
4k views

wp_nav_menu: check if the list item has children and add a class to anchor link

I'm trying to add a class to anchor links of children element in wp_nav_menu both for pages and posts. Is there a way to modify the Nav Menu Walker and do so? Basically my custom walker looks like ...
0
votes
1answer
805 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
172 views

Adding a navigation page state to individual blog and portfolio pages

I'm using a Woo Themes template (Simplicity) for a client's web site. I'm using the portfolio page as the profile pages (Our Trainers). Also have a blog category in the main nav. How do I get the ...