Blog link is going to home page
-
I updated my site and now my blog posts are not showing up.
They are showing up in the dashboard and I made sure that the blog page is using the blog template.
—————————————–<?php
/*
Template Name: Blog
*/
?><?php get_header(); ?>
<div id=”content”>
<div id=”contentleft”>
<div class=”postarea”>
<?php $page = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; query_posts(“showposts=5&paged=$page”); while ( have_posts() ) : the_post() ?>
<h1>” rel=”bookmark”><?php the_title(); ?></h1>
<div class=”postauthor”>
<p>Posted by <?php the_author_posts_link(); ?> on <?php the_time(‘F j, Y’); ?> · #comments”><?php comments_number(‘Leave a Comment’, ‘1 Comment’, ‘% Comments’); ?> <?php edit_post_link(‘(Edit)’, ”, ”); ?></p>
</div>
<?php the_content(__(‘Read more’));?><div style=”clear:both;”></div>
<div class=”postmeta”>
<p>Filed under <?php the_category(‘, ‘) ?> · Tagged with <?php the_tags(”) ?></p>
</div><?php endwhile; ?>
<p><?php posts_nav_link(); ?></p>
</div>
</div>
<?php include(TEMPLATEPATH.”/sidebar_post.php”);?>
</div>
<!– The main column ends –>
<?php get_footer(); ?>
————————————————————
I’m not seeing any problems on this page… but then again I could be missing it!Thanks,
Marta
The topic ‘Blog link is going to home page’ is closed to new replies.