strongfruit 0 Report post Posted December 31, 2010 So close yet so far. Your _sub_nav.php script is pretty neat for showing child pages of parent pages. but what of children of children pages? Here is another way of explaining myself- The structure works fine: home program - about program - join program benefits - rewards - income contact apply now This one doesn't: Franchie - home - program - - about program - - join program - benefits - - rewards - - income - contact - apply now anyway way to control the options for _sub_nav.php? I set the depth for 2 in the .php but no luck.. Share this post Link to post Share on other sites
strongfruit 0 Report post Posted December 31, 2010 Your site is structured like this by default: The main nav is for root pages. The sub nave is for 1st child pages. I am trying to hack your site and add a "sections tab" on the top right. It will be a drop down that lets you jump from root pages which will act like categories. The main nave will be for 1st children. And the sub for grand children. So for instance. The 2 main pages will be Students Clients Each with their own navigation bar Student - Home - About - Contact - Sign up Clients - Home - About - Prices - Hire Us - Contact And they have sub sub nave like so Student - Home - About - - History - - Rewards - Contact - Sign up Clients - Home - About - - Testimonials - - Facebook - Prices - Hire Us - - List of Services - - Examples of our work - Contact Attached is an idea of what I'm after. Share this post Link to post Share on other sites
cmunns 16 Report post Posted January 1, 2011 This thread is semi-related http://www.pagelines.com/forum/topic.php?id=2689 Is that the depth attribute you changed? Share this post Link to post Share on other sites
strongfruit 0 Report post Posted January 2, 2011 Close. How about i reiterate what I need. Okay Cmunns. Right now the main nav shows the top level pages. The sub name shows the child of the currently selected top level page respectively. How to downgrade both. So the main nav shows the child and the sub nave shows the grandchild of the child. (The Main Nave will be replaced by custom code that I wrote myself. See above photo for reference or follow this link: ) Share this post Link to post Share on other sites
catrina 103 Report post Posted January 2, 2011 To clarify: so you want the child as the "parent" and the "grandchild" as the child? For example: "About" (which is actually the child page) would be the "parent" and the child of that would be "History" (which is actually the grandchild page)? Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
strongfruit 0 Report post Posted January 3, 2011 This should help: Here is a photo of how you currently have it set up: Here is a photo of how I would like it: Essentially make the Main Nav move from showing Parent Pages to Child Pages. And the Sub Nav to move from showing Child Pages to Grand Child Pages. And I will add my own Custom Nav, to show Parent Pages. Get it? Share this post Link to post Share on other sites
strongfruit 0 Report post Posted January 3, 2011 Allo? Share this post Link to post Share on other sites
bryan-hadaway 3 Report post Posted January 4, 2011 I believe this is possible with PlatformPro and that the other themes will eventually be updated to that system. Marking for developer review for further insight. Thanks, Bryan Share this post Link to post Share on other sites
strongfruit 0 Report post Posted January 4, 2011 Hey Bryan, that's fine that PlatformPro does it, but I am pretty sure I can not upgrade the White House Theme to Platform Pro. What I am asking for is not very hard. I just want the Main Navigation to show Child Pages and the Sub Navigation to show Grand Child Pages. It shouldn't be too hard, I don't think. Can anyone give me any direction for this? Share this post Link to post Share on other sites
Andrew 207 Report post Posted January 4, 2011 Hey Efraim, hmm... well you can use the WP menus to control the top level navigation... as for the sub navigation, I can show you how to hack the file... While its hard to test on my end, the first thing you should look at is the `$reverse_ancestors[0]` variable in the _sub_nav file. Try changing it to `1` instead of `0` Share this post Link to post Share on other sites
strongfruit 0 Report post Posted January 5, 2011 It didn't help. I am going to manual write out all the and for each page. Hard code it. Share this post Link to post Share on other sites
strongfruit 0 Report post Posted January 5, 2011 If anyone can help me it would be swell. Share this post Link to post Share on other sites
Andrew 207 Report post Posted January 6, 2011 We're going to improve the subnav functionality of menus once WP 3.1 is out... they are addressing the shortcomings (hopefully)_ Share this post Link to post Share on other sites
strongfruit 0 Report post Posted January 9, 2011 This is what I ended up doing: PrimeHomeServices.ca Again, I had to hard code it all. Share this post Link to post Share on other sites