?> "><?php the_title(); ?> </a></h3> <p> <?php $contents = get_the_excerpt(); $excerpt = wp_trim_words($contents, 120, ot_get_option('readmore')); echo $excerpt; ?> </p> <div class="line"></div> <!-- Post meta --> <?php tin_post_meta(1); ?> <!-- /.Post meta --> </div> <div class="clear"></div> </article> </span> <?php } ?> </div> <!-- pagination --> <div class="clear"> </div> <?php ajaxmore();
<div id="main-wrap"> <div id="sitenews-wrap" class="container"><?php get_template_part('includes/sitenews'); ?> </div> <div id="single-blog-wrap" class="container two-col-container"> <div id="main-wrap-left"> <!-- Content --> <div class="content"> <?php while (have_posts()) { the_post(); ?> <!-- Post meta --> <?php tin_post_meta(); ?> <!-- /.Post meta --> <!-- Rating plugin --> <?php get_template_part('includes/rating'); ?> <!-- /.Rating plugin --> <!-- Single article intro --> <?php $intro = get_post_field('post_excerpt', $post->ID); if (!empty($intro)) { ?> <div class="single-intro contextual"> <span><?php _e('导语:', 'tinection');
<?php get_template_part('includes/thumbnail', esc_attr($format)); ?> <div class="home-small-entry-text clr"> <h3> <a href="<?php the_permalink(); ?> " title="<?php the_title(); ?> "><?php the_title(); ?> </a> </h3> </div> <div class="line"></div> <!-- Post meta --> <?php tin_post_meta('1'); ?> <!-- /.Post meta --> </article> </span> <?php } } if ($i > 3) { echo '</div>'; }