The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
227 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
52 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
2k 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 ...
2
votes
1answer
530 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
198 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
373 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
1k 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
273 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
488 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
501 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
2answers
159 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
648 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 ...
1
vote
2answers
756 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
81 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
294 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
711 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 ...
10
votes
2answers
2k 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
121 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 ...
11
votes
3answers
615 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 ...
2
votes
1answer
746 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
402 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
85 views

Creating a nav menu

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
1k 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
184 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 ...
0
votes
3answers
692 views

Change top level menu item to point to custom submenu item

I'm using a plugin called CMS Page Order http://wordpress.org/extend/plugins/cms-page-order/ (Now referred to as CPO) It's pretty simple, the said plugin adds a new item to the submenu of every ...
2
votes
1answer
257 views

Two Navigation Menus - secondary nav is including main nav

Two Navigation Menus in Themes Produce the same menus? reference the subject on page link above. i created two navs, yet the secondary nav includes all pages. the main nav is fine, but the secondary ...
0
votes
1answer
1k views

Show custom menu in category and its posts

I have a category X of posts. The category page and it's individual posts are all part of a custom menu consisting of pages and posts. My submenu, in the sidebar, works fine for showing on the pages, ...
0
votes
1answer
1k views

List child terms and posts in the current term

With this code parent term page lists all the child terms and the child term page lists all of the posts in current term, and the single page lists a big flat list of terms(hierarchical). Now, The ...
0
votes
1answer
359 views

submenu item edit a specific post

I'd like to have a submenu item in the admin section link directly to the edit form for a specific post ID, a custom post type at that. Basically looking at using the add_submenu_page function to add ...
0
votes
1answer
1k views

Change sub-menu css class

I use custom menus with drop down. I want to make two different drop-down menus each with different styling. Wordpress puts drop-down items in a single ul with class="sub-menu". But I need different ...
1
vote
1answer
151 views

Menus like a CMS

Here is an example structure of some content: Parent A -- Child A -- Child B Parent B -- Child C -- Child D Parent A should link to the content of Child A and Parent B should link to the content of ...
2
votes
1answer
505 views

Primary and secondary menus

I am trying to make each individual tab on my primary menu link to the secondary menu so that in effect each individual primary tab leads to an individual set of tabs in the secondary menu rather than ...
0
votes
1answer
289 views

Problem adding 'has-children' class to wp_nav_menu

According to a number of references online, I should be able to use the following function to add the class, has-children, to menu items that have children under them: function ...
2
votes
2answers
597 views

wp_nav_menu() mark current item ancestor of custom post type

This solution does almost what I want it to. Only thing is, I have my menu set up as follows: Menu item 1 Menu item 2 Custom post type 1 Custom post type 2 Custom post type 3 Menu item 3 ...
2
votes
1answer
111 views

Put a wp_nav_menu inside another one

I've got two wp_nav_menu's defined - main and sub. The backend menu editor lets me add pages or categories or custom links to my menu, and I can place them under existing pages/categories/links. ...
0
votes
1answer
5k views

Automatically Display Sub Menu

To start... I am new to Wordpress and developing themes. I've got a main menu which I've placed in my header using the following code: <?php wp_nav_menu( array( 'theme_location' => 'primary', ...
1
vote
1answer
2k views

Category menu item and its last 10 posts as sub-menu

i have some posts categories as element of a main navigation menu, and i'd like to display the ten lasts posts of this category as sub menu. ex: Category1 Lastpost1 Lastpost2 The ...
2
votes
1answer
5k views

How show sub menu only using wp_nav_menu()

I am using this code to show the custom menu subpages if you are on the parent page. But what this code also shows is a parent page on a page that has no sub menu, which I would like hidden. Basically ...
0
votes
1answer
87 views

How to remove and disable access to General Settings Page including its link

How to remove and disable access to General Settings Page including its link on the Settings Tab and add a new link as General Settings?
0
votes
2answers
2k views

remove class “sub-menu” from wordpress drop down menu

I am building a wordpress website with dynamic wordpress menu + one level drop down menu (sub menu). since my drop down is a bit tricky and required special CSS I tried to remove the styling that ...
0
votes
2answers
611 views

Settings options not showing up on Sub Menu page in WordPress plugin

So I have a plugin with two user-customisable settings. (It's not complete but I'm getting the framework in place.) When the two settings are on the "general" settings page they work just fine... ...
4
votes
3answers
5k views

Add a .last class to the last <li> in each ul.sub-menu

I've seen a lot of code on how to add a first and last class to a WordPress menu, but in my instance I would like to add a last class to the last li in the sub-menu that WP generates. Here's what I ...
0
votes
2answers
168 views

a better menu, menu options assistance for WP

So long story short, im a noob WP dev and im like on my 2nd custom WP site so sorry if i sound a bit lost. As i was doing my first WP custom site, i noticed that for example, on the default theme and ...
4
votes
1answer
410 views

Show only 2nd level of navigation depending on active navigation

For example, suppose a menu like so: Parent 1 Child A Child B Parent 1 Child C Child D Child E Parent 2 Child F In a certain part of my template, I want something to show depending on ...
0
votes
1answer
449 views

Show menu based on parent & ancestor

Trying to show a wp menu based on parent. Works great on parent / child pages, but on grandchildren pages its failing. How should i restructure the menu selector to include the sub nav menu based on ...
2
votes
1answer
2k views

Sub-Pages only of menu items in current branch using a custom menu

Although I did a thorough research I could not find a solution. Only solutions coming close. My custom menu ("top") shows this structure (you see a part of it): page 1 subpage 1.1 category A ...
0
votes
1answer
619 views

How do I get my nav menu to show sub pages?

http://webdesignsalemoregon.com/westernmennoniteschool/ is my website. I've got the top menu which is the one that was in the theme when I started to customize it. It's got a test drop down that ...
2
votes
1answer
692 views

Using custom post types in submenu + custom title

I'm planning to use a couple of custom post types for a plugin of mine. The whole plugin should reside under 1 toplevel menu item. Thus I would prefer a menu structure like so: Dashboard Posts [...] ...
0
votes
1answer
432 views

wp_list_pages() not showing on posts

I have the following code showing up a sub-menu on my website (in my header.php file) that shows all well and good, however when I open up a post it dissapears: <div id="dep-menu"> <?php ...
6
votes
2answers
986 views

Getting custom admin submenu item to highlight when its active

I have a custom post type, Jobs, with 3 taxonomies under it in the Admin menu. One of the taxonomies is Status, which is either Active or Closed. I want a menu item under Jobs for Active Jobs. I ...