• Resolved pengume

    (@pengume)


    HI,
    I was trying to create a child page nested into a parent page on my website and it doesn’t show at all that there are any pages nested into it. The page is published and can be viewed if I go to my pages on the dashboard and hit view but other than that it doesn’t appear? the page is dedicated traveler and the child page should list underneath it as dedicated guide. thanks for any help. I have contacted the theme maker as well for additional support.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Check for a template tag

    <?php wp_list_pages( $args ); ?>

    probably in you header.php file

    see if there is a depth argument and if “depth = 1”, you are only going to see the top level only and no child pages.

    Here are the values for the depth argument

    (integer) This parameter controls how many levels in the hierarchy of pages are to be included in the list generated by wp_list_pages. The default value is 0 (display all pages, including all sub-pages).

    * 0 – Pages and sub-pages displayed in hierarchical (indented) form (Default).
    * -1 – Pages in sub-pages displayed in flat (no indent) form.
    * 1 – Show only top level Pages
    * 2 – Value of 2 (or greater) specifies the depth (or level) to descend in displaying Pages.

    Thread Starter pengume

    (@pengume)

    Thanks that was perfect. Just what I needed and it works perfectly now. thanks for the quick response viceng your the man!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page navigation’ is closed to new replies.