WordPress.org

Ready to get started?Download WordPress

Forums

Display Page Content on a Page? (2 posts)

  1. Amber
    Member
    Posted 3 years ago #

    I'm curious if someone can assist me with this question.

    Can you use wp_list_pages to also display the content of the pages that have been listed?

    For example, if I have Main Page, which as sub pages A, B, C. On "Main Pages" template I use wp_list_pages to call the sub pages, but would like to be able to on click, have those sub pages slide down (possibly with a bit of jQuery) and reveal their content, instead of on click going to their own page.

    Hopefully that made sense!

    If wp_list_pages won't work for that can anyone point me in the right direction?

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Can you use wp_list_pages to also display the content of the pages that have been listed?

    No - only the page titles & their associated links.

    http://codex.wordpress.org/Function_Reference/get_page_children ?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.