The sub-menu tag has no wiki summary.
2
votes
0answers
14 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 I ...
0
votes
1answer
16 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
20 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
74 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
19 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
92 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
28 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
20 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
44 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
43 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
57 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
24 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
211 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
192 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
26 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
33 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
110 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
40 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
75 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
109 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
58 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
260 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
111 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
48 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
69 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
124 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
55 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
116 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 ...