The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
26 views

Missunderstanding of Wordpress menus

I made my first Wordpress plugin and I have couple questions regarding menus. When I activate default Wordpress theme "Twenty Fourteen" I can see navigation menu on top of page. My plugin, upon ...
0
votes
1answer
15 views

Children Pages Displaying Only Intermittenty

Created a sidebar that lists WP's default pages' children. Yet there is some intermittent behavior where the sidebar lists the directory correctly on one page, but nothing on another. Live examples ...
0
votes
1answer
151 views

Display Menu Navigation Label

How to get Navigation Label as should be of the menu I'm using this code <?php $locations = get_registered_nav_menus(); $menus = wp_get_nav_menus(); $menu_locations = ...
0
votes
0answers
24 views

How to add scripts or attributes into wp_nav_menu?

This is my original list Menu which inlude the scripts. <li> <a href="/" data-start="color: rgba(255, 255, 255, 1);" data-300="color: rgba(160, 199, 52, 1); ">Home ...
0
votes
1answer
268 views

How to add schema.org SiteNavigationElement and property URL to navbar?

I would like to add the schema.org SiteNavigationElement and the relative url property to the links of the navbar. I have the following: <nav class="navbar navbar-default navbar-fixed-top" ...
0
votes
2answers
58 views

How to make an anchored page in a navigation menu tab

In my header navigation, I would like a menu tab to direct the user to open a page and directly take them to an anchored point in that page. Does any one know how I can accomplish this in WordPress? ...
0
votes
1answer
46 views

Target Internal Link Of Another Page On Website

In the Edit Menus page, you can select an internal page to link, or an external page. I am building a giant single page where the hyperlinks target internal page headings, for example I have one of ...
0
votes
0answers
14 views

Loop within category's posts

I'm trying to figure this out since a couple of days, and even though it should be a quick and easy thing, I couldn't find any workaround. I've 4 categories, and each of it has between 10 and 40 ...
0
votes
1answer
111 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' ), ...
0
votes
0answers
46 views

How to add navigation in footer like StackExchange?

I want to add more number of navigation menu in footer area, how to do this? For example: There are four columns. Each columns has headings. Each heading has three navigation links. First column ...
0
votes
1answer
21 views

Menu is not displaying on the site navigation [closed]

I am using Axis Wordpress theme. I have created a new page and added it to the menu. But when I visit to the site I am not able to see the menu navigation link. I don't see any page to navigate and no ...
0
votes
0answers
19 views

Wordpress menu - return link

is there any way to add a "back" or "return"-link to the Wordpress-Menu? The only option I can see is "Link", meaning it has to be a valid site.. When using javascript:history.go(-1), the text is ...
0
votes
0answers
30 views

wp_nav_menu not selecting teh correct menu

I'm having a weird issue. I have 2 menus, and registered them in functions.php, like this: add_theme_support( 'menus' ); register_nav_menu( 'primary', 'Top Nav' ); register_nav_menu( 'footer', ...
0
votes
0answers
35 views

Previous Next Post Link by Post Rank Value Stored in Another Table

I'm using the Q2W3 WordPress plugin to sort posts by category. This plugin allows a drag-drop interface to change the default post order and modifies the standard taxonomy output so that posts on the ...
0
votes
0answers
28 views

Page auto link to the ID

I'm trying to make the page slug as their ID. Because I'm making one page site. Here is my code <?php global $post; ?> <article id="<?php echo $post->$post_name; ?>"> then I ...
10
votes
4answers
724 views

Split up wp_nav_menu with custom walker

I am trying to create a Menu that shows a maximum of 5 items. If there are more items it should wrap them into another <ul> Element to create a dropdown. 5 Items or less: 6 Items or more ...
0
votes
0answers
45 views

Fix “Error 404” page's navigation for portfolio

Either it just happen, either I didn't saw it before, but when I go into Portfolio, the limit is 12 then there is a page navigation at the bottom (up to 3 pages long). When I click on page #2 or #3, i ...
0
votes
0answers
112 views

