The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
3 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
25 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
10 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 ...
0
votes
0answers
9 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
73 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
35 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
13 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
19 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
60 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
17 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
21 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
60 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
69 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
24 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
31 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
23 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
42 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
26 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
172 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
71 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
52 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
46 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
14 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
16 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
94 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
184 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
35 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
121 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
47 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
231 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
154 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
0answers
195 views

Wordpress Wp_nav_menu How to create Columns in submenu

i have been trying to develop custom navigation in wordpress. i want to add columns in sub menu item. i want to add images in navigation as well as create Multi column Navigation. Please check this ...
0
votes
0answers
23 views

getting specific items from menu

In trying to build 2 linked menus, lets say the hierarchy is like this (In the menu options) - A -- B -- C -- D -- D1 -- D2 - A1 The first menu I want it to be fixed so I fetched it with ...
0
votes
0answers
158 views

How to sort all admin sub menu items in a custom order

i tried this solution given for this question Re-ordering Admin Submenu Sections to sort sub menu items of all top level menus. But i don't get it to work. I have an array of custom ordering of menu ...
0
votes
1answer
106 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
226 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
100 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
90 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 ...
0
votes
1answer
82 views

How to make pages metabox display all hierarchy in menu admin?

Running WP 3.9.1 I've got lots of pages and sub pages. When I get to create menu lots of sub pages doesn't display on the right level, but some do? This is how the pages metabox is displayed The ...
0
votes
0answers
74 views

How to display second and third level menus

I am using the Arcade Theme and I have built a 3 level deep navigation menu as it is shown in the image below taken from the the Appearance > Menus section but then I do not see sub-menus. How can I ...
0
votes
1answer
165 views

edit-tags.php in plugin admin menu hides when is the active page

For the plugin I'm building I have added a submenu as a child to a custom main menu item in admin. The submenu page is an edit-tags.php page. This shows up as intended under the main menu item. When ...
2
votes
1answer
656 views

Check if wp_nav_menu items have submenus

I'm looking to output the following markup for a menu through wp_nav_menu, <ul> <li><a href="/">Home</a></li> <li> <a href="/" ...
0
votes
1answer
523 views

How to display list of child pages with parent in wordpress?

I have following format of sub-pages in WordPress: About Us -Services -Products -Surgery I want to list all sub-pages with parent page like above but the code that I am using from ...
0
votes
1answer
277 views

Insert a div class inside wordpress menu

<ul id="menu"> <li><a href="#">About Assetline</a> <li><a href="#">Products & Services</a> <div id="mega"> ...
0
votes
0answers
41 views

Sub 'Page' Child Menu Order

I cannot seem to get the order of my sub-page Menu items in the correct order. They will only display in alpha or numerical order - even if I specify the menu order. To be clear - I am not referring ...
0
votes
0answers
36 views

Wordpress custom url menu items being overwritten

I am fairly new to Wordpress development. Using a site that runs 3.91 with a custom theme that I have inherited from someone else. My question is fairly simple: I want to add custom menu items that ...
0
votes
0answers
85 views

how to keep currently selected menu item while selecting another menu item in second menu

In wordpress 3.9.1 I'm trying to create my own theme. One of the things my theme should be able to deliver is to have two menu's. I do have that. It is working. So no worries there. One of the ...
0
votes
0answers
136 views

automatically adding submenu items

Here's the solution that @bainternet has posted here: Add child pages automatically to nav menu /** * auto_child_page_menu * * class to add top level page menu items all child pages on the fly * ...
0
votes
1answer
3k views

Custom Nav Walker sub-menu HTML construct

I've got my Custom Nav Walker set up and it works fine with the main menu items, and displays them how I want. However the same HTML is being applied to the sub-menu elements which isn't what I want. ...