No posts showing on blog page
-
Hi Guys!
I have just installed WordPress on a new client website. The site has been fully integrated with WordPress (so all pages are manageable from wp admin). However, when I create a new post from the backend and try to view it on the blog page the post does not appear. As I am using a custom template, please see below for the code I am using.
<h4>Welcome to Our Blog</h4> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="wp-blog-post"> <h5><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h5> <em><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></em> <div class="wp-entry"> <p><?php the_content('Read the rest of this entry »'); ?></p> </div> </div> <?php endwhile; ?> <div class="wp-navigation"> <div class="wp-alignleft"><?php next_posts_link('« Older Entries') ?></div> <div class="wp-alignright"><?php previous_posts_link('Newer Entries »') ?></div> </div> <?php else : ?> <h2 class="wp-center">Not Found</h2> <p class="wp-center">Sorry, but you are looking for something that isn't here.</p> <?php endif; ?>
Blog URL: https://www.lonocreative.com/blog
Any help appreciated ??
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘No posts showing on blog page’ is closed to new replies.