• Hey guys,

    Trying to display my Loop using the default template. I have a post already but for some reason when I try display the Default template as the home page, the post isn’t displaying. I have set the Page which is using the Default template as static Front page. I can only see the post when I search for it or click on the category. Hope this makes sense.

    Here is the code:

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php the_content(); wp_link_pages(); ?>
    <?php endwhile; endif; ?>

    Cheers!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Loop isn't displaying’ is closed to new replies.