El codigo es el siguiente:
Código PHP :
<?php
//incluimos wordpress
define('WP_USE_THEMES', false);
require('./blog/wp-blog-header.php');
//pedimos 5 posts y mostramos una lista desordenada
query_posts('showposts=5'); ?>
<ul style="list-style: none;">
<?php
while (have_posts()): the_post();
echo "<li><a href='".get_permalink($post->ID)."'>";
the_title();
echo '</a></li>';
echo "<li><a href='".get_permalink($post->ID)."'>";
the_content();
echo '</a></li>';
echo "<li><a href='".get_permalink($post->ID)."'>";
the_time('F jS, Y');
echo '</a></li>';
endwhile; ?>
</ul>
