Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 23, 2012, 08:50 AM
swimflyfast2's Avatar
swimflyfast2
 
148 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.

Pictures--------------------about--------Contact--------home
>Event Pictures
>>Specific Event-1
>>Specific Event-2
>Team pictures

Atahualpa 3.6.7
Love the Atahualpa Theme!
  #2  
Old Apr 23, 2012, 10:15 AM
lmilesw's Avatar
lmilesw
 
10,097 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.
  #3  
Old Apr 23, 2012, 10:17 AM
juggledad's Avatar
juggledad
 
22,244 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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.
  #4  
Old Apr 23, 2012, 08:52 PM
swimflyfast2's Avatar
swimflyfast2
 
148 posts · Aug 2010
Horse Country in Virginia
Thanks, how is that with SEO?

Bookmarks

Tags
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 12:23 AM.


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