How to implement separate sub-menus?

I can somehow understand what you are asking for but I think you should make this more clear. You already posted an example, but I think the main problem is: You connect some type of data to each other which is not known to wordpress.

So as long as you don’t provide some hint how DOG is related to ANIMAL (okay, this looks obvious on first read, but how are those two menues connected to each other? Computers are dumb silly, so they always need hints, imagine?), the question can not be answered. Sorry.

UPDATE:

See the wp list pages() (WordPress Codex) and wp_page_menu() (WordPress Codex) functions. You can make use of those in your theme.

Leave a Comment