while (have_posts()) { the_post(); ?> <header class="section-header u-textAlignCenter"> <h2 class="grap--h2"><?php the_title(); ?> </h2> <div class="block-postMetaWrap"> <time><?php echo get_the_date('Y/m/d'); ?> </time> <?php if (function_exists('fancyratings')) { fancyratings(get_the_ID(), 'sb'); } ?> </div> </header> <div class="grap"> <?php if (has_post_thumbnail()) { ?> <p class="with-img"><?php the_post_thumbnail('full'); ?> </p> <?php } ?>
<?php include TEMPLATEPATH . '/share/share.php'; ?> <p style="text-align: center"><img src="http://qr.liantu.com/api.php?text=<?php the_permalink(); ?> &w=200&h=200" /></p><p style="text-align: center">打开微信“扫一扫”,打开网页后点击屏幕右上角分享按钮</p> <hr /> <?php the_content(); ?> <section class="single-post-share cf"> <div class="single-post-share-social"> <?php fancyratings(get_the_ID()); ?> </div> </section> </section> <?php if (count(wp_get_post_tags($post->ID)) != 0) { ?> <section class="article-tags"> <i class="icon-tags"></i> <?php kr_the_tag_list($id); ?> </section> <?php