示例#1
0
										'link_after'  => '</span>',
									) ); ?>
									
								<?php   comments_open() ?>
								</p>
							</div>
							<footer class="post-meta-single">
								<div class="meta-l">
									 <?php the_tags( '<span class="post-tag">', '', '</span>'); ?>
									 <span class="post-auther"><?php the_author_posts_link(); ?></span>
									 <span class="post-category"><?php the_category('/') ?></span>
									 <?php edit_post_link('编辑', '<span class="post-auther">', '</span>'); ?>
								 </div>
								 <div class="meta-r">
									 <span class="post"><?php post_views(' ','次点击'); ?> </span>
									 <span class="comments-num" date-c**t="<?php echo zfunc_comments_users($post->ID); ?>"><?php comments_popup_link('0人发表看法', '1人发表看法', '%人发表看法'); ?></span>
								</div>
								<div class="clearfix"></div>
							</footer>
						</div>
					</article>
					<?php
				endwhile;
				// Previous/next post navigation.
				 ?>
		    	<?php 
			else :
				// If no content, include the "No posts found" template.
				get_template_part( 'content', 'none' );

			endif;
示例#2
0
			<h1 class="title">
				<?php 
        the_title();
        ?>
			</h1>
			<ul class="article-info">   
				<li>发布 <?php 
        the_time('Y/m/d');
        ?>
</li>
                <li>阅读 <?php 
        echo getPostViews(get_the_ID());
        ?>
</li>
                <li>评论 <?php 
        echo zfunc_comments_users($post->ID);
        ?>
</li>
                   <?php 
        if (is_user_logged_in()) {
            ?>
                <li><?php 
            edit_post_link('编辑');
            ?>
</li> <?php 
        }
        ?>
			</ul>
			<div class="clear"></div>
			<div class="content">
			  <?php