コード例 #1
0
/**
 * Post content footer items
 *
 * @package Omega
 * @subpackage Admin
 * @since 0.1
 *
 * @copyright (c) 2014 Oxygenna.com
 * @license **LICENSE**
 * @version 1.7.3
 */
if (is_single()) {
    ?>
    <?php 
    oxy_wp_link_pages(array('before' => '<div class="text-center post-showinfo">', 'after' => '</div>'));
    ?>
    <div class="row">
        <div class="col-md-6 small-screen-center">
            <div class="post-extras">
                <?php 
    if (has_category() && oxy_get_option('blog_categories') === 'on') {
        ?>
                    <span class="post-category">
                        <i class="fa fa-folder-open"></i>
                        <?php 
        the_category(', ');
        ?>
                    </span>
                <?php 
    }
コード例 #2
0
 * Post content footer items
 *
 * @package Lambda
 * @subpackage Admin
 * @since 0.1
 *
 * @copyright (c) 2015 Oxygenna.com
 * @license **LICENSE**
 * @version 1.17.0
 */
$author_id = get_the_author_meta('ID');
$author_url = get_author_posts_url($author_id);
if (is_single()) {
    ?>
    <?php 
    oxy_wp_link_pages(array('before' => '<div class="text-center element-bottom-60">', 'after' => '</div>'));
}
?>

<?php 
if (oxy_get_option('blog_post_header') === 'subtitle') {
    ?>
    <?php 
    get_template_part('partials/blog/posts/normal/post', 'details');
}
?>

<?php 
if (is_single()) {
    ?>
<div class="row">