WordPress.org

Ready to get started?Download WordPress

Forums

Pages within Pages (2 posts)

  1. Ferghal
    Member
    Posted 8 years ago #

    Is it Possible to make a page that appears in the menu bar at the top of wordpress and to make another page that does not but appears as ssub-page within that page?

  2. nearlythere
    Member
    Posted 8 years ago #

    do you mean child pages?

    you can do that in the admin screen, are you familiar with indicating "Page Parent" in the page editing screen?

    after that you need to edit your theme to only list parent pages. if you need editing themes, you'll need to say what theme you are using. also links to look at pages helps others help you.

    i found this when i did a search here for "page parent only":

    From:

    http://codex.wordpress.org/Template_Tags/wp_list_pages

    depth
    (integer) Numeric value for how many levels of hierarchy (sub-pages) to display. Defaults to 0 (display all pages).

    <?php wp_list_pages('depth=1&title_li='); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.