A structure with links used to help you navigate from page to page.

learn more… | top users | synonyms

0
votes
0answers
15 views

Secondary navigation with children and grandchildren pages

I am trying to get a navbar working which has two parts. One main part at the top of the page and one part in a sidebar-like column on the left. The navigation in the "sidebar" shows all the children ...
-1
votes
0answers
29 views

Header.php toggle navigation button not working [on hold]

I am using bootstrap to customise my blog theme. Then I have used collapsable navigation bar in my header.php page. The problem is the toggle button is not toggling the navigation menu. I am not able ...
0
votes
1answer
39 views

Show posts count for Categories and Tags in wp_nav_menu

I'm trying to show WooCommerce Product Categories, Post Categories, Product Tags, Post Tags and Custom Taxonomy posts count in main navigation using wp_nav_menu. My WP_NAV_MENU code &...
1
vote
0answers
24 views

Conditional Nav Menu Inside Nav Menu Across Multisite Sites

I am attempting to use the main site menu across a bunch of sub-sites in a WordPress multi-site configuration. The sub-sites use the main site's navigation. However, I want to omit one tree of links ...
0
votes
1answer
422 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
18 views

Is it possible to seperate wordpress menu by different div?

I'm looking for a way to display a WordPress menu separating its links into different divs like this: <div class="col-2-4"> <p><a href="">link</a></p> <p>&...
0
votes
0answers
13 views

how to adding css classes when it has 2 level children true wp nav_walker

I need to create a website true bootstrap 2.3.2 ( cause of sub-menus). and it has 3 or 4 level in menus. <div class="nav-collapse collapse"> <ul class="nav go-right"> ...
0
votes
1answer
637 views

Can I output a custom taxonomy as a submenu in the site navigation menu?

I'm building a WP 3.2 site with a couple of custom post types and taxonomies. I'm calling one of these custom post types programs, and its associated taxonomy is called topics. I'd like to add an ...
0
votes
1answer
474 views

wp_nav_menu() doesn't work

