Hi,
I would like to show the last 5 latest posts on my wordpress home page.
I have inserted the following code into my wordpress page (using the page editor in html mode) and I have the Exec-PHP plugin installed. I have also tried it with another style with no luck but I have been able to do this with my other word press blogs in the past:
code:
<?php query_posts('showposts=5'); ?>
<ul>
<?php while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
<?php endwhile; ?>
</ul>
the website is here: http://highendlaptops.net/
this should be displaying just below the article (before the ads) I have even tried disabling ads and plugins with no luck!