• Resolved twe4ked

    (@twe4ked)


    Hey,

    I set up wordpress to use a static page (via settings>reading) for the home page (‘welcome’) and a page called ‘blog’ for posts, both of these pages use custom templates e.g. <?php/* Template Name: Blog */?>

    My problem is, blog is still using ‘index.php’.

    TIA

Viewing 2 replies - 1 through 2 (of 2 total)
  • According to Administration > Settings > Reading

    Posts page – Select in the drop-down box the name of the Page that will now contain your Posts. If you do not select a Page here, your Posts will only be accessible via other navigation features such as category, calendar, or archive links. Even if the selected Page is Password protected, visitors will NOT be prompted for a password when viewing the Posts Page. Also, any Template assigned the Page will be ignored and the theme’s index.php will control the display of the posts (this may change in future releases).

    Review the Conditional Tags if you need to account for this ‘feature’.

    Thread Starter twe4ked

    (@twe4ked)

    Thanks Michael, I ended up making a home.php file to pe used by the ‘posts page’.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using a custom template as the posts page’ is closed to new replies.