Support » Fixing WordPress » Having entries on multiple pages

  • robobalasko

    (@robobalasko)


    Hey guys!
    After a few months of successul use of wordpress on my site, I’ve come to a problem I couldn’t resolve.
    I’d like to know if it’s possible to have your entries, which are displayed on the front page by default, on multiple pages. I mean, I’ve created a custom front page for my website which has some welcome info etc., but also contains the entries under it, however, I’d like to have a single page named ‘blog’, which would only contain the entries.

    What I tried: I’ve copied the index.php file of my wordpress template and made it another single page template in hope it will work as it does on the front page, but obviously it doesn’t. So, is there any way of doing this with WP?

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • haxxxton

    (@haxxxton)

    you were on the right track though..

    What i suggest you try is in your duplicated page (called blog.php for example)

    place the following details at the top of the file

    <?php
    /*
     Template Name: Blog
    */
    ?>

    Now, in the dashboard, on your blog page there should be a section on the right hand side that is below the dropdown for Parent Page, called Page Template. You should now see a Page Template called Blog. Select that and hit Update.

    See if that gives you what you’re looking for 🙂

    Thread Starter robobalasko

    (@robobalasko)

    Hey Haxxxton!
    Thanks for your reply, I tried it, it didn’t work though. It gives me a regular page just like the other ones 🙁

    abhilol

    (@abhilol)

    Now create a page called Home and make it a static home page. Then create a page named blog and use blog template and use it to show your blog ( under reading setting). Now modify the index.php according to your need.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Having entries on multiple pages’ is closed to new replies.