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,不斷循環,誰能幫助我?