Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

How to disable menu from going to parent page with no content?

Old Apr 23, 2012, 08:50 AM
swimflyfast2's Avatar
150 posts · Aug 2010
Horse Country in Virginia
its the simple things in life that cause me trouble...
how do you set up a menu to not go to the parent if there is a child and parent has no content?

There is a toggle in the ATO>> Menu to set first Level

HTML Code:
Set this to No to replace the link target of first level parent items with <a href="#"> 
This will basically unlink the first level menu items that have children. The submenus drop down 
when pointing the mouse at the link, but clicking the link doesn't do anything. This is for users
that want to organize their pages in main pages and sub pages but don't have content on the 
main pages. "Yes" means "Yes, don't link".
But what about sub menu items?

In the case below I never want anyone to be able to go to Event Pictures
"Pictures" is taken care of by the toggle above in ATO.
I only want user to be able to go to Team pictures or specific event-1, specific event-2...
Event Pictures has no content.

>Event Pictures
>>Specific Event-1
>>Specific Event-2
>Team pictures

Atahualpa 3.6.7
Love the Atahualpa Theme!
Old Apr 23, 2012, 10:15 AM
lmilesw's Avatar
10,174 posts · Jul 2009
Central New York State USA
I just use the WordPress menu builder and use a custom menu item for the top level with a # in the URL box.
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
Old Apr 23, 2012, 10:17 AM
juggledad's Avatar
23,628 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
The easiest way to do this would be to create a wordpress custom menu, then the "pictures' and 'Event Pictures' items could be custom links with just a '#' or leave it blank in the link area.
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Apr 23, 2012 at 10:20 AM.
Old Apr 23, 2012, 08:52 PM
swimflyfast2's Avatar
150 posts · Aug 2010
Horse Country in Virginia
Thanks, how is that with SEO?


parent child relationship, parent menu

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Page menu drop-down content appears underneath widget content Hells Bells Page & Category Menu Bars 7 Apr 12, 2012 04:28 PM
[SOLVED] Is it possible to keep the PARENT page highlighted in the menu? qda Page & Category Menu Bars 46 Mar 17, 2012 06:02 PM
Menu Bar Parent Page blank with sub pages AmysBlog Page & Category Menu Bars 5 Nov 3, 2010 05:52 AM
[SOLVED] Problem! I cann't turn off the link to first level parent page in Page Menu majia Page & Category Menu Bars 2 Jul 3, 2010 09:35 AM
disable links in category menu for parent categories (only childless categories link) qcook2000 Page & Category Menu Bars 0 May 15, 2009 09:09 PM

All times are GMT -6. The time now is 11:16 AM.

Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.