Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
29 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>', ...
-1
votes
0answers
12 views

My drop down menu is not working in IE [migrated]

I have created a custom menu in the wordpress. That menu has pages with childs. The drop down menu works in firefox and chrome but did not work in IE. Here is my CSS code. /* =Menu ...
0
votes
1answer
23 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
24 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 ...
0
votes
0answers
33 views

How do I write a Walker for wp_list_pages for permalink URLs?

Follow up on this question. I'm basically trying to replace the WordPress generated URLs with anchor tags. So instead of href="full-url" it would be href="#slug"
0
votes
1answer
17 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
1answer
25 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
0answers
26 views

get item id in custom walker end_lvl function

I'm building a drop down menu with additional box aside the sub menus with information from custom meta box from the parent menu page. The issue I ran into is I cant get the parent menu item id in the ...
0
votes
0answers
11 views

How to get sub-nav pulldown to show? [migrated]

I need help with the navigation bar on my site. This is the relevant header.php code: <div class="topnav"> <ul class="menusm"> <li><a href="<?php echo home_url(); ...
0
votes
1answer
54 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
53 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
17 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
30 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? ...
-3
votes
0answers
53 views

Previous_posts_link and next_posts_link not showing in custom query with foreach [closed]

Possible Duplicate: Wordpress pagination with wp_query_columns I'm not having anu joy with my previous and next posts links using a custom foreach. Any ideas? Many thanks. $paged = ...
0
votes
1answer
56 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
118 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
25 views

first_post_link and last_post_link?

I'm working on an image gallery website. Here is the navigation code that appears at the bottom of each "view image" page: <div class="previous <?php if(!get_previous_post()){ echo 'inactive'; ...
0
votes
1answer
46 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
27 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
16 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?
1
vote
1answer
52 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
41 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
37 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
102 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 ...
0
votes
0answers
17 views

Duplicate and place an existing menu on 'iEducation' wordpress theme

In this wordpress theme (iEducation theme link) I want to duplicate the 'black' navigation menu right below the current one so that I can add more pages to the menu. Can you please tell me the ...
1
vote
0answers
78 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
3answers
41 views

how to make a menu in such a way that when i click on a catgeory in primary menu sub categories should appear in secondary 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 ...
2
votes
1answer
243 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 ...
0
votes
2answers
240 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
83 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
2answers
38 views

Removing links to current pages

Okay, I give up. How do you remove links to current pages from the navigation bar in Wordpress? For example, I don’t want to see the Home navigation link on Homepage or About Us link on About Us page. ...
0
votes
1answer
40 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
1answer
141 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
42 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 ...
-1
votes
1answer
66 views

Changing color of specific tab of top menu !

I am messed up with a problem and still i am unable to find it's solution. I am trying to change color of only 1 tab in whole navigation menu ! I mean if my navigation bar include 5 tabs and i want ...
0
votes
0answers
44 views

Adding a menu item to wp_nav_menu programaticcally

I'm writing a plugin and I'd like to give users the option to add the plugin's custom post type and it's children to the wordpress navigation. Is there any way I can add links to wp_nav_menu ...
0
votes
1answer
81 views

Add custom ID to wp_nav_menu list items

Is it possible to assign specific ID's to wp_nav_menu list items? For example, if my menu contained links for "Home", "About" and "Contact", could I assign the "Home" list item and ID of "home"?
0
votes
2answers
79 views

wp_nav_menu not appearing for a couple pages

I solved the problem with the page, the correct answer is ptriek's comment below Well I'm having a bit of an odd problem here, wp_nav_menu works on all pages EXCEPT my category pages (probably my ...
0
votes
1answer
49 views

How to get rid of the home link in nav menu?

I am using the following code for my navigation structure. Currently it shows a home link in the navigation. Why does this show? and how would I get rid of it by changing this code. <?php ...
0
votes
1answer
24 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
0answers
170 views

Navigation in Twentyeleven using twentyeleven_content_nav?

I have a tabbed setup similar to Twitter. First tab (jquery ui tabs) shows news posts relating to a company like so: http://beernews.org/brewery/sierra-nevada-brewing/ Up to 20 posts are displayed at ...
0
votes
1answer
68 views

Is there a way to change the specific markup generated in the nav?

Is there a way to customize the markup generated by the nav functions?
0
votes
2answers
109 views

Dropdown list of a custom post type

I have a custom post type, Doctors, that I need to create a dropdown nav for. I just want it to populate a select list with all the posts of that CPT and navigate to that post on selection. I'm ...
0
votes
2answers
67 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: ...
2
votes
1answer
151 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
0answers
35 views

One-page template from nav_menu elements

I've found a nice site template for a customer, but I'm stuck at the idea. Basically I thought I use page listing to create a simple layout, than do the magic with JS, but the customer said that ...
0
votes
2answers
75 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
74 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
2answers
508 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
128 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 2 3 4