Exemplo n.º 1
0
<?php

/**
 * @author Stylish Themes
 *
 * @since 1.0.0
 */
// File Security Check
if (!defined('ABSPATH')) {
    exit;
}
$classes = array('post-container');
$has_widgets = Zen_Blog_Shortcode::get_instance()->has_widgets;
$query = Zen_Blog_Shortcode::get_instance()->blog_query;
?>

<?php 
/**
 * Remove filter because it stays activated throw all posts.
 */
remove_filter('zen_get_content_more', 'zen_return_empty_string', 15);
?>

<div class="blog-post-separately clearfix">

    <div class="<?php 
if ($has_widgets) {
    echo 'col-sm-1-5';
} else {
    echo 'col-sm-1';
}
Exemplo n.º 2
0
<?php

/**
 * The default template for displaying content error. Used for both single and index/archive/search.
 *
 * @package StylishThemes
 * @subpackage Zen7
 * @since Zen7 1.0.0
 */
$has_widgets = Zen_Blog_Shortcode::get_instance()->has_widgets;
?>

<div class="blog-post-separately clearfix fadeInUp">
    <div class="<?php 
if ($has_widgets) {
    echo 'col-sm-1-5';
} else {
    echo 'col-sm-1';
}
?>
 row-left">

    </div>
    <div class="<?php 
if ($has_widgets) {
    echo 'col-sm-11-5';
} else {
    echo 'col-sm-11';
}
?>
 row-right">
Exemplo n.º 3
0
        <?php 
        if ($this->has_widgets) {
            ?>
        </div>
        <?php 
        }
        ?>

        <!-- WIDGETS SIDEBAR -->
        <?php 
        if ($this->has_widgets) {
            ?>
            <!-- Widgets Sidebar Container -->
            <div class="col-sm-3">

                <?php 
            get_sidebar('main-sidebar');
            ?>

            </div>
            <!-- End Widgets Sidebar Container -->
        <?php 
        }
        ?>

        <?php 
    }
}
Zen_Blog_Shortcode::get_instance();