/
www
/
wwwroot
/
alo88.autos
/
wp-content
/
themes
/
flatsome-child
/
template-parts
/
posts
/
Upload File
HOME
<?php /** * Posts layout right sidebar. * * @package Flatsome\Templates * @flatsome-version 3.18.0 */ // Chia lại độ rộng cột do_action('flatsome_before_blog'); ?> <?php if(!is_single() && flatsome_option('blog_featured') == 'top'){ get_template_part('template-parts/posts/featured-posts'); } ?> <div class="row row-small <?php if(flatsome_option('blog_layout_divider')) echo 'row-divided ';?>"> <div class="large-8 col"> <?php if(!is_single() && flatsome_option('blog_featured') == 'content'){ get_template_part('template-parts/posts/featured-posts'); } ?> <?php if(is_single()){ get_template_part( 'template-parts/posts/single'); comments_template(); } elseif(flatsome_option('blog_style_archive') && (is_archive() || is_search())){ get_template_part( 'template-parts/posts/archive', flatsome_option('blog_style_archive') ); } else { get_template_part( 'template-parts/posts/archive', flatsome_option('blog_style') ); } ?> </div> <div class="post-sidebar large-4 col"> <?php flatsome_sticky_column_open( 'blog_sticky_sidebar' ); ?> <?php get_sidebar(); ?> <?php flatsome_sticky_column_close( 'blog_sticky_sidebar' ); ?> </div> </div> <?php do_action('flatsome_after_blog'); ?>