Onun bir liste olduğunu varsayarsak css ile yapabilirsin
ul { counter-reset: section; list-style-type: none;}
li::before { counter-increment: section; content: counters(section,".") " ";}
Hocam css değil de
<?php query_posts('showposts=10'); ?>
<?php while (have_posts()) : the_post(); ?>
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a>
<?php endwhile;?>
Böyle bir kod son yazıları çekiyor ve yazılar çekerken başına sayıları otomatik nasıl ekletebiliriz css değil de