Static Home Page / Separate Blog — Broken in 2.5
-
I attempted to upgrade my friend’s site to WP 2.5 — i have a “blog.php” file setup in my themes directory, per the instructions from the WordPress Codex. After upgrading, now it just shows one post in the blog and none of the others.
Has anyone resolved this?
Here is the code I have in my blog.php file in my themes directory:
<?php /* Template Name: Blog */ // Which page of the blog are we on? $paged = get_query_var('paged'); query_posts('cat=-0&paged='.$paged); // make posts print only the first part with a link to rest of the post. global $more; $more = 0; //load index to show blog load_template(TEMPLATEPATH . '/index.php'); ?>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Static Home Page / Separate Blog — Broken in 2.5’ is closed to new replies.