Ejemplo n.º 1
0
?>
</li>
		</ul>
    </header>
	<div class="flexslider">
		<ul class="slides">
			<?php 
if (postformat_gallery()) {
    postformat_gallery();
}
?>
		</ul>
	</div>
    <div class="entry-content" itemprop="description">
        <?php 
the_content_nopic();
?>
    </div>
	<footer class="entry-footer clearfix">
		<div class="post-share">
			<a href="javascript:;"><i class="fa fa-share-alt"></i><?php 
_e('share', 'quench');
?>
</a>
			<ul>
				<li><a href="http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=<?php 
the_permalink();
?>
&title=<?php 
the_title();
?>
Ejemplo n.º 2
0
		<?php 
catch_that_image();
?>
	</div>
    <div class="entry-content" itemprop="description">
        <?php 
$pc = $post->post_content;
$st = strip_tags(apply_filters('the_content', $pc));
if (has_excerpt()) {
    the_excerpt();
} elseif (preg_match('/<!--more.*?-->/', $pc) || mb_strwidth($st) < 500) {
    the_content_nopic('');
} elseif (function_exists('mb_strimwidth')) {
    echo '<p>' . mb_strimwidth($st, 0, 500, ' ...') . '</p>';
} else {
    the_content_nopic('');
}
?>
    </div>
    <footer class="entry-footer clearfix">
		<div class="post-love">
			<a href="javascript:;" data-action="ding" data-id="<?php 
the_ID();
?>
" class="favorite post-love-link <?php 
if (isset($_COOKIE['mzw_ding_' . $post->ID])) {
    echo ' done';
}
?>
" title="Love this"><i class="fa fa-heart-o"></i> 
			<span class="love-count">