I have a custom home page (
home.php). I want to show the original home page's posts on
I created a new blog.php file, with Template Name: Blog, added
query_posts('numberposts=5&paged=' . get_query_var('paged')); require dirname(__FILE__) . '/index.php';
to the file.
The problem is that this
query_posts call sets
is_home() to true. I have some code in
header.php that needs to be run only on the home page, but it runs on this template's pages too.
What's the best way to do this?