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

  1. Spencer Hill
    Posted 4 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:

    begin loop
    echo h1 my title /h1
    echo mycontent
    end loop


  2. Michael
    Part-Time Forum Moderator
    Posted 4 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.