The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
1answer
342 views

Creating an accordion style menu

Is there any way to create a menu with dropdown list like the image below in WordPress ? click to enlarge ⤴ Here, when we click on [+] sign the dropdown menu shows up, I can manage the CSS, but ...
2
votes
6answers
5k views

WordPress admin bar overlapping twitter bootstrap navigation [closed]

I am having an issue with the WordPress admin bar overlapping the twitter bootstrap (2.3.0) nav bar. I have tried this fix: body.admin-bar .navbar-fixed-top { top: 28px; } .navbar .brand { ...
1
vote
1answer
561 views

Primary navigation menu & footer not showing in category / tag page

I tried to find a solution for primary navigation not showing in some pages, ie. archive.php. I found one from here but it's still giving me notices. I'm using Reverie Theme in WordPress ...
0
votes
1answer
54 views

Organizing the Navigation Menu

I have a problem with menu organization. I have a Pages with url "pressroom" and have a Category with the same name. I want to make it a one menu item. Pressroom (sitename.com/pressroom/) page 1 ...
1
vote
1answer
1k views

How to change theme header to support multiple nav menus?

I'll try to be brief.... I have a theme that only supports one navigation menu. At this point I'd like to add 2 or 3 more menus. I have successfully registered my menus in functions.php with ...
2
votes
1answer
162 views

How to move parent li to end of child ul

I'm working on translating a site from HTML/CSS to Wordpress, and I've come across an issue. In the spirit of keeping the site fully customizable from the dashboard, I've been using Wordpress' default ...
0
votes
2answers
195 views

How to add a menu that belongs to parent blog to all child-blogs?

I want to add a menu that belongs to parent multisite blog to all child-blogs. I need the menu displayed in all child-blogs, I mean the same menu on all multisites blogs. How I can do that?
1
vote
2answers
141 views

Is it possible to create a form post wordpress custom navigation link?

I work with a church that has a donate button on their site. The button uses a form post to connect with their simple checkout item and they want a button on the navigation to link to the donation ...
0
votes
2answers
913 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 ...
2
votes
1answer
1k views

Page navigation doesn't show when query category

Problem: when I do www.example.com?cat=4 or choose category through custom menu or from category widget it shows only first page without navigation at the bottom, where it supposed to be. It's the ...
0
votes
2answers
268 views

Ambrosite Next/Previous Post Link Plus or WP next_post_link to cycle through top level category

I have installed Ambrosite Next/Previous Post Link Plus and I'm not sure how to configure it to achieve what I'm looking for. I have a post category like below: Parent category -> Sub category -> ...
0
votes
1answer
205 views

Listing Sub-Pages & Sub-Sub-Pages

So I don't really know why I am having so much trouble with this, it seems like functionality in wordpress that should be a bit easier to working with. Anyhow I need to generate a menu system for a ...
2
votes
1answer
372 views

Make compatible custom menu widget for Twitter Bootstrap

If I configure wp_nav_menu function, I can put the "items_wrap" option to achieve a nice navigation given by Twitter Bootstrap, thus: <ul class="nav nav-pills">%3$s</ul>. But, how to ...
0
votes
1answer
27 views

Wordpress Navigation default output

Could someone please give me the Wordpress default navigation output, i've searched it around but havn't found it. I would like the example navigation to also include one sub-menu link. Or if ...
3
votes
1answer
1k views

Determine if a navigation item has children

I am trying to determine if an item has a sub-item with depth 1 or higher. I cannot find anywhere if there is some function/query I can write that grabs the current item looks in the database if it ...
0
votes
1answer
115 views

How to call either page name as the nav link or navigation title?

I bascially need to just be able to show the polish translated menu or the english menu. The best way I can think of it is: if($languageCookie=='polish'){ wp_nav_menu(use the navigation label ...
-1
votes
1answer
622 views

Open WordPress Page from selected option dropdown

Code/process to get option dropdown menu selection to open page in WordPress with php? Tried all kinds of plug-ins, widgets, but none will make menu that fits requirements of project so far. ...
0
votes
2answers
430 views

Switch form Next/Previous to post title

I want to switch from the Next Post/Previous Post type navigation, to showing the title of the previous or the next post.Here is the code I think needs to be changed, it's form loop-single.php ...
0
votes
2answers
424 views

twentyeleven_content_nav hook no longer outputs navigation link after 3.5 upgrade

After upgrading to 3.5, I discovered that navigation has disappeared outside of the main index page. Theme is TwentyEleven and I've verified that this still occurs after disabling all plugins. ...
0
votes
1answer
229 views

How do I programatically remove Menus?

I know that each menu item is simply post present in nav_menu_item post type. It has has ID and can be removed with wp_delete_post() but posts deleted this way don't remove menus present under ...
1
vote
1answer
520 views

Using dividers in menu navigation - where to add code?

I've identified two methods of separating pages in nav menu on my blog (http://reasonandfolly.com) but cannot figure out what php or css file needs to be modified to achieve the result and will admit ...
1
vote
1answer
125 views

Using characters to separate menus in navigation bar

I’m attempting to modify my blog's navigation menu (http://reasonandfolly.com/) to replicate what is here: http://chimpchomp.us/ Two pieces represent a challenge: 1. The separators 2. The line on ...
1
vote
1answer
764 views

how can i add css class on current page in wordpress wp_nav_menu

how can i add css class on current page in wordpress wp_nav_menu For Example I Want To Use It In Wordpress wp_nav_menu <li><a href="index.php?id=index&colortheme=green" class="selected" ...
3
votes
1answer
4k views

Get the children of the parent category

I'm trying to get all the children categories to display in this loop but I'm struggling with the code. This is what I have so far. <?php $args=array('orderby' => 'name', 'order' => 'ASC'); ...
-1
votes
1answer
252 views

Display sub menus as separate lists

I need to change the way of rendering menu in WordPress - I guess I should write my own walker class but I'm not sure how to bite it. What I'd like to achieve is to render each level of menu as ...
0
votes
1answer
313 views

Theme Location empty

I have a problem. I have a WordPress theme which supports two navigation menus. The primary menu shows all the pages, and the secondary menu displays the categories by default. When I go to ...
5
votes
2answers
375 views

Call custom field into menu item

I have a navigation menu in Wordpress. I would like it to check if the page has a custom field of "menu_icon" and if it does, add that custom field into the menu item it corresponds to. I'm sure this ...
0
votes
2answers
4k 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
1answer
728 views

How to rewrite the output of wordpress nav menu?

I have been trying to figure this out for a while. I need to overwrite the default output of the wordpress nav system. Right now it is like: <ul id="main-nav"> <li ...
0
votes
2answers
2k views

WooCommerce Layered Nav Widget [closed]

Has anyone used the "WooCommerce Layered Nav" widget. I wonder if the attributes could be visible on the single product page?
1
vote
2answers
497 views

Reordering Buddy Press profile navigation [closed]

I am using this code to reorder the positions of the menu items for BuddyPress profile. I am using the xprofile (not sure if that makes a difference). Here is the code that I am trying to use: ...
-1
votes
1answer
168 views

Page navigation not working correctly on index but only on categories

i have a problem with the page navigation, on the homepage of my website page navigation not working, when i click on page number 2 or 3 it says "Not found". But in the categories page is working ...
1
vote
1answer
109 views

Get admin menu link

Is there any way I can get the menu link for admins? http://codex.wordpress.org/Function_Reference/edit_post_link Similarly to the edit_post_link() that returns the edit link for loggedin Admins I ...
4
votes
1answer
404 views

Navigate with keyboard in Gallery shortcode

I am using Wordpress Gallery shortcode and I was wondering if there is a way to navigate using the arrow keys? Like if I view an single image and used the right arrow to navigate to the next image in ...
0
votes
2answers
40 views

How to display numbered pages in a category

How in category.php to output a numbered list of links to pages like: 1 2 3 4 5 when the number of posts in the category exceeds the number of posts to display?
-1
votes
1answer
87 views

Navigation won’t update to show full path to single post

I have a site with a custom post type “projects” and two taxonomies “clients” and “mediums”. For the navigation I’m using a custom nav walker (that extends Walker_Nav_Menu). This all works very well ...
5
votes
1answer
2k 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 ...
2
votes
2answers
528 views

Exclude Private, Draft pages from Primary Nav when using custom menu

I'm looking for ways to prevent "private" and "draft" pages from appearing (to non-logged-in admins) in a site's Primary Navigation menu which is based on a custom menu - other than manually removing ...
0
votes
1answer
37 views

custom header navigation has odd spacing [closed]

Live site. I'm using a custom header on my blog page which features the same coding as my regular heading for nav. The nav looks fine on all pages but the blog page- the Blog button shifts left. Any ...
2
votes
1answer
546 views

Why are navigation items saved in the database?

Maybe I am just not grasping the concept of WP right here but why is everything in Wordpress stored as a post of some type? I have a custom set of tables that house hundreds and thousands of items. I ...
0
votes
1answer
238 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 ...
2
votes
2answers
764 views

How can I implement faceted search with Wordpress 3.x?

I would like to allow visitors to a site to search for posts based on various attributes (categories, tags, custom fields). I have tried using Solr, but this doesn't appear to work. I tried using ...
0
votes
2answers
627 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
352 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', ...
1
vote
1answer
29 views

Using a page as home, how do I prevent nav from setting both home and page links active?

Let's say we have a site with four items in a managed menu, corresponding to pages: Home | Foo | Bar | Baz The "Home" item is a custom link pointing at "/". And we want the "Bar" content shown ...
0
votes
1answer
85 views

Custom navigation bar via wp_list_pages is broken for blog roll

Pretty simple question. I have the 'blog' on my site set via 'reading' to be the page 'blog' located at mysite.com/blog. /blog is hierarchical, in that it has children. I have a custom side bar ...
0
votes
2answers
544 views

Is it possible to put next and previous category links?

I'm not trying to navigate to the next post within a category, but to put previous category and next category under the category description on its archive page and navigate between archive pages. ...
0
votes
1answer
652 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 ...
1
vote
1answer
247 views

Previous/next link to post in category, NOT tag?

On a single post page I have the following code after my loop: <?php previous_post_link('&laquo; %link') ?> &#124; <?php next_post_link(' %link &raquo;') ?> For some ...
1
vote
1answer
317 views

Breadcrumbs - Exclude Child Categories

I am using this code in my functions.php file to display breadcrumbs on my web site.. function the_breadcrumb() { if (!is_home()) { echo '<a href="'; ...