The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
22 views

Multilevel nav menu using HTML 5 blank [closed]

I'm using html5blank to build my own theme. The Wordpress interface offers me options for sub menu items,as if my theme includes it, but they show up as top level items on the nav bar. Do I need to ...
0
votes
0answers
11 views

How to get a different mobile menu than desktop menu in the twentytwelve child theme

I would like to use a different menu for my mobile website than my desktop website. With different I mean the content not the layout. I just want to use the mobile menu of the twentytwelve theme. ...
1
vote
3answers
40 views

Benefits of using Nav Walker?

Are there any benefits to using a nav walker class over iterating through wp_get_nav_menu_items()? Nav walkers seem very clunky to me and iterating over an array feels easier and more re-usable but ...
0
votes
1answer
8 views

Mobile navigation is shown, but standard navigation does not disappear

I have setup that website berlin-permanent-makeup.de and the mobile navigation kicks in, as soon as the screen is smaller than 800 px wide. So far, so good. My problem is, the standard navigation ...
0
votes
0answers
21 views

How to identify the current page in a custom wordpress navigation menu code

I am building a custom navigation menu in WordPress, where I have 2 level of depth; parent and direct child sub items. Some items are leaf though. I want all parent items to have no url so that I can ...
0
votes
0answers
9 views

hide some nav menu items to non-localhost visitors, based on ip?

For a work extranet website i have a website that's fully accessible on premises. The website is now also fully accessible from outside as well. There are however some level 1 nav items with sub menu ...
0
votes
0answers
28 views

How can I add recent posts to menu like mashable

I would like create a mega menu that uses recent posts for hover state. Like When you hover a submenu you get a list of recent post relevant to that menu item like in Mashable. I I would like a menu ...
0
votes
0answers
16 views

How to create a mega menu with latest posts of certain categories per tag?

I have the following menu: -Category1 ----tag1 ----tag2 ----tag3 -category2 ----tag1 ----tag2 ----tag3 etc.. The category1,2,.. are empty placeholders to hold the submenu tags. Could someone ...
0
votes
0answers
10 views

Active class in primary Nav and Custom Post Types

On the following Dev site (http://fcr.betaforming.com/), a "current-menu-item" and/or "current-page-parent" type class isn't getting added to the nav for individual blog posts or any of my other ...
0
votes
1answer
34 views

How to display only posts assigned to a particular, isolated, subcategory

I am trying to set up my wp site where I use posts assigned to categories and subcategories (about 3 levels). I have a list of 1st level categories as my primary menu. When clicked, the intended ...
0
votes
0answers
16 views

How to echo text from higher level of nav

I'm building a site with three levels of nav. Primary is your standard nav in the header of the page. Second level of nav is below that primary header. Tertiary level of nav is on the sidebar. In ...
0
votes
1answer
19 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
9 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
24 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
11 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
59 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
27 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
23 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
28 views

How to merge two navigation menus in WordPress?

Now i am using two Navigation Menus,primary and secondary. what should i do to change it as a single menu?
0
votes
0answers
12 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
27 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
26 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
15 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
16 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
16 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
18 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
18 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
324 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
25 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
47 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
57 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
116 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
28 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
21 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
104 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
29 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
27 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
66 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
50 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
35 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
77 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
51 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
60 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
21 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
34 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
67 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
41 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
37 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
38 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
38 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 ...