• Hi guys,

    I simply want my site’s home page to be a blog.
    I have created a “Blog” page which I have set to be a static page for the Front page to display. I have set the Blog page to the Default Template, which I believe is page.php.

    The page.php code is as below:

    <?php get_header(); ?>
    
    <?php if (function_exists('dynamic_sidebar') && is_page() && is_active_sidebar('page-sidebar')): ?>
    <div class="siteColumnLeft clearfix">
    <?php endif; ?>
    
    <div class="separator"></div>
    
    <!-- Content -->
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php the_content(); wp_link_pages(); ?>
    <?php endwhile; endif; ?>
    
    <?php if (function_exists('dynamic_sidebar') && is_page() && is_active_sidebar('page-sidebar')): ?>
    </div>
    <?php endif; ?>
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
    
    Please help! Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Blog loop isn't displaying!’ is closed to new replies.