Example #1
0
            ?>
					<?php 
            if (has_post_thumbnail()) {
                ?>
						<a href="<?php 
                the_permalink();
                ?>
"><?php 
                the_post_thumbnail(array(150, 150));
                ?>
</a><!--设置特色图像-->
				<?php 
            }
            ?>
					<p class="summary"><?php 
            echo content_excerpt(200);
            ?>
</p><!--文章摘要,参数为摘要字数-->
				<?php 
        }
        ?>
			</div>
			<div class="meta">
				<span class="category">分类:<?php 
        the_category(' ', '');
        ?>
</span>|&nbsp;
				<?php 
        the_tags('<span class="tag">标签:', ',', '</span>');
        ?>
				<span class="date">发表于:<?php 
Example #2
0
            ?>
					<?php 
            if (has_post_thumbnail()) {
                ?>
						<a href="<?php 
                the_permalink();
                ?>
"><?php 
                the_post_thumbnail(array(150, 150));
                ?>
</a><!--设置特色图像-->
				<?php 
            }
            ?>
					<p class="summary"><?php 
            echo content_excerpt(41);
            ?>
</p><!--文章摘要,参数为摘要字数-->
				<?php 
        }
        ?>
			</div>
			<div class="meta">
				<span class="category">分类:<?php 
        the_category(' ', '');
        ?>
</span>
				<?php 
        the_tags('<span class="tag">标签:', ',', '</span>');
        ?>
				<span class="date">发表于:<?php