Support » Themes and Templates » wp_list_pages: showing the root AND children of current page

  • Hello there.

    My website is supposed to list pages in the root and if current page has children, list them as indent, like this:

    Default:

    [ page 1 ]
    [ page 2 ]
    [ page 3 ]
    [ page 4 ]

    When on page 3, it is supposed to look like this:

    [ page 1 ]
    [ page 2 ]
    [ page 3 ]
    [ – page 3.1 ]
    [ – page 3.2 ]
    [ – page 3.3 ]
    [ page 4 ]

    Does anyone know how I can accomplish that?

    Sincerely:
    Jonatan Nilsson
    Iceland
    [ page 4 ]

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wp_list_pages: showing the root AND children of current page’ is closed to new replies.