Jump to content
Sign in to follow this  
jasonp

Subnav problem

Recommended Posts

jasonp    0
jasonp

Hi there! I have dropdowns enabled, and my main problem is that when you click on the heading itself it opens up the parent page...however the parent page doesn't show up on the Subnav that appears! It's very confusing from a design perspective...I've been getting around it by making dupclicates of that first page but need a more permanent solution. Thanks, Jason

Share this post


Link to post
Share on other sites
Andrew    201
Andrew

you want the parent page to show up in the drop down?

Share this post


Link to post
Share on other sites
jasonp    0
jasonp

That would certainly be one easy way to solve it I think. I'm also looking into your other suggestion with: wp_list_pages('exclude='.$frontpage_id.$forum_exclude.'&depth=1&title_li=');?> Great stuff.

Share this post


Link to post
Share on other sites
Andrew    201
Andrew

ya you can always tweak the code (wp_list_pages) you might also try the 'page links to' plugin to seamlessly redirect pages...

Share this post


Link to post
Share on other sites
jasonp    0
jasonp

Thanks Andrew. When you mean tweak code...is this something I can do in the custom code area? Or does it need to be done directly in the php files somewhere? I believe I know enough to be able to do the direct edits but I'm hoping to avoid things I can't update to the WHP database for easy upgrades. Thanks!

Share this post


Link to post
Share on other sites
jnoh    0
jnoh

You'll have to edit the 'header.php' theme file to do what you need, as there is no option for it in our themes. :/ Search for this code, you'll see it near the bottom of the file:

wp_list_pages('exclude='.$frontpage_id.$forum_exclude.'&depth=1&title_li=');?>

delete '.$frontpage_id' an you should get the effect you're looking for.

Share this post


Link to post
Share on other sites
jasonp    0
jasonp

Thanks Andrew. On another string I actually was discussing how to simply enable the white mouseovers associated with the dropdown but without the actual dropdown. I'm still a bit confused on how to get this but for my purposes realized it's much preferable! It seems easier to lead a visitor where you want them to without them -- but the mouseovers make such a positive difference too.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×