• I updated my site and now my blog posts are not showing up.

    http://thebluejeansva.com

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • In the WP page editor, did you assign the custom template you made to the Blog page? In the column to right of edit window Attributes / Template

    Thread Starter Marta Goertzen

    (@mdg1735)

    I did assign it the blog template and I made sure that the settings are pointing to the correct directory.

    I’m not sure what is happening on this one!

    Thanks
    Marta

    Thread Starter Marta Goertzen

    (@mdg1735)

    All fixed, it turns out to be a theme issue I think. Changed reading settings to both front page and blog page to be -select- instead of blog it worked correctly.

    ~Marta

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Blog link is going to home page’ is closed to new replies.