The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
19 views

Replace anchor tag with span tag

I have created my custom menu having many items and sub items, the markup is like this <a href="#">Item</a>but for parent element I need to replace anchor tag with the span tag having some ...
0
votes
0answers
11 views

How to get the Latest Menu Options to be displayed in Wordpress Custom Menu

I have donated about 5 plugins to Wordpress. Now my requirement is to show the updated Sub-Menus options (in admin panel) by checking all plugins (by selecting the latest version of the five plugins). ...
0
votes
3answers
30 views

Arrow down in menu not displaying

I tried to add arrow down when the menu has a sub-menus. But the down arrow not showing up. Please help me. Here's the link: http://bit.ly/1UH4FlT Currently using this script that I found somewhere. ...
0
votes
1answer
10 views

nav tag wrapping around dropdown

I am trying to display my menu, while menu is displaying perectly, it does have open within nav, which hide everything behind it, as navbar-fixed has come style. what should i be doing to fix the ...
0
votes
0answers
23 views

Need help to build a menu with WP_NAV_MENU function

I have a markup where using table tag for menu creation. This is quite simple but noticed when multiple submenu exist then structure is changed. In this case i don't get any appropriate way to build ...
0
votes
0answers
15 views

Menu distorted on browsing or logged in

I have no idea what is going on but when site goes live (any domain pointed to the server) menu is getting distorted (part of submenus became parent menus). All is working fine on a local development ...
0
votes
1answer
27 views

wp_nav_menu prints children with parent name

This code echo wp_nav_menu( array( 'theme_location' => 'primary-menu', 'depth' => '2', 'echo' => false ) ); prints Parent - Parent - Parent - Parent instead of: Parent - Child 1 - ...
1
vote
0answers
25 views

getting the current sub item out of total sub items in a given dropdown (custom walker)

