Archived

This topic is now archived and is closed to further replies.

  • 0

Subnav problem

Question

Posted · Report post

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

6 answers to this question

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

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

Posted · Report post

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

Posted · Report post

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

Posted · Report post

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

Posted · Report post

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