The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
181 views

Can't include Language switch in Nav Menu

I am trying to add to my menu bar some language elements. I'm using the qTranslate plugin and I would like to add the language switch to the menu bar. My them is calling in the header.php <?php ...
0
votes
1answer
153 views

Is wp3.8 / twenty fourteen's Sticky Nav & Responsive - core or theme based

I want to have a twenty fourteen like sticky nav & responsive menu button, in my Genisis 2.0 theme. Before I go to figure this out, is it somehow now native to 3.8 or is it theme dependant. ...
0
votes
0answers
123 views

Programmatically Split A Post Into Multiple Pages

We all know that when you're creating a standard post in WordPress you can split the post into multiple pages by adding this code into the text body: <!--nextpage--> Is it possible to split a ...
0
votes
0answers
36 views

Adding nav menu name from plugin options dynamically

I have added my custom nav menu by this way. function add_last_nav_item($items) { return $items .= '<li><a class="imagesDiv-link" href="#">More</a></li>'; } ...
0
votes
0answers
140 views

Image URL only for custom navigation walker (walker_nav_menu)

I'm attempting to build a custom navigation walker that pulls a page's Featured Image into the page's menu item. I intend to use the Featured Image as a background for the menu item (which is prettier ...
0
votes
0answers
553 views

Foundation 5 Dropdown Top Bar not working in WordPress

I made a 'first version' of a site with help of foundation 5. Now I'm trying to convert it to a WordPress (3.8) template. Most problems have been easily solved, but I can't get the Top Bar to work. ...
0
votes
0answers
20 views

disable menu theme

How can I not display navigation menu in wordpress! I want to display navigation menus based upon the language user has selected. but there primary navigation is always being displayed! How can I ...
0
votes
1answer
85 views

how to hide home nav link in wordpress

I'm trying to hide the home navigation link from the theme boilerplate that I downloaded from underscores.me. Wordpress codex says that its not shown by default, but whether I do this: <?php ...
0
votes
1answer
39 views

Setting Up “Split Site” Navigation in Wordpress

I'm currently attempting to set up a WordPress install for an organization which has two separate devisions. I'm having a very hard time wrapping my mind around how to create two navigation menus and ...
2
votes
0answers
254 views

Add data-icon input to Wordpress custom menu links

I need to add a data-icon="" input to my Wordpress Custom Menu input box thing. This is so I can use an icon font and type the code in for a specific icon and in the CSS use pseudo elements to match ...
0
votes
1answer
83 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
138 views

Why can't I add a custom image in my navigation?

Trying to add a navigation Home icon Failing to work. Here's my nav: <nav id="site-navigation" class="main-navigation" role="navigation"> <h3 class="menu-toggle"><?php _e( ...
0
votes
1answer
324 views

How to avoid the <div> and <ul> which added when custon menu widget is used

I need to remove the custom menu widget <div class="menu-main-container"> <ul id="main" class="menu"> from appearing above the <li>. Because of this two lines my menus are not ...
1
vote
1answer
85 views

Setting a Default 'Theme Location' When Creating a Menu

I'm trying to create a theme which when activated, sets up a primary navigation, adds the homepage to it and then enables it in the correct location. Here's what I've got so far: ...
0
votes
1answer
89 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
0answers
22 views

Archive Navigation with CPT and Taxonomy [duplicate]

Need your help to find how can i put post navigation working on the taxonomy archive page. This code is in taxonomy-custom_name.php . What i need to show on this page is all posts (custom post types = ...
0
votes
1answer
49 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
0answers
36 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
1answer
82 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
255 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) – ...
1
vote
0answers
174 views

Implementing the twentythirteen responsive menu in twentytwelve

I've made plenty of 2012 child-themes in the past as the theme really suits my overall needs, but having it be responsive never was that important. Now however I'm creating a site that really needs a ...
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
1answer
126 views

Where these arguments are defined?

