• Resolved jetlej

    (@jetlej)


    My front page shows the 4 most recent articles and also feeds from a forum and a wiki that I have on the site. I want another page that just shows the blog articles (all of them). I tried using a template with the wordpress loop on a “New Page” but it doesn’t seem to work. Also tried setting my post page (under settings >> reading) to that page, but it just makes that page look like my home.php.

Viewing 3 replies - 1 through 3 (of 3 total)
  • How did you set this up? Did you modify index.php to get your front page working like it is or did you create a new template?

    The thing to do would be to:

    1. Copy your theme’s index.php to front.php (or something)
    2. Edit front.php to do what you want–ie., show the 4 articles and the feeds
    3. Go to wp-admin->Pages->Add New and create a ‘Front’ Page.
    4. Go to Settings->Reading and select the newly created ‘Front’ page as the ‘Front page’
    5. The original unedited index page should now show the blog posts like normal.
    Thread Starter jetlej

    (@jetlej)

    That worked perfectly, thank you

    It worked so I imagine you figured this out but for those coming later, my step 3) should read “Go to wp-admin->Pages->Add New and create a ‘Front’ Page using front.php as the Template.”

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Two different pages with wordpress loop’ is closed to new replies.