Beispiel #1
0
		<ul class="entry-meta">
			<li><i class="fa fa-clock-o"></i> <?php 
the_time('d,m,Y');
?>
</li>
			<li><?php 
echo '<i class="fa fa-pencil-square-o"></i> ';
the_category(',');
?>
</li>
			<li><i class="fa fa-comments-o"></i> <?php 
comments_popup_link('No Reply', '1 Reply', '% Replies');
?>
</li>
			<li><i class="fa fa-eye"></i> <?php 
mzw_post_views(' Views');
?>
</li>
		</ul>
    </header>
    <div class="entry-content" itemprop="description">
        <?php 
the_content();
?>
    </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>
Beispiel #2
0
function mzw_posts_list($orderby, $limit, $cat)
{
    $args = array('order' => DESC, 'cat' => $cat, 'orderby' => $orderby, 'showposts' => $limit, 'caller_get_posts' => 1);
    query_posts($args);
    echo '<div class="smart_post"><ul>';
    while (have_posts()) {
        the_post();
        global $post;
        echo '<li class="clearfix">';
        echo '<div class="post-thumb">';
        echo post_thumbnail(45, 45, false);
        echo '</div>';
        echo '<div class="post-right">';
        echo '<h3><a href="' . get_permalink() . '">';
        the_title();
        echo '</a></h3><div class="post-meta"><span>';
        comments_popup_link('暂无评论', '1 条评论', '% 条评论');
        echo '</span> | <span>';
        mzw_post_views(' 访问量');
        echo '</span></div></div>';
        echo '</li>';
    }
    wp_reset_query();
    echo '</ul></div>';
}
Beispiel #3
0
        ?>
</a>
        </h2>
        <ul class="entry-meta">
            <?php 
        if (comments_open()) {
            ?>
                <li class="comments_meta"><i class="fa fa-comments-o"></i> <?php 
            comments_popup_link('暂无评论', '1 条评论', '% 条评论');
            ?>
</li>
            <?php 
        }
        ?>
            <li class="views_meta"><i class="fa fa-eye"></i> <a><?php 
        mzw_post_views(' 访问量');
        ?>
</a></li>
        </ul>
    </header>
    <div class="entry-content tags-page" itemprop="description">
        <?php 
        specs_show_tags();
        ?>
    </div>
    <footer class="entry-footer clearfix">
    <span class="tag-links"><?php 
        the_tags('', '', '');
        ?>
</span>
        <div class="post-share">
Beispiel #4
0
        
		<div class="entry-meta">
			<span><?php 
the_time('Y,m,d');
?>
</span>
		           <span><?php 
the_category(',');
?>
</span>
			       <span><?php 
comments_popup_link('no reply', '1 reply', '% replies');
?>
</span>
			       <span><?php 
mzw_post_views(' reads');
?>
</span>
            </div>	
    </div>
	   
    <div class="entry-content" itemprop="description">
        <?php 
the_content();
?>
    </div>
	
	 <div class="clearfix"></div>
	 
	<footer class="entry-footer clearfix">
		<div class="post-share">