added footer and header.php to posts.php