Top level ancestor ID of current page in navigation menu

I want to get the ID of the top level ancestor in the navigation menu. So I want to do a function that retrieves id of "TLA" from this list: Menu - Submenu TLA <- Need its id - Submenu 1 - - ...
0
votes
1answer
112 views

WP Super Large Menu Problem

Hey Folks! I am looking for the best WP practises to handle mega large menu. My navigation menu has about 400 links, so if I create just a single menu, then it looks so ugly... I could divide it into ...
0
votes
1answer
226 views

Calling the first & last post by category in custom post type

I have custom post type for comics, called “comic” and have written a basic comic navigation. First —previous — (current) title — next — and last comic. In functions.php, this code calls for the ...
-2
votes
1answer
36 views

How do I turn this form into a search form? [closed]

Hi I have an expanding search form inside the wordpress header and would like to make it work with my theme? https://jsfiddle.net/u08cutgf/ <div class="search"> search <input type="text" ...
1
vote
0answers
31 views

How do you add a <div> around the second level of a Menu?

I've been searching around online and reading up on walkers but I can't figure out how to do this. Basically I need a <div class="sub-container"> wrapped around the second level of the menu but ...
0
votes
1answer
211 views

How can I add a fixed vertical menu to my site? [closed]

I'd like to have a vertical (secondary) menu on some sub-pages of my site. It should be fixed (will stay as the viewer scrolls down the screen). I'm currently using the Q2W3 fixed widget, but it lacks ...
0
votes
2answers
52 views

Logo on the tab

