示例#1
0
    ?>
            <?php 
    wp_link_pages(array('before' => '<div class="page-link"><span>' . __('Pages:', 'swift') . '</span>', 'after' => '</div>'));
    ?>
        </div>
        <!-- .entry-content -->
    <?php 
}
?>
    <div class="clear"></div>

    <footer class="home entry-meta">
        <?php 
if ('post' == get_post_type()) {
    // Hide category and tag text for pages on Search
    swift_meta_generator($swift_options['home_blog_meta'], 'alignleft');
}
// End if 'post' == get_post_type()
?>

        <?php 
if (comments_open()) {
    ?>
            <div class="comments-link fa-comments">
                <?php 
    comments_popup_link('<span class="leave-reply">' . _x('0', '0 comments', 'swift') . '</span>', _x('1', '1 comment', 'swift'), sprintf(_x('%s', 'n comments', 'swift'), '%'));
    ?>
            </div>
        <?php 
}
// End if comments_open()
示例#2
0
        <header class="entry-header">
            <?php 
    swift_meta_generator($swift_options['single_above_title'], 'single-meta-above-title');
    ?>
            <h1 class="entry-title">
                <?php 
    the_title();
    ?>
            </h1>

            <div class="border clearfix">
                <?php 
    if ('post' == get_post_type()) {
        ?>
                    <?php 
        swift_meta_generator($swift_options['single_below_title'], 'single-meta-below-title alignleft');
        ?>
                <?php 
    }
    ?>
                <?php 
    if (comments_open()) {
        ?>
                    <div class="comments-link alignright entry-meta">
                        <?php 
        comments_popup_link('<span class="leave-reply">' . _x('0', '0 comments', 'swift') . '</span>', _x('1', '1 comment', 'swift'), sprintf(_x('%s', 'n comments', 'swift'), '%'));
        ?>
                    </div>
                <?php 
    }
    // End if comments_open()