i would like the possibility to append a text(denoted in square brackets) to each sub-item in the menu like so: Parent 1: sub-item [sub item 1 of 5] sub-item [sub item 2 of 5] sub-item [sub item 3 ...
1
vote
0answers
26 views

Automatically Add New Tags to Sub-menu

Been searching for any related plugins or info. about this case but didn't find anything relevant or working. I need every new tag that is added to a post automatically appear in a menu as a sub-menu ...
0
votes
0answers
12 views

Full width inline-like menu

I am building a WordPress site, in which we need a full width multi column drop down sub-menu, that acts like inline content and push the rest of the content downward as it display the menu content. ...
0
votes
0answers
50 views

Portfolio filtering menus script in Wordpress and JQuery

This is the page: scharc.com/en/projects Let's say I select the Department, then the Field of Expertise and finally a Location, for example. Right now deselecting the Location doesn't free any ...
0
votes
1answer
32 views

WordPress Custom Menu Admin helper plugin

I'm creating learning system in WordPress and I have a lot of pages instead of post. Those pages needs to be in a custom menu with two sub items. It gets really confusing to add pages to the menus ...
0
votes
0answers
19 views

Menu won't stay nested when I click 'Save Menu'

For the footer I have a top Link and the rest below it are supposed to be nested underneath. It used to work fine but when I tried to change it now none of them stay nested and they all snap back to ...
0
votes
2answers
61 views

WordPress doesn't recognize submenus as <ul> so I can't style them properly

I'm quite new to WP theme development so I'm sorry if the answer for this question may seem obvious. I'm developing a custom WordPress theme from scratch, and I'm stuck working on the menus. My ...
0
votes
0answers
22 views

wordpress sub-menu (subpages) displayes in different columns

I'm working in Wordpress, and I'm having an issue, the sub-menus or sub-pages on the navigation, are displayed in columns of 2. So if I have the page Clients and the subpages client1, client2, client3 ...
1
vote
1answer
44 views

how to get custom admin submenu( custom post type ) item to highlight when its active

I have a menu item added using add_menu_page say ABC. I have added a custom post_type product as a submenu item under ABC I created it with this code add_submenu_page( 'abc', 'Products', ...
0
votes
0answers
24 views

Menu for Showing the Children of 2nd Level Menu Items on 2nd & 3rd Level Pages

The title may be confusing, but please follow along. I have a 3-tier menu. There are the parents (1st tier), and some have children (2nd tier), and some of those children have children (3rd tier). I ...
1
vote
0answers
22 views

Is there a way to establish parent/child relationship in WP menu links exclusively?

to expand on this question title: Is there a way to establish a parent/child relationship of menu links (using the WP menu) that adds the dynamic helper classes (ie. current-menu-parent, ...
0
votes
1answer
114 views

How to make a single Menu Item call another Mega Menu for Custom Post Types and Custom Taxonomies?

I'm trying to build a hierarchical directory using custom post types and custom taxonomies as I've described in another question. My problem is that I cannot figure out how to make those posts ...
1
vote
0answers
67 views

Custom megameu walker need improvement

I'am working on a custom megamenu that will look like <li class="l-nav-item l-mega dropdown"><button class="open-icon visible-xs fa fa-angle-down"></button><a href=" ...
0
votes
0answers
29 views

how to get Tag in menu populated with recent posts submenus

I would like to know if it would be possible to implement an option to "populate" each tag menu items of my WordPress site automatically with links to recent post as submenus. In other words, when ...
0
votes
0answers
52 views

How can I show latest posts from certain tags menu items as submenu?

I have the following order of menu in the menu dashboard: Category1 ->tags(related to category1) category2 ->tags(related to category2) etc.. when you hover a tag menu item I want to get the list of ...
0
votes
1answer
100 views

Always show wordpress submenu on responsive header menu

I'm trying to edit my CSS to always show all the li tags inside my header menu, also with ul.sub-menu li; I just want to show all the items from the menu, but I'm working on it for hours and I've ...
0
votes
0answers
20 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
0answers
35 views

Get menu as lists with hierarchy

I've a menu like this: Page Category 1 Category 2 Sub category A Sub category B Sub category C Category 3 Page ... Because I need to custom styling it, I need to print it on a template. I need ...
2
votes
1answer
91 views

Create self-populating menu and add extra divs to the menu layout

What I'm trying to achieve: A menu with one level of sub-menus: PAGE 1<br> --- Page 1 sub-page 1<br> --- Page 1 sub-page 2<br> PAGE 2<br> --- Page 2 sub-page 1<br> --- ...
1
vote
1answer
94 views

Schedule Page to Menu [duplicate]

Every week I tend to have 2-4 pages scheduled though I need to get them added to my menu as well. The "Add New Top Level Pages to Menu" option won't work in my case though as the pages in question ...
0
votes
1answer
29 views

Menu order of parent menu from perspective of child menu

I have developed a theme which has a parent menu and a sub-menu. It looks something like: Main menu ==> category | price | depot sub menu for category ==> tag| name | date ...
0
votes
1answer
46 views

Modify sub_menu function to show pages below a specifically set page

I've got a function that ties in to wp_nav_menu that shows sibling pages for the currently viewed page, as well as any children pages. I need this modified to only show the children pages of a ...
0
votes
1answer
28 views

How to hightlight all ancestor menu items of a child page NOT displayed in menu

Here's the situation: In my main navigation menu I have something that looks like this: Work with Me Latest Projects Where the Latest Projects page is a child page and sub menu item of the Work ...
0
votes
1answer
18 views

Trouble posting in Sub-Category

On my Main Menu, I have made category called "Blog" and then under that a drop down tab listed "News". I am trying to add a News item in this subcategory, but for some reason keeps positing under ...
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
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
1answer
333 views

If current menu item is child or parent with child?

Is it possible to check in WP if the current page/menu item is a child or a parent with child (in my wp_nav_menu)? So not if the page has a child page, but if the menu item is a parent with child or a ...
0
votes
0answers
120 views

Show Sub-Menu when main menu is hovered over

I am trying to make a sub-menu show when the main menu is hovered over. What I did is made both menus show on all pages, then added this CSS: Note: walking-menu is the sub menu, main-nav is the main ...
0
votes
1answer
84 views

Show Wordpress Menu On External Site

So I have been working on a site using the theme Vantage and I am wanting to take the menu from the site and embed in another site in a subdirectory below, I have searched all over the internet trying ...
0
votes
2answers
76 views

wp_post->post_parent object returning 0

I'm developing a Wordpress theme and I've registered a new menu location (called primary menu) and am using a menu with it. In my menu, I have a page called "tier-2 page" under a page called "tier-1 ...
0
votes
0answers
17 views

How to create a child menu in a different place

I have a main menu and it has a dropdown submenu. I also have to show the same submenu below main menu along with the dropdown and it will be always there. Please see the picture to get an overview. ...
0
votes
0answers
18 views

Trigger a custom menu that belongs to a page, its children and a custom post type

In my header template I want set a sub menu that changes depending on what page you are on. So if you are on the About page or one of the About child pages then the sub menu changes to the About menu ...
0
votes
0answers
117 views

Fixed Menu and Submenu Position and Label

I'm creating a wordpress site based on PSD submitted by my client. The client requested to keep the clickable menu at the selected page with the current position. Examples in the images: ...
0
votes
1answer
268 views

How to construct a custom html for submenus

How to write a walker class for constructing a new submenus. for my wordpress theme the submenu is looking like this: <li class="drop"> <a ...
0
votes
1answer
37 views

Admin menu post type

Is it possible to get a container post type menu item with all custom post types inside of it?! 1.All post types 1.1 post type 1 1.2 post type 2 1.3 post type 3 1.4 ect....
0
votes
0answers
137 views

Custom sub menu is not showing in admin dashboard

Here I am making one small plugin for learning purpose.I have made one admin menu called Feature Slider and it has three sub menu Feature Slider, Add New Feature Slider and Add new movie. 1st two menu ...
0
votes
1answer
54 views

Add menu headings to Wordpress sub menus

I'm using the native Wordpress menu. I have two top-level links with sub menus - I'd like for those sub menus to display the name of the parent menu item. So if I have a parent menu item named ...
1
vote
1answer
353 views

How to drag multiple menu items at once in WordPress?

Say, I added 8 items to a menu. Now I want to bring all the 8 items under another item. Dragging them one by one can take ages. How do I drag them all at once?
0
votes
0answers
196 views

How to create custom Admin Pages for Custom Post types and add meta boxes

What I'm trying to do is : Create custom Admin Menus and Submenus add_menu_page Test add_submenu_page Add New no problem so far, both pages appear in the menu. Now I'm not sure how to add the ...
0
votes
1answer
137 views

Add a Submenu from Another Submenu in a Custom Theme

Good day everyone! I would like some help from you since I'm just a beginner in WordPress. I would like to add a submenu under another submenu like this: International China Independent Group ...
0
votes
1answer
282 views

get_the_post_thumbnail not working inside wp_get_nav_menu_items hook

if ( ! is_admin() ) { add_filter( 'wp_get_nav_menu_items', 'display_last_posts_for_menu_item_ts', 10, 3 ); } function display_last_posts_for_menu_item_ts( $items, $menu, $args ) { $menu_order = ...
0
votes
1answer
120 views

How do you manage large menu hierarchies in WP?

Has anyone worked on sites where the menu hierarchies is fairly large? Not more than 3 levels deep, but more than 40+ menu items? If you only list first level items in the top menu without dropdowns ...
0
votes
1answer
98 views

Subpages List Appearing on Every Page

This code displays the parent page and a list of its subpages, but not the grandparent page. (It is the second red menu in the left sidebar here). There is one problem with this. This code outputs a ...