Hi,
I’m not sure I understood correctly what you are trying to do, but let me give this a go:
Is it such that when you make a subpage under the page ‘you’, the link to the subpage shows up on the top menu, whereas you would only like the ‘you’ link in the top menu?
If so, there is a specifier called ‘depth’ in the line where you call the pages:
<?php wp_list_pages(‘depth=1&sort_column=menu_order&title_li=’); ?>
Where depth=1 will call only the top pages, and depth=2 will call the subpages attached to the top pages.
Am I on target?
Best,
Kat, the Twat
yes, thats exactly what i am talking about, so how do i change it so they only show up when you click on the “depth=1” pages?
Example, look at my site http://prettynpurple.net I have the depth=1 as “About” under “About” i have links to about the girl, pictures, etc.
I took this code from someone else’s site and edited it to say what i wanted, but there are no actual pages there.
That is the second part of my problem, how do i create the pages that are listed there?
Nothing will work with blix.
Options: switch to a “normal” theme or study and modify the blix functions (it doesn’t use the usual WP functions, it has its own).
I found a way to get around it.
Example, look at my site http://prettynpurple.net I have the depth=1 as “About” under “About” i have links to about the girl, pictures, etc.
I took this code from someone else’s site and edited it to say what i wanted, but there are no actual pages there.
That is the second part of my problem, how do i create the pages that are listed there?
Normally, you go to the admin panel and click on ‘pages’ under ‘write’. Then for each page you can specify if it belongs to an already existing page or not.
The menu should then go get the pages that exist – i.e. they show up automatically in the menu, unless they are specifically excluded in the ‘get’ function.
I don’t know anything about blix, though – so if this is different I’d go with Moshu’s suggestion and find a wp template that is close to what you want and then edit it.
Where is the ‘get’ function where I can exclude certain pages from being added to the main navigation menu? I assumed if I created a new page and made a page that “wasn’t” the index page its parent, it would not appear but that doesn’t seem to be the case. Help! 🙂