nachoms
Member
Posted 10 months ago #
Hi!!
I am trying to have two different blog layouts with the same posts. I'm using Autofocus theme, it has already the possibility to use two blog layouts (home.php and index.php) but what I want it's just having both at same time, Home.php in the main page (used as static page) and index.php in another page called blog. Both layouts shows the same posts.
I just can't figure it out. Any help?
thanks
I think it will work to make a copy of home.php named frontpage.php and make it into a template by adding the Template Name at the top:
<?php
/*
Template Name: Front Page
*/
?>
Then, create a blank Page titled 'Home' and use Front Page as the template. Create another blank Page titled 'Blog'.
Go to Admin->Settings->Reading and set the 'Home' Page as a Static front page and 'Blog' as the Posts page.