WordPress.org

Support

Support » Themes and Templates » What's the best way to retrieve pages and their content all on one page?

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

  • 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!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘What's the best way to retrieve pages and their content all on one page?’ is closed to new replies.
Skip to toolbar