My theme uses a different template for the front page (home.php) then it does for the inside pages (index.php). But I want the blog posts to appear on an inside page not the front page. But when I select a page for the blog posts to go (in Settings > Readings) it uses the wrong template. It uses home.php to make both the blog page and the front page and since home.php doesn’t have the WordPress Loop the blog posts don’t appear at all.
I tried to get around this using both
if (is_home())by combining the information of both home.php and index.php into one file (I tried it separately using both file names: home.php and index.php) but then it just uses the information from the index.php template to create both the front page and inside blog post page.
Anyone know a way around this?
I’ve applied the theme to newer WP versions here’s it on an older version of WP:
- The topic ‘Using home.php with blog post on inside page’ is closed to new replies.