I'm working on a theme with custom menus, currently using WP 4.0.1. I'm registering two menus in functions.php: register_nav_menus( array( 'primary' => __( 'Main Menu', 'wsy' ), ...
-1
votes
0answers
10 views

Add custom Navigation and footer in Magazine theme

I am having one website where we have navigation menu and footer are coded in asp.net using jquery. One of the link from this website points to WordPress blog. Now when user comes to wordpress blog I ...
0
votes
1answer
2k 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
3answers
866 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 ...
1
vote
1answer
29 views

Custom Static Links For Specific Menu Right Before/Next The wp_nav_menu Function now working

I am trying to add custom links next/before my built in menu, specifically for main_menu. I have placed this in my functions.php and have given list-items in nav-menu-after.php and also in the before ...
0
votes
2answers
723 views

Add ID to target navigation link

I am using the following code for a navigation bar on a WordPress website: <?php wp_list_pages("title_li="); ?> Which currently spits out some links that look like: <a href="http://...
1
vote
2answers
832 views

Blending Foundation's Tabs with Wordpress Nav Menu & Display Active Tab

I am currently working with ZURB's Foundation Framework. It's a terrific framework and my project is coming along a lot nicer and quicker than it would have beforehand. Foundation comes with CSS/...
0
votes
1answer
2k 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 ...
1
vote
3answers
909 views

Problem excluding category from get_next_post

I have a custom post type called "exhibitions" that uses the native "category" taxonomy. I have three categories: Current, Past, and Featured. Posts get marked either Current or Past and some are also ...
3
votes
1answer
39 views

Add class to menu ul with active child

I'm trying to add the class is-active to the ul when the ul has an active child. This is because Foundation requires that (i'm using FoundationPress as a base theme) This is the markup i'm after: <...
0
votes
2answers
758 views

Bootstrap dropdownl nav pills not working as wordpress drop down menu

I am using Bootstrap nav pills with drop-down items as WordPress menu, the menu without drop-down is looking good but when I add nested ul as drop-down the menu not working as expected.. HTML <...
1
vote
2answers
531 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. <?...
1
vote
1answer
462 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 wp_delete_nav_menu_item($...
1
vote
2answers
780 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 ...
0
votes
1answer
503 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
0answers
25 views

How to add odd and even classes to all nav links through walker?

I kept finding posts that explain how to add even and odd classes to sub-menu items, but can't seem to find how to add it to the main menu items that do not have sub menus. I've already checked out ...
3
votes
1answer
43 views

Generate a tabbed submenu — from taxonomy term or submenu item — with sample content

I'm looking to generate a tabbed submenu from taxonomy term or submenu item and include sample content (three items per term/submenuu item). The styling I can do, the problem is the html generation. ...
3
votes
1answer
27 views

Removing link '<a>' from '<li>' menu for some “links” without JS

I want some of my navigation menu items to show plain text, without a hyperlink. Usually, this code appeared: <ul class="..." id="..."> <li><a href="">my item</a> </li> &...
0
votes
0answers
18 views

Fallback dosen't work when not using 'menu' attribute

I want my fallback function to be called when the menu doesn't contains any items. And if I specify the menu name, it works. But not when as I below comment away that attribute. Now nothing happens. ...
0
votes
1answer
14 views

Output sort number in wp menu list item?

I want to output the sort number of the list item in it, in the wp menu. No, not by using ordered list <ol>. I have tried search for answers about this by searching on wp forum an reading the ...
0
votes
1answer
24 views

Add newsletter signup element to navigation bar

I've been researching here and on other dev/WP sites to find the best solution for adding what is effectively a custom element to the navigation menu, and it seems like there are many approaches. ...
2
votes
3answers
141 views

How can I limit the length of the previous/next posts in my Wordpress Theme?

I am using the following code to show next/previous posts in my wordpress theme. <?php previous_post_link('<span class="left">&larr; %link</span>'); next_post_link('<span class="...
0
votes
0answers
13 views

Why does my menu disappear if I set it to something other than '--Select--'?

Trying to style it - so that it has a drop-down toggle button. So I wanted to change the files. But the other menus - that would have child elements - don't play nice with the customizer. I'll edit ...
11
votes
2answers
220 views

How to give paged links custom title?

I have split my post content into mutiple pages using the <! - nextpage -> code. I want to give my paginated links their own title instead of the regular 1,2,3. How can I do this? cause on this ...
1
vote
1answer
20 views

Wordpress is adding margins and padding to my custom menu?

I've installed wordpress on my computer so I can learn how to make custom themes and test them locally. Currently I'm playing around with some pre-made code from a tutorial so I can get more familiar ...
1
vote
2answers
30 views

How to remove background image from post navigation elements?

I am using a theme which shows the featured image as background image in post navigation elements (next and previous links on a single post). But I want to remove these background images. Here is ...
0
votes
0answers
13 views

Change name of links in menus automatically when title of page changes

I have created a menu (Appearance -> Menus) and placed desired pages I want to have there as links. I did that for multiple languages, and I also have a few other menus for footer and sidebar. In the ...
2
votes
0answers
19 views

Select menu should display categories and the item's depth

I have a select menu of a custom post type in the header.php: <?php $selectloop = new WP_Query( array( 'post_type' => 'products', 'posts_per_page' => -1 ) ); echo '<form>&...
2
votes
4answers
3k 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 ...
1
vote
2answers
2k views

Adding different classes to anchor in navigation menu

Is this possible? I want to add different classes to the anchors, so not the same on all anchors. How can I do this? PS: I am using this: function add_nav_class($output) { $output= ...
0
votes
1answer
17 views

How to add columns to wordpress menu editor

Wondering if someone can point me in the right direction. Currently, I'm trying to figure out how to add columns and headings to sub menus. Naturally I want to create a basic megamenu where I can add ...
0
votes
2answers
42 views

Show a page counter for pagination

I currently have simple pagination set up showing the text older and newer. If one of the text isn't needed it display an 'inactive' version of it so that the text doesn't disappear. <?php if( ...
0
votes
0answers
39 views

how to made customize wp_nav_menu walker with search box

how to made customize wp_nav_menu walker with search box. <ul class="main-navigation"> <li class="course"> <!-- <a href="#">Course</...
0
votes
0answers
17 views

Problem with sub-menu container

I try to add container for of main navigation menu. This is entire functions.php of my custom theme: <?php function gzabrze_menu() { register_nav_menu('glowne',__( 'Menu Główne' )); } ...
0
votes
0answers
104 views

get_adjacent_post - in same term or category not working

I am building a Next and Previous Post navigation for my 'Single post' pages, inside a plugin. What I am trying to do is get the Prev/Next post within the same category of a Custom Post Type. So I ...
0
votes
1answer
111 views

How does the 'the_post_navigation()' work for CPT's

In the twentyfifteen theme on the single.php template they are using the fairly new function 'the_post_navigation'. It seems to work for Custom Post Types (CPTs) but I cannot figure out how it does ...
2
votes
3answers
7k views

How to use the_posts_navigation for wp_query and get_posts?

WordPress have the_posts_navigation function since 4.1.0. But I don't know how to use with wp_query or get_posts. the following code is in a template file of page.wp_query method: <?php if ...
-2
votes
2answers
65 views

Fatal error: Call to undefined function the_posts_navigation()

I'm following a tutorial which is using WP 4.0 and _'s. I'm getting the following error and I don't know why. Fatal error: Call to undefined function the_posts_navigation()
1
vote
2answers
47 views

How to have custom menu Item CSS Classes for wp_page_menu() or wp_list_pages()

I want to add custom classes to my menu items. For every subpage I show its siblings as a navigation: global $post; if ( is_page() && $post->post_parent ) { $...
0
votes
0answers
17 views

How to Use Default Auto-Generated Menu?

I have a site with a decent number of pages (130+) and it is organized using the Parent functionality of each post. This works well. I'm trying to use a mega menu plugin, but it wants me to select a ...
1
vote
1answer
53 views

Twenty Fifteen: Adjacent posts by menu_order [duplicate]

I'm using the Twenty Fifteen (child) Theme and want to display the previous / next post links with the background image for my hierarchical custom post type. It is being displayed, unfortunately the ...
-2
votes
3answers
47 views

Wrapping my <li>'s with <a>

Whats the most simple way to change my wp-menu generated output from <li><a href="">nav link</a></li> to <a href=""><li><li/></a>? Do I create an array ...