I want to make 2-line navi, and found this code. add_filter('walker_nav_menu_start_el', 'description_in_nav_el', 10, 4); function description_in_nav_el($item_output, $item, $depth, $args) { ...
0
votes
0answers
33 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
1answer
487 views

Show only second level menu items? [duplicate]

Something like this. I would like to get only the second level menu items, not their parent items. Home Sub Menu Item 1 Sub Menu Item 2 About Sub Menu Item 3 Sub Menu Item 4 For example, from ...
0
votes
1answer
77 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
28 views

Add item ONLY to the primairy navigation

this code add the proper "home" to navigation... what i try to get is add home to ANLY the primairy navigation, how do i target the "main" only function new_nav_menu_items($items) { $lang = ...
2
votes
2answers
365 views

How to create different navigation for registered users in WooThemes Canvas?

I'm building a website with wordpress and the Canvas Theme (from WooThemes). I'm using the Top navigation for displaying items when a user is logged in. When the user is not logged in, you can see ...
0
votes
1answer
150 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
394 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 ...
1
vote
1answer
3k views

Customizing Walker_Nav_Menu

I'm looking for a solution to adjust the output of wp_nav_menu only on a specific navigation menu. I have my menu: wp_nav_menu( array( "container" => "nav", ...
1
vote
1answer
455 views

Menu fallback “menu_class” rendering a “div” instead of a “ul”

I'm working on a fallback menu for a WordPress theme I'm working on. The main menu's menu_class renders a ul which is what I want. However, if I use the menu fallback, the menu_class renders a div ...
1
vote
1answer
107 views

Home Custom Menu Link not Working

I'm trying to have the menu link per default when using my custom menus, and in my functions.php document I have this: function home_page_menu_args( $args ) { $args['show_home'] = true; ...
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
0answers
259 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( ...
1
vote
2answers
620 views

List child pages of a specific page

I'm looking for a snippit/function that will list the child pages of a specific page (I guess by page ID) but not necessarily when you are on that page or a child of that page. The parent page ...
0
votes
0answers
182 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
1answer
163 views

Link to previous month's posts

On my homepage I am showing only the current month's posts. I'd like to include a link to the previous month's posts at the bottom of the page. Wordpress has get_month_link ...
0
votes
2answers
2k views

Show children (sub-navigation) of active menu item only

So I've searched the net and attempted to code a custom walker class that will do this, but I'm new to WordPress and although similar questions exist none fit exactly what I'm looking for, or suggest ...
0
votes
1answer
113 views

Wp Nav Menu div containers

Hi I'm wanting to create a custom navigation menu that will require creating div containers to hold the SUB-MENU set. In other words I want to do this: <ul class="left_menu"> <li ...
0
votes
0answers
188 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
2answers
1k views

items_wrap not working

I registered a wordpress menu this way: function nothing_register_menus() { register_nav_menu('header-menu',__( 'Header Menu' )); } add_action( 'init', 'nothing_register_menus' ); I am calling ...
2
votes
3answers
2k views

Strict Standards Error bootstrap navwalker

I am having trouble understanding this error and I've not come across it before, please could someone help? Strict Standards: Declaration of wp_bootstrap_navwalker::start_lvl() should be compatible ...
0
votes
1answer
473 views

How to get Menu Navigation Labels to output HTML

I'm trying to follow Jason Bradley's advice on how to style my Wordpress menus. Specifically, I want to insert an icon before my navigation items using Font-Awesome. I tried putting this code in the ...
-1
votes
1answer
165 views

Custom navigation / menu output (walker?)

I'm trying to implement a responsive jQuery navigation but I need to extend the default output of the WP menu. I believe I need to use a custom walker but honestly, I don't know how to get it to work ...
0
votes
1answer
305 views

Check if current post is the latest (not last)

I'm having problems finding this: I'd like to create a post navigation which checks if the current post is the newest (latest). If it's the latest post it should give older posts as navigation. I ...
0
votes
1answer
39 views

Add pages content to startpage through custom menu

I would like to be able to add page content onto the startpage (index.php). But only the pages that i've added in custom menu, and in that order too. I've been searching for a while now, but can't ...
0
votes
2answers
120 views

remove menu items if user can't read

I want to create one menu for all users and then hide / remove items from the menu if they don't have access to the page the link leads to. This to me seem like an SOP. I really don't understand how ...
0
votes
1answer
40 views

Count > 1 Navigation Slider

I have a post type slider, when you have more than one post to display navigation. My code: <?php $count_slider = wp_count_posts('slider'); echo $count_slider->publish; ?> <?php ...