Exemple #1
0
    <div class="entry-content">
        <?php 
if (isset($swift_options['social_share']) && ($swift_options['social_share'] == "both" || $swift_options['social_share'] == "above_only")) {
    swift_social_media('<ul class="single-ss clearfix">', '</ul>');
}
?>
        <?php 
the_content();
?>
        <div class="clear"></div>
        <?php 
wp_link_pages(array('before' => '<div class="page-link"><span>' . __('Pages', 'swift') . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>', 'next_or_number' => 'number', 'nextpagelink' => __('Next page', 'swift'), 'previouspagelink' => __('Previous page', 'swift'), 'pagelink' => '%', 'echo' => 1));
?>
        <?php 
if (isset($swift_options['social_share']) && ($swift_options['social_share'] == "both" || $swift_options['social_share'] == "below_only")) {
    swift_social_media('<ul class="single-ss clearfix">', '</ul>');
}
?>
        <div id="post_end"></div>
        <?php 
if (has_tag()) {
    ?>
            <div class="tags">
                <?php 
    echo __('Tagged with', 'swift') . '&nbsp;';
    ?>
                <h6>
                    <?php 
    the_tags('', ' ', ' ');
    ?>
                </h6>
Exemple #2
0
    <?php 
        if ($count % 3 == 0) {
            the_post_thumbnail(array(620, 360), array('class' => 'aligncenter np-tabs-large'));
        } else {
            the_post_thumbnail(array(120, 120), array('class' => 'alignleft thumb'));
        }
        ?>
    <?php 
        the_excerpt();
        ?>
    <div class="clear"></div>
    <div class="sharing clearfix">

        <?php 
        swift_social_media('<ul class="clearfix alignleft">', '</ul>');
        ?>

        <div class="alignright">
    		<span
                class="comments-link alignright"><?php 
        comments_popup_link(_x('0', '0 comments', 'swift'), _x('1', '1 comment', 'swift'), sprintf(_x('%s', 'n comments', 'swift'), '%'));
        ?>
    		</span>
        </div>
    </div>
    <div class="clear"></div>

    <?php 
        $count++;
    }
Exemple #3
0
                    class="comments-link alignright parallelogram fa-comments entry-meta"><?php 
    comments_popup_link(_x('0', '0 comments', 'swift'), _x('1', '1 comment', 'swift'), sprintf(_x('%s', 'n comments', 'swift'), '%'));
    ?>
			</span>
            <?php 
}
// End if comments_open()
?>


            <div class="clear"></div>
            <div class="button-group">
                <a href="#" class="btn btn-mini share fa-share-square-o">Share</a>&nbsp;
                <a href="<?php 
the_permalink();
?>
" class="btn btn-success btn-mini fa-eye">View Post</a>
                <?php 
swift_social_media('<div class="mag2-sm-container"><ul class="mag2-sm clearfix">', '</ul></div>', array('facebook', 'twitter', 'pinterest', 'google_plus'));
?>
            </div>

        </footer>
        <!-- #entry-meta -->
    </div>
</article>
<!-- #post-<?php 
the_ID();
?>
 -->