The navigation tag has no wiki summary.
0
votes
1answer
168 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 ...
0
votes
1answer
732 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
156 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?
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 ...
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
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
2answers
373 views
Add class to navigation link of page
On my Wordpress site I have a three level navigation. In the second level of every main navigation item is a "toolkit" page.
I would like to highlight this page in the navigation. Is there anyway ...
0
votes
1answer
181 views
Displaying Custom Posts
I came across a strange problem while working on my dev environment for a site we're making. We have custom post types, so I'm not sure if that's the reason why it's not working correctly. However, I ...
0
votes
2answers
901 views
confused about wp_list_pages() function - how to display selected top pages with all their subpages
I'm a bit confused about wp_list_pages() function.
Lets say I have 3 top level pages (with no parent) and each of them have some sub-pages:
page 1 [sub-pages: 1.1, 1.2, 1.3];
page 2 [sub-pages: ...
0
votes
1answer
409 views
Hoe to add rel=“nofollow” to wp_list_pages
I'd like to use the wp_list_pages as a navigation bar, but I don't want the links to be followed. This is the simple version of the code I'm using <?php ...
0
votes
2answers
334 views
Add #content to next_image_link()
I am almost completely happy with a new site I built - see http://www.fatasbutter.com.au/gallery/the-music/attachment/019/
As a final touch, I want to add #content to the end of the link location for ...
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
1answer
48 views
Custom Post Type Navigation on Custom Field
I'm working on a Custom Post Type sorted on a Custom Field. No problem when I list out the posts. But when I go to the single post page for one of these, I want the Prev and Next navigation links to ...
0
votes
1answer
41 views
New Page Position
I am building a wordpress theme for personal use. I am facing a challenge for the first time and I really don't know how to achieve what I want. The website's header structure is: FIRST LINE: logo / ...
0
votes
1answer
40 views
Possible to hide Page if no posts from a CPT?
I was thinking this would be an easy solution to accomplish, but I'm stuck since Main Pages in the Front-End are arrayed automatically.
Basically I created individual pages to display specific Custom ...
0
votes
1answer
27 views
Customizing a permalink
Good Day All
I have a featured slider on the home page that can call a category from which it gets its featured content. Now, for each featured slider, I made a post with category 'featured'.
Now the ...
0
votes
1answer
375 views
Dynamically changing navigation links (next and previous) via AJAX
In my wordpress site, I have inside the loop of single.php , a select tag in which the options are the posts of the current category returned via a custom query.
On changing selected option, I have ...
0
votes
2answers
348 views
Menu Arrow for Child Element
I have a menu for a website I am designing and there are parent and child elements...I was wondering if there was someway I could add an arrow to my navigation if the parent has a child element?
My ...
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
2answers
118 views
Custom ID for certain menu item?
I'm displaying Wordpress menu using this function:
wp_nav_menu( $args );
Menu is set in wp-admin/nav-menus.php.
Can I somehow attach ID of my choice to one of the items? I want the menu to look ...
0
votes
1answer
126 views
navigation doesn't work in custom header.php
I've made a custom header-blog.php(for blog page/home.php) in addition to header.php, both of which use the exact same <nav> code. On the pages that use header.php, the navigation works ...
0
votes
2answers
184 views
Multiple menu items highlighted
I am using WordPress as the CMS for my website. For my navigation menu, I am using WordPress' inbuilt navigation menu function. You add categories, page, etc, to this and it generates a list with ...
0
votes
1answer
186 views
remove older posts link [closed]
I use these following codes to delete older posts and newer posts links in functions.php but it still shows them.
function remove_post_navigation() {
remove_action('thematic_navigation_below', ...
0
votes
1answer
149 views
How to make a plugin auto-add item to nav menu
I'm building a contact information plugin that writes data to a page. So far, so good. What I would like is to build a function into the plugin that adds a navigation item to the main nav bar on the ...
0
votes
1answer
106 views
Listing all child-pages of a parent-page on the parent-page and each child-page?
I have a parent page called "About". This page has three child pages "Members", "Information", "Contact".
I want to list all the child-pages on all four pages, also the parent-page.
So right now I ...
0
votes
1answer
503 views
Next/Previous links doesn't work in the same category
I created a category and call it "Blog". Then I created some posts and assign "Blog" as category for the posts. So I'm trying to go to previous/next into the same category and doesn't work. Here is my ...
0
votes
2answers
211 views
Sliding pages + wordpress [closed]
do you have any idea how to achieve such effect with wordpress?
http://www.papajastudio.pl/
http://soulwire.co.uk/
I mean the navigation. i want to have simple cms to edit website content + such ...
0
votes
1answer
453 views
Add span in top menu item with nested itens
I found examples adding a class to top level itens, so we can display an arrow in menu itens with subitens, but is seems terrible to cope with the already builtin WordPress classes, can't display the ...
0
votes
1answer
254 views
Custom nav menu not showing
I want to make a custom menu that will be a select-box,
I registered a custom menu:
add_action( 'init', 'register_my_menu' );
function register_my_menu() {
register_nav_menu( 'primary', ...
0
votes
1answer
33 views
Ordering Pages and Increasing Navigation
Is there a way of ordering my pages on my WordPress site so they appear in the navigation bar of the order i choose?
ALSO:
When i have too many wordpress pages for the navigation, it hides some pages. ...
0
votes
1answer
181 views
How do I display a greyed out next_post_link when there is no next post
Wordpress hides the next and previous post links if there are none, but for the sake of visual consistency I'd like to serve up a greyed out version of the link when there is no next or previous post.
...
0
votes
2answers
263 views
Nav Menu – Add class based on meta keys
I'm trying to find a way that changes the classes of the different nav menu items, based on the value of a meta key in the page.
The menu currently looks like this:
<li ...
0
votes
1answer
109 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
199 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
128 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.
...
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
759 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 ...
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
1answer
122 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 ...
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
443 views
How to show next/prev link, when it's not active?
When on the first page of blog wordpress shows only "older posts" link because there are no newer posts, but i would like to show also the "newer posts" link but style it as inactive.
i need to do ...
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
212 views
Updated WordPress, now Navigation is Messed Up
I recently updated the WP of a friend's site that I'm working on. Now his navigation bar is messed up and I'm new to WP so I'm not sure where to go to fix it.
Here's the site:
...
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
2answers
652 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
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
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. ...
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 ...
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 ...