The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
164 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 ...
2
votes
1answer
249 views

Two Navigation Menus - secondary nav is including main nav

Two Navigation Menus in Themes Produce the same menus? reference the subject on page link above. i created two navs, yet the secondary nav includes all pages. the main nav is fine, but the secondary ...
1
vote
1answer
122 views

How to get correct URLs in network wide menu (Multisite)?

I'm using this function to switch to my main website's navigation and display it on all sub sites in my multisite network. Ideally the links should have the following format: ...
1
vote
1answer
528 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
129 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
255 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 ...
0
votes
1answer
35 views

posts_nav_link on single post template

I have a post type called journal and on the single-journal.php template I am querying the rest of the journal posts like so: <?php query_posts( array( 'posts_per_page' => 4, ...
0
votes
1answer
17 views

add custom classes to anchore in wp_nav_menu

i wana add custom class to anchores in wp_nav_menu outputs. default for example is : <li id="menu-item" class="menu-item menu-item-type-custom"> <a ...
0
votes
1answer
30 views

get_adjacent_post_link excluded_terms ignored

I call the function ´get_adjacent_post_link´ using the argument ´$excluded_terms´. But this argument is ignored. This is how I call the function. get_adjacent_post_link( '%link', '<span ...
0
votes
1answer
43 views

How to remove dropdown from wp_nav_menu

I dont want to have dropdown (select - options) in my wordpress menu, even in mobile or lower width devices. I know I can use css to hide it, but I want to remove it at all. I googled for an hour and ...
0
votes
1answer
11 views

Highlighting Main Navigation Menu With Two or More Class Matches

I believe this doesn't happen very often. I am working on a project in which a child page can show up under several different parent pages. The page actually belongs to just one parent, but in the ...
0
votes
1answer
57 views

Extend walker - navigation, adding data attribute to a tag

I would a data attribute to the a tag in the menu, like have <a href="#example" data-attribute="attribute">CLICK</a> I know that I have to extend the Walker BUT I tried in several times ...
0
votes
1answer
38 views

nav_menu: how to force a subpage switching on the parent menu

I've been using the native wp_nav_menu to output my navigational elements. I have also created a subpage that is nested under one of my menu, but when I hit that URL the default custom walker clearly ...
0
votes
1answer
84 views

Customize Walker_nav_menu to show posts if item is category

I would like to customize the nav menu walker so that when it encounters a category it automatically makes the 5 most resent posts children of the menu item. Is there a way to dynamically add items ...
0
votes
1answer
151 views

Remove nav menu item by script

I want to create my custom nav menu using a script in a wp plugin. I'm almost there using this tutorial. All I need is the option to delete menu entries. something like ...
0
votes
1answer
325 views

How to add menu support to a theme?

I tried few tutorials. All i think is i should use register_nav_menus() and then add the menu in header.php Here is the code i tried in functions.php from this help site itself function ...
0
votes
1answer
199 views

Creating a navigation menu of all posts of a custom post type and their children posts?

I have a drop down menu that displays a link (the permalink) to all of the posts of a custom post type (county) and would simply like to display their children too this is the code I have so far but ...
0
votes
1answer
70 views

How to accomplish a child page navigation?

I'm not finding any info on this, so I'm probably wording it incorrectly in my search. So I'm hoping someone can point me in the right direction. I have 50 pieces of content that'll be going on my ...
0
votes
1answer
86 views

How to output the menue structured for tabbed navigation?

I've got a design for my webpage that uses tabbed navigation with two levels. In this example 'TAB2' tab is selected and it's children item are desplayed below of it. ˬ ...
0
votes
1answer
43 views

Replace Menu Item with Logged in username

I have a topnav menu item that current says "My Account", I would like to change it so that it functions as: Welcome [Logged in Username] -> My Account -> Logout
0
votes
1answer
81 views

Seeting Active Nav for Bootstrap in WordPress

OK , I have a Custom Theme generated by Bootstrap. Currently I just added a Navbar (navigation to the theme and I am having trouble on setting ACTIVE navbar in each active page.(by adding active class ...
0
votes
1answer
218 views

How do I show a different secondary navigation menu for each section of my website?

My site is organised into three sections, like this: Reiki Basics (page ID 499) – page 1.1 – page 1.2 – page 1.3 Practice & Study (page ID 501) – page 2.1 – etc Courses (page ID 471) – ...
0
votes
1answer
73 views

Using Different nav_menu_css_class for different nav_walkers

On my theme I have to different nav_walkers, I'd like to be able to call two different nav_menu_css_class-es for each menu alas, they appear to apply globally. Here's what I have function ...
0
votes
1answer
143 views

Update nav menu item position programmatically

I've tried adding a new programmatically on wordpress with the function: wp_update_nav_menu_item($menu, 0, array('menu-item-title' => $title, 'menu-item-object' => 'page', ...
0
votes
1answer
378 views

Get all first images of posts in same category

I am trying to build a list of thumbnail images linked to their associated single content pages within the same category. So, when I am in the category of 'x' the list returns all image attachments ...
0
votes
1answer
26 views

Navigational error

Basically I have an image for a header and I changed the link behind that to go to the main website and was planning on making a news option in the menu to link to the blogs main page, after changing ...
0
votes
1answer
204 views

Post in multiple categories do not include in previous / next post if one category in excluded

I have read the following post which appears to solve my problem but doesn't... excluded_categories parameter in next_post_link() behaving unexpectedly I have posts in say 3 categories but if they ...
0
votes
1answer
1k views

How do I implement jPanelMenu?

I have serious problems trying to implement jPanelMenu to the theme I'm building. The theme is nearly finished, I'm just trying to figure out this menu and I can finally start using it. Anyways, if ...
0
votes
1answer
101 views

Walker for menus

I want to modify all of my <li>'s classes and ids, but the function wp_nav_menu() does not let me do so, so I think I need to use a walker. I am pretty new in OO, so using an object is not ...
0
votes
1answer
1k views

Sticky menu for WP custom menubars

This seems simple, except that I am not able to figure it out. In a wordpress theme, how can I make a custom menubar below the header image stick at the top after scrolling down the page? Example ...
0
votes
1answer
216 views

Bookmark anchor link to load another page first before completing?

Question: is there a way for a link to an anchor bookmark to arrive at its destination by loading another page first? I'm developing a vertical-scrolling style website where the home page displays ...
0
votes
1answer
62 views

wp_nav_menu: indicate by id page grandparents

I have an web site with top-header menu and sidebar menu. Situation, like: header menu: books music movies (if we are now under music) sidemenu: blues jazz dance (if we are now under "Jazz") ...
0
votes
1answer
114 views

Tabbed navigation in widget backend

I have just created a widget and i am trying to implement a tabbed navigation in the wp backend but it just seems more difficult than writing all the php code! The categories metabox is an example of ...
0
votes
1answer
137 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
1answer
157 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
32 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" ...
0
votes
1answer
160 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
91 views

Nav Menu Display

Hi I'm wanting to create a custom navigation menu that will require creating 2 div containers to hold the SUB-MENU set. In other words I want to do this: <div id="access"> <div ...
0
votes
0answers
35 views

How can I call menu_class into this PHP script?

For mobile navigation I would love to call menu_class and drop it in below "foreach ( (array)". Ideas? Everything I've tried won't work. New to PHP, thanks / cheers :) <?php ...
0
votes
0answers
20 views

Child navigation within a menu

I've managed to create a dynamic menu. However, I need to place an inner menu within that, like so: List Item List Item List Item List Item List Item List Item List Item And I currently have: ...
0
votes
0answers
32 views

How to make page navigation just below the content?

I use the P2 theme, and find that the page navigation is not right blow the content, how make it correct? You can refer my site here.
0
votes
0answers
15 views

Hereditary Subpages Nav

I'm trying to create an automatically generated navigation using Wordpress child pages - which will only show the next child pages down from the selected one (example page). You'll see that I can get ...
0
votes
0answers
31 views

Previos and next post navigation - set to all posts not category

I have the following code which adds post navigation to the bottom of single posts. It currently displays the next and previous posts from whatever category the post is assigned to but i'd like it ...
0
votes
0answers
51 views

Query a range of pages by menu_order

I'm trying to figure out how to do the following type of query: I want to return up to 12 posts (0 thru 11) by page/menu_order. If there are more than 12 posts, but only 5 pages have an order assigned ...
0
votes
0answers
40 views

Creating a custom menu with icon fonts

I want to create a custom menu with icon font markup. So I may need to have my list item have e.g. this: <i class="gen-enclosed foundicon-left-arrow"></i> contained inside anchor - or ...
0
votes
0answers
239 views

Remove <ul> from wp_nav_menu() wordpress

I am using the theme Twenty Thirteen and am using wp_nav_menu() to display menu items. I need to remove the container <div> and <ul> from wp_nav_menu(). I tried this: wp_nav_menu( array( ...
0
votes
0answers
176 views

wp_get_nav_menu_items() returns an empty array under tags archive

I have three nav menus and for some reason under tags archive wp_get_nav_menu_items('MenuName') returns an empty array. Frontpage, posts, pages are OK, but when you go into tags archive, no items ...
0
votes
0answers
180 views

displaying child pages in columns when on a parent page

I would like to display sub pages in columns. Some parent pages have a lot of sub pages and the scroll is very long. I am currently using the below code to display sub pages. ...
0
votes
0answers
60 views

How do I paginate posts page with $wpdb?

I am using this to get the posts: (...) if ( empty( $categories_defined) ) { $posts = get_posts($args); } else { global $wpdb; $posts = $wpdb->get_results( $wpdb->prepare( "SELECT * ...
0
votes
0answers
28 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 ...