WordPress.org

Forums

Howto render nested pages in page.php (4 posts)

  1. jcgronde
    Member
    Posted 8 years ago #

    Dear all,

    I've been searching for a way to render subpages nested in a single (web)page. The wordpress.org documentation is done this way.

    I've checked a number of themes, but they all put a Page on a webpage, both top-level and child Pages.

    Where do I start? Examples? Is the WordPress.org theme available for download?

    Thanks in advance,

    Jeroen

  2. moshu
    Member
    Posted 8 years ago #

    I am not sure what you call "wordpress.org theme". This page where you read this is NOT a wordpress blog: it is a forum software called bbpress.

    And the wordpress "documentation": http://codex.wordpress.org/Main_Page uses the MediaWiki software - http://www.mediawiki.org/wiki/MediaWiki

    So, what is the WordPress related question?

  3. jcgronde
    Member
    Posted 8 years ago #

    OK, I didn't know that.

    So I am trying to achieve a similar layout with Pages and SubPages.

    I would like to render a Page and include the subPages. So that a subpage acts as section on the Page. Is this possible?

    Thanks,

    Jeroen

  4. moshu
    Member
    Posted 8 years ago #

    It might be - with some work.
    You'll need to alter the Page template and/or create new Page templates (see the Codex: http://codex.wordpress.org/Pages)
    and try to search here for displaying children pages and similar keywords.
    Also read about the http://codex.wordpress.org/Template_Tags/wp_list_pages tag that displays the Pages list

Topic Closed

This topic has been closed to new replies.

About this Topic