Problem with Wordpress

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 &raquo;'); ?></p>
				</div>
			  </div>
		       <?php endwhile; ?>
		       <div class="wp-navigation">
                 <div class="wp-alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
                 <div class="wp-alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></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: http://www.lonocreative.com/blog

Any help appreciated :slight_smile:

Does it work if you switch back to the default template?

Yes, it does.

My suggestion is to start with the default them and replace the layout section by section with your own code until you have a working template.