The sub-menu tag has no wiki summary.
1
vote
0answers
14 views
What action/filter/function determines “current” class in WP Admin Menu
I have created a submenu page for the Media List Table. The link actually points to a custom view I have created called Resources. I am looking for the correct location where the Admin menu determines ...
1
vote
1answer
72 views
Creating WordPress Plugin solely for Admin panel with dash menu and submenus
I am attempting to create a WordPress plugin which allows the client to use for help and other resources in a friendly interface. It would be desired if I could have guidance on creating a WordPress ...
0
votes
3answers
45 views
Displaying another main nav menu for specific category
I am pretty new to Wordpress, especially when PHP programming is concerned. I am using Ciola Theme from Theme Forest. What I would like to achieve is to display a sub menu under the main menu, but ...
0
votes
1answer
34 views
How to check if current page is a parent item or child item in a given menu
I'm trying to build a submenu into my theme, and I've got it working except it shows even on top-level pages that don't have children.
How could I check that the current page (or current menu item) ...
0
votes
1answer
26 views
multi level menu not working and not displaying correctly
I have created a multi level menu with wordpress and no matter what i try the menu will not display correctly.
here is the genereated menu
<div id="cssmenu">
<ul class="menu" ...
0
votes
1answer
25 views
how to automatically generate hierarchical menus from hierarchy of pages?
I have a photo site, and I take care to crested a logical nested hierarchy of pages.
e.g. for photos I just posted, I created the following pages:
site.com/2013/
site.com/2013/colorado/
...
0
votes
0answers
47 views
Collapse submenu items in Twenty twelve theme mobile menu
I have seen this question asked before but apparently it was not understood, so no answer was given. (collapse twenty twelve submenu in mobile version) I am using the twenty twelve theme with 7 main ...
0
votes
0answers
52 views
Current menu item class is not showing in submenu [closed]
In my header I call my wp menu like this:
<?php
$defaults = array(
'container' => 'div',
'container_class' => 'main_menu',
'items_wrap' => '<ul ...
0
votes
1answer
93 views
How to add a child item to a menu element (using wp_nav_menu_objects)
(1) I used the code given on answer to How to use logout function on custom menu link?
to programmatically add a menu element to wp_nav_menu_objects (Say "Animals"). I give it an id, say 1000.
(2) ...
0
votes
4answers
78 views
I want only my sub-pages to be clickable in the navbar
I am building a simple website with a number of pages, each of which is grouped.
Let's say my website has roughly 20 pages, grouped into 5 categories. So I want my navbar to display the 5 categories, ...
0
votes
0answers
21 views
Building Menus with the latest posts included
Im looking to build a menu system much like that off the huffington post or washington post, with links on one side and the latest articles or other dynamic content on another.
Before i go crazy and ...
0
votes
0answers
30 views
how to use Advanced Search Submenu in Premium Press Theme? [closed]
I knew Advanced Search submenu option is removed from new version of Premium Press may be due to some Javascript Problems. But I need it so I set the value to 1 of display_advanced_search in ...
2
votes
5answers
397 views
how to create a menu with all sub categories?
Is it possible to create a menu with a category such that each time that I had a sub category that automatically display on the menu?
As far as I know, if I have a menu with the category "fruit", and ...
0
votes
1answer
52 views
Getting the top level permalink using get_post_ancestors()
I have a function for displaying the title of the top-level page of the current sub-level page. It's working quite well, but I can't figure out how to also link to the same top level page that is ...
0
votes
0answers
38 views
Menu support for touch devices
I've noticed that on touch devices like the iPad or Surface the menus in my WordPress site do not work. When using a mouse on a desktop, as soon as I move over a menu item, the submenu automatically ...
4
votes
1answer
106 views
Remove a menu item created by a plugin
I'm trying to remove a menu item and tried several approaches, but have not had any luck. It was created from a FAQ plugin.
If I use this line:
remove_menu_page( 'edit.php?post_type=question' );
...
0
votes
0answers
48 views
How to add drop down sub menu from database fields in the particular menu slug
I am creating a menu(not in admin panel) in wordpress, and I want to add drop down menu from my database table fields in a particular menu slug?
How can I achieve that, using code?
I found the ...
0
votes
0answers
213 views
collapse twenty twelve submenu in mobile version
in the twenty-twelve theme, the following code will collapse the sub-menu ul/li of the mobile version...the problem is that it also brake the normal version of the menu! how can i use it only when the ...
0
votes
1answer
42 views
Access for adding subpages but not for pages
For every website project, i make the wordpress admin custom for the client. Right now, i want that the client only has access to add subpages.
I have a main navigation on the website. I want that ...
0
votes
1answer
31 views
Link to subpages on the same page
I'm using a dropdown menu on my Wordpress page which shows all the pages. If you hover over it, the subpages of that particular page are shown. Say I have five pages that each have a couple of ...
0
votes
1answer
69 views
How to display conditional-content if wp_nav_menu( $args ) retruns something
I have a sidebar that displays child links of the current page (using this solotuin by http://wordpress.stackexchange.com/a/2809/27414) which works perfectly.
If there is child links to be displayed ...
0
votes
0answers
85 views
Add elements to submenu using wp_nav_menu
I got to know how to add a menu and then create hierarchy till 2 levels. Here is my code:
//give your menu a name
$name = 'sets';
//create the menu
$menu_id = wp_create_nav_menu($name);
//then get ...
0
votes
1answer
126 views
Display all submenus
For a custom jquery menu I'd like to show all submenus and hide / show each on demand. However my problem is to show all submenus in the first place.
As of now I am managing the first level through ...
0
votes
0answers
10 views
How to remove limit on the wordpress menù? [duplicate]
On the Www.wrestlingitalia.it website is the latest version of WordPress, and I have a problem: In the menu above this there are limits: if I insert other items, others are hidden. I would like to ...
0
votes
2answers
271 views
How to exclude/remove submenu using Walker_Nav_Menu
i'm working on the new site with custom menu and extended Walker_Nav_Menu class to add custom content to the wp nav menu.
i have registered a custom select box (key: my_custom_menu) in menu from ...
0
votes
1answer
257 views
Add Login and logout buttons to top menu bar
I got this code to insert menu bar in the PRIMARY menubar, but I can not find a way to insert it into my secondary, or top menubar above the primary menu bar.
Could anyone teach me how to do that?
...
0
votes
1answer
32 views
I need to get this sub nav to show up on cat, sup-cat and post
This is some code that I have mixed together from around the web, what I am wanting it to do is show the sub-categories of what ever category it is in.
It seems to work on category, and ...
0
votes
1answer
43 views
Show menu on page with all sub-pages and sub-sub-pages of that page
I am trying to create a menu, with sub-pages and sub-sub-pages of a current page.
I want the menu to work as a dropdown, where the sub-sub-pages for a sub-pages are shown when the user clicks the ...
0
votes
2answers
213 views
How can I add a delay to the collapsible menu in Twenty Eleven?
The navigation menu closes immediately upon moving the mouse outside of the menu item's area. How can I introduce a delay that will keep it open a second or less to keep visitors from becoming ...
0
votes
1answer
45 views
Can't remove menu items added by plugin
I am trying to remove menu items from the backend but for some reason I can't remove specific menu items added by plugins. For example, I can use this line to remove the plugins page and it works just ...
1
vote
2answers
116 views
Wordpress remove Submenus
I found an answered question here Remove menus and submenus 2 Answers for my problem but is there a way of changing the code a bit so that it removed the submenus for all Editor roles. not only for ...
3
votes
2answers
161 views
checkbox in post add/edit to add/remove the post from menu
Introduction:
I have created several post type for my theme. To display a post from a post-type I need to go in appearance/menu and then add the post manually.
My Goal:
I want to add two radio ...
0
votes
1answer
78 views
Removing Submenu from Menu
Thesis appears to automatically add the sub-menus (sub-menu ul) to menu parents if childs exists. I have a specific need to remove this html from a particular menu.
The menu name is: second_level
...
1
vote
1answer
38 views
Find the Children of a Page then Echo it as a Bulleted List of Links (menu)
I am trying to check if a parent Page has children. If it has children I would like to echo the children as a bulleted list with links to each child (basically a menu).
Right now I have the following ...
5
votes
5answers
500 views
Add separator to admin submenu
I would like to add a separator to the admin submenu section, NOT in the top level section.
I'm thinking of using javascript and styling to do the job, but I was wondering if there's a more ...
1
vote
1answer
181 views
Custom Nav Walker to show siblings and children of current branch?
I have seen very similar (if not exact) queries to this all over Google, but always seem to find something short of what I need. I am trying to create my full vertical menu using wp_nav_menu in my ...
3
votes
1answer
60 views
How Can I remove or hide the export page in WordPress menu?
I'm trying to remove the export.php page from WordPress admin menu -> tools
for a multisite so only the network admin could see it
I have the following code so far but can't get it to work.
...
1
vote
1answer
91 views
Add items to a menu dynamically
I'm doing a site in WP with dynamic and static content. I'd create the menu from the admin panel. I have 5 sections (Home, about, Boats, News(blog), contact). I'd create a custom post type with new ...
0
votes
1answer
221 views
Controlling sub-menu within sub-menu
I have a menu setup at the moment for a site I'm building that I'd like to change a little the way it pops up and doesn't popup :P
At the moment, I hover over my main menu items if there are sub ...
0
votes
1answer
71 views
Listing Sub-Pages & Sub-Sub-Pages
So I don't really know why I am having so much trouble with this, it seems like functionality in wordpress that should be a bit easier to working with.
Anyhow I need to generate a menu system for a ...
0
votes
1answer
156 views
An alternative to Wordpress's built-in menu functionality
The main menu on my site contains about 30 items, and I am no longer able to save it. This seems to be a fairly common problem with bigger menus in Wordpress. I am on a dedicated server with very ...
0
votes
2answers
140 views
Handling complex multi-level architecture / menu for large site
I am trying to get feedback and ideas for solving an information architecture / content management problem using wordpress.
I have a large site ( 1,000+ pages, hundreds of posts ) made up of ...
0
votes
0answers
20 views
add sub menu to the pages menu [duplicate]
Possible Duplicate:
Associating custom submenu item with post type of top level menu item
I am try to add an extra sub menu to the pages menu but cant seem to get the right id to add it to.
...
0
votes
2answers
114 views
How to create sub-menu in “Allure Real Estate Theme for Placester”?
The below is the menu code used in the default WordPress theme of "Allure Real Estate Theme for Placester".
`<li><a href="/">Home</a></li>
<li><a ...
0
votes
2answers
260 views
wp_nav_menu() loses 'current-menu-*' classes on single product page within category
I have my menu set up like so:
Shop Online (WPeC 'Products Page' page)
Product Category (WPeC Category)
Product Category (WPeC Category)
Product Sub Category (WPeC Category)
Product Sub Category ...
0
votes
2answers
267 views
wp_list_pages: only show subpages on the parent page?
I'm using wp_list_pages('title_li=') on my site.
Some of my pages do have subpages, however I don't want to list them unitl I'm on an actual parent page that has subpages.
So imagine my front-page:
...
1
vote
2answers
57 views
Does loading of sub pages in menu cause load to the server?
I am working on a wp site where I need to manage 500s of child pages for a single page such as About menu can have more child pages need to manage those child pages as sub menu and I have more than 5 ...
-1
votes
1answer
155 views
Display sub menus as separate lists
I need to change the way of rendering menu in WordPress - I guess I should write my own walker class but I'm not sure how to bite it. What I'd like to achieve is to render each level of menu as ...
0
votes
1answer
139 views
Add an admin page, but don't show it on the admin menu
I have a custom plugin 'Charts' that has it's own menu. In that menu are links to the 3 pages for the plugin - 'Charts', 'Add Chart' and 'Edit Chart'. However, I don't want to display the link to ...
1
vote
1answer
520 views
How to add sub-menu to a menu generated by wp_nav_menu by using plugin
I have a menu generated by wp_nav_menu which look like
<ul class="nav-menu" id="menu-top-nav">
<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-43" ...