I would like to add a logo on the tab of my website (e.g. Wordpress logo which appears on all pages' tabs of Wordpress) How and where can I upload my image? Thank you for your help,
0
votes
3answers
47 views

Output Post ID for all nav_items

I seek a solution for my navigation in a new WordPress template that I'm developing. How can I output the unique post ID for every nav item? I want to create a one-pager (microsite) for a client. ...
0
votes
0answers
118 views

Use secondary menu of parent theme in child theme

I cannot solve this problem and this case doesn't work for me either. All cases that I found on the internet deal with the new secondary menu that should be registered and used in a child theme. In ...
0
votes
0answers
79 views

Multiple sub-navigation menus in page

I am developing a WP theme. I need to have a main menu in 'pages' (already done) and have some sort of sub menu made of tabs in the 'page'. I thought about having multiple tab navigation menus and ...
0
votes
1answer
72 views

Show Child of Parent Page including all other parents

I'm trying to show on the menus as assigned in WP Menu backend however how is possible to load child of parent page without hiding the rest. Example Main-1 Main-2 Main-3 When Clicking on Main-1 ...
0
votes
1answer
141 views

Theme development: menu links a tabbed page with page jumps

This might sound like a basic question, but It is my first time developing for wordpress: I am developing a theme, I need to have: A landing page with navigation menu Another page that the landing ...
0
votes
0answers
147 views

Wordpress mega menu walker

I need make a mega menu walker with these structure: <li><a href="#" title="" class="active">Sākums</a></li> <li class="dropdown"> <a href="#" title="" ...
0
votes
0answers
103 views

How do you add content to a WordPress sub-menu dependant in its parent?

What I'm wanting to achieve is this: A submenu with content showcasing 1 product from each category after the links In the submenu. I am trying to use the WordPress nav walker to add the content ...
0
votes
1answer
45 views

Top Nav submenus wpon't stay open - only in FF and only sometimes [closed]

I've been up and down my header and nav trying to find why the top nav submenus won't stay open about 50% of the time. This doesn't happen in any other browser, but it's a significant enough issue in ...
0
votes
0answers
71 views

How can I automatically add a taxonomy to my navigation?

So I have a navigation of custom taxonomies that I have added through Appearance > Menus Navigation: HOME | NISSAN | HONDA | TOYOTA | MORE Now all of those are custom taxonomies of "Types" that ...
0
votes
1answer
200 views

Multiple categories for one menu item?

I have six categories: Seasons Categories: Spring Summer Fall Winter Collections Categories: Formal Wear Night Wear Ready to Wear Sports Wear I need to put them up in the navbar custom menu ...
0
votes
0answers
73 views

Create a menu with Language link

I created a menu in the appearance area with links to the languages i want, but if i'm in the "About" page and click in some language it goes back to the homepage, is it possible to create a menu and ...
0
votes
1answer
44 views

Custom navigation : show posts in sets of 4

I am trying to reproduce an existing site design in wordPress. The site has a sidebar navigation that shows 4 posts at a time, see here: http://www.davidrich.net/david-rich-paintings/1-1 I you click ...
0
votes
0answers
56 views

Can't add optional class to menu item when using Walker_Nav_Menu

As a wordpress beginner. I'm creating menu also want to customized the <li> tag to be able to assign different class name to control specific behavior through CSS so I use custom walker to get a ...
0
votes
1answer
49 views

How to build a navigation menu for long-form texts like this one

A menu like this one here (on the right–hand side) – http://tenxer.github.io/xcharts/docs/ – makes it much easier to navigate through long-form texts. Do you know of a way of implementing something ...
0
votes
0answers
124 views

how to capture the value of the selected parent category

I am very new to WordPress as well as coding and I am stuck with one of the form field, which has a select box for listing all categories and sub-categories (taxonomies) in it. But I would like a ...
0
votes
1answer
105 views

Nav-Menu not showing up

I would love for somebody to please help me because somewhere I am really miss understanding what WordPress is telling me. Alright so within my header.php I have the following code. <div ...
0
votes
1answer
98 views

Pagination Links Not Showing Up on single.php posts on iOS Devices

So I've been working on my portfolio site for awhile now and just pushed the first "ok to be live version" last night. I gave it a quick QA and found some bugs that I am aware of, but the one that is ...
0
votes
4answers
1k views

How to add active state to the navigation links?

I am trying to add active states for my custom menu navigation, but so far everything I try is just not working. I have set the navigation menu in a separate file nav.php, then I included the nav.php ...
0
votes
0answers
88 views

Navigating from a custom post type single page to the list

I have a question regarding my single-tutorijali.php ("tutorijali" is the name of my custom post type). I have created it to display these custom post pages differently than "normal" posts. I link to ...
0
votes
0answers
55 views

Custom post types - Archive or parent/child for navigation

So, I want to redesign my website using WordPress (as CMS) and Bootstrap (as front-end). Now, I've been pretty successful at doing so, but I have one specific problem. I have a tutorial website and ...
0
votes
0answers
51 views

How do I proprely navigate through my custom post types?

I want to redesign my website using WordPress and Bootstrap. I did most of the work, however, I have trouble navigating through my pages. Before I tell you anything, just want you to know that my ...
0
votes
1answer
140 views

Get current post's nav menu name (term name)

I want to get the nav menu name by the current post ID. After hours searching in my database I found out that navigation menus are basically just terms of the taxonomy 'nav_menu'. But for some reason ...
0
votes
0answers
63 views

Article navigation multiple pages - wp_link_pages

I am currently building an archive-esque page with included page-navigation. So far so good, here's the current situation: <?php wp_link_pages('before=<p ...
1
vote
2answers
176 views

Is it possible to nest get_previous_post()?

I am trying to retrieve the previous and the 2nd previous posts' featured image as well as the two next posts' featured image. <div id="cooler-nav" class="navigation row"> <?php $prevPost = ...
0
votes
0answers
354 views

Wordpress add menu to page content using editor

I can manage custom menus in Appearance -> Menus Then, I can add any of these custom menus to the page content by inserting a shortcode like this in the editor: [menu name="Menu1"] Question: How ...
0
votes
2answers
694 views

Edit HTML of Wordpress navigation bar

Is there a way to change the html of my wordpress page's navigation bar? (I'd like to add in several divs that will be controlled with media queries.) Thanks for reading!