The sub-menu tag has no wiki summary.
0
votes
1answer
11 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
33 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
17 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
18 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
233 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
21 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
23 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
87 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
26 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
117 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
35 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
25 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
51 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
66 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
81 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
0answers
26 views
How to remove max elements menù
On my website www.wrestlingitalia.it, the menu at the top there is a maximum limit of items you can add, after which, if it is integrated with other, some are hidden. I would like to remove this ...
0
votes
2answers
226 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
226 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
29 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
35 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
144 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
41 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
88 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
125 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
62 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
35 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
333 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
130 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
51 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
votes
1answer
78 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
156 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
58 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
130 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
122 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
18 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
96 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
227 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
184 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
52 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
139 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
103 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
412 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" ...
0
votes
1answer
89 views
Submenu opened problem
I am trying to fix a problem with a submenu.
I have coded (as you can see on jsfiddle: http://jsfiddle.net/8899x/87/ ) my horizontal menu and the submenu. I would like to leave the submenu opened when ...
10
votes
3answers
307 views
Wordpress API Menu/Submenu Order
I'm developing a child-theme using Wordpress 3.4.2 and the development version of the Options Framework by David Price. This is my first theme and I'm relatively new to this, so I've had a look into ...
0
votes
1answer
122 views
Get page by template?
I'm in a complicated situation. I'll try to explain it as easy as possible.
Imagine the following pages:
Page 1
Page 2
Subpage 1
Subpage 2
Subpage 3
Each subpage of page 2 lists posts from a ...
3
votes
1answer
209 views
How Do I Programmatically Better Organize Custom Post Type Menus?
A project I inherited had a dozen custom post types. Trouble is, they all come off the admin menu sidebar separately. It's not very tidy. Is there a plugin where I can make these subitems of a parent ...
1
vote
1answer
56 views
Creating Menu with Wordpress
I am not very familiar with WordPress so my knowledge with this is limited. I am working on a travel website where I need to show navigation menu and I am not sure how I can achieve the desired ...
1
vote
3answers
525 views
Subnav menu - adapt to show the same on parent, child & grandchildren pages?
I found this very useful code at the wp codex, it basically lists out the parent, child and grandchild pages, I'm using it in my sidebar and it works well for the parent and children pages, but when ...
0
votes
1answer
99 views
Subpages Permalinks Issues
my site looks like:
Page-1 (page.php)
... Subpage-1 (custom-collection.php; Custom Post Type)
...... Filtering Output-Post (custom-collection-single.php)
When I open the filtering output-post by ...
