1
我想在我的帖子后有一个特定的分隔符。帖子后的特定分隔符
我有3个分隔 - > divider1,DIVIDER2,divider3
Basicly我想为他们循环,所以后1后,我得到divider1,张贴2-> DIVIDER2,post3-> divider3,后4 - > divider1等...
这是我的代码:
<div class="post">
<div class="post-title">
<h2><a href="<?php the_permalink() ?>" rel="bookmark"
title="Permanent Link to <?php the_title_attribute(); ?>">
<?php the_title(); ?>
</a></h2>
</div>
<div class="post-date">
<?php the_time('j-n-Y') ?><br/>
</div>
<div class="entry">
<?php the_excerpt();?>
</div>
<div class="meta">
<span class="post-cat"><?php the_category(',') ?></span>
<span class="post-comments"> <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></span>
</div>
<div class="divider1"></div>
</div>
所以类应该从divider1环路DIVIDER2到divider3到divider1,不断循环,谁能帮助我?