• Resolved starcoder

    (@starcoder)


    Hi,

    i am trying to solve the following problem, but couldnt find an answer. What do i ned?

    I have a list of pages through wp_list_pages. All of them are the topmost parent pages. Now when a user clicks on one of them i want to show all the topmost pages AND for the selected one the subpages. Something like this:

    Mode1:
    Parent1
    Parent2
    Parent3
    Parent4
    Parent5

    Mode2 (klicked on Parent3):
    Parent1
    Parent2
    Parent3
    – Subpage1Parent3
    – Subpage2Parent3
    – Subpage3Parent3
    Parent4
    Parent5

    And then when a user clicks somewhere else the subpages should be hidden again.

    How could i make something like the above described?

    thank you
    regards
    yavuz

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show Subpages for selected Parent Page’ is closed to new replies.