Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
145 views

individual images as navigation design TwentyTen

I can't figure out a solution for changing the black bar in Twenty Ten to individual background images behind each link. Using an image I created in Photoshop I have tried changing a few things in the ...
0
votes
0answers
29 views

Outputting Page Content in Two Places

I am working on a site for a client that is going to be structured very similarly to a store (though without the e-commerce capabilities). I am getting a bit hung up on how to output page content in ...
0
votes
1answer
185 views

New posts label category with “new”

I have 3 different custom post types, with each type forming my main navigation. When I post something new under one of them, I want that category in the nav to be marked with a "new" label for a ...
0
votes
1answer
50 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
35 views

Wordpress Navigation

I have my html code for menu as follows: <div class="menu"> <ul> <li><a href="index.php" >Home</a></li> <li><a href="aboutus.php" ...
2
votes
2answers
1k views

How to set limit only on top levels of wp_nav_menu?

How can I set a limit to the top level menu items in wp_nav_menu? Example: I have this menu in my admin dashboard: I would like to count ONLY the top level items and display a limited number of ...
2
votes
1answer
461 views

Nav Walker current menu item not displaying

I'm building a theme on top of a starter theme (wp-bootstrap) and am having trouble getting the Nav Walker to show the current menu item. current-menu-item is not there when I use a web inspector on ...
0
votes
1answer
108 views

Using _s theme, menu changes do not affect header menu

I'm using the _s theme and seeing the header menu point to 'Home' and 'Sample page'. in functions.php, we have register_nav_menus( array( 'primary' => __( 'Primary Menu', 'mytheme' ), ...
0
votes
1answer
432 views

Custom post type navigation - 404 on page 2

I have a custom post type portfolio and now I'm trying to enable navigation for the template where 10 portfolio items are shown. I'm using the following code to query the posts: if ( ...
0
votes
1answer
62 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
48 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
620 views

Costum walker with sub menu item count

I have a menu like: -Item1 --Sub1 --Sub2 --Sub3 --Sub4 --Sub5 --Sub6 -Item2 -Item3 and want to do some costum stuff after x subitems, so I have to determine when x is reached. I tried to define a ...
0
votes
1answer
164 views

Navigation link to specific user page

I asked this question and got a great reply - Associate Page with User - so I can now associate a post with a specific user as required. What I want to do is include in the main site navigation a ...
0
votes
1answer
1k 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 ...
1
vote
2answers
2k views

Using query_posts inside single.php loop

Inside of my loop in single.php, I used a custom query using get_posts to return posts belonging to a certain category. <?php global $post; ...
0
votes
2answers
493 views

How can I add a delay to the collapsible menu in Twenty Eleven?

The navigation menu closes immediately upon moving the mouse outside of the menu item's area. How can I introduce a delay that will keep it open a second or less to keep visitors from becoming ...
-1
votes
1answer
382 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 ...
3
votes
6answers
6k 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
634 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
170 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
219 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
144 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
1k 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
289 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
258 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
416 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
28 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
2k 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
117 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
650 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
505 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 ...
1
vote
2answers
444 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
271 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
2answers
547 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
144 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
862 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
5k 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
278 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
350 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
409 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
5k 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
836 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
3k 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
550 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
200 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
125 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
451 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 ...