Точно так же, только в index.php
рядом с the_title()
.
Не совсем понял, куда именно рядом с the_title(). Куда не ставлю, не выводит.
Вот например там такой код:
<div class="PostHead">
<h1> <a title="<?php the_title(); ?> " href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ? ></a></h1>
<p class="PostDate">
<strong class="day"><?php the_time('d'); ?></strong>
<strong class="month"><?php the_time('M'); ?></strong>
</p>
<p class="PostInfo"> Рубрика: <?php the_category(', ') ?> <?php edit_post_link('Править', ''); ?></p>
</div>
<div class="PostContent">
<? if (is_home() && (!$paged || $paged == 1) || is_search() || is_single() || is_page()): ?>
<?php the_content('Читать полностью »'); ?>
<? else: ?><?php the_excerpt() ?><? endif; ?>
</div>
Куда правильно вставлять?