WordPress.org

Ready to get started?Download WordPress

Forums

What's the best way to retrieve pages and their content all on one page? (2 posts)

  1. Spencer Hill
    Member
    Posted 3 years ago #

    I have created a single page design in which all of the pages within the website are displayed on the front page (their title and content only). I'm wondering what the best way is to display this information so if the user adds a new page it will display on the front page as well.

    I was thinking something like:

    query_posts('yadayada');
    
    begin loop
    echo h1 my title /h1
    echo mycontent
    end loop

    Thanks!

  2. alchymyth
    Forum Moderator
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.