Показать сообщение отдельно
Старый 17.07.2009, 16:14   #13
Участник
 
Регистрация: 05.05.2007
Сообщений: 8

Репутация: 4
По умолчанию

Базич, втыкай в шаблон в нужном тебе месте, например наверх page.php

<?php
query_posts(array('orderby' => 'rand', 'showposts' => 1));
if (have_posts()) :
while (have_posts()) : the_post(); ?>
<a href="&lt;?php the_permalink() ?&gt;" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a>
<?php the_excerpt();
endwhile;
endif; ?>
z0nata вне форума