öncelikle wordpressin bulunduğu blog dizinie şu kısmı post.php olarak kaydedin.

<?php
require('wp-config.php' );
$postslist = get_posts('numberposts=3&amp;order=DESC&amp;orderb y=id');
foreach ($postslist as $post) :
setup_postdata($post)
?>
<div>
<br />
<h3><strong><?php the_title(); ?></strong></h3>
<br />
<p align="justify"><?php the_content(); ?></p>
</div>
<?php endforeach; ?>

Kaç tane yazıyı çekmek istiyorsanız “numberposts=3″ içindeki 3 ü istediğiniz bir sayı ile değiştirin. Bu kodu posts.php olarak kaydettikten sonra wordpress’in ana dizinine atın. Daha sonra Bu yazıları çekmek istediğiniz yere küçük bir include komu ekleyin. Örnek:

<? include("blog_adresi/index_posts.php"); ?>

<alıntıdır>