Blog not showing postsHi
-
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.
Blog URL: https://www.janddmedia.com/clients/lono/blog/
<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; ?>
Thanks for any help ??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Blog not showing postsHi’ is closed to new replies.