File: /var/www/html/wp-content/themes/flatsome/template-parts/posts/layout-right-sidebar.php
<?php
/**
* Posts layout right sidebar.
*
* @package Flatsome\Templates
* @flatsome-version 3.19.9
*/
do_action('flatsome_before_blog');
?>
<?php if(!is_single() && get_theme_mod( 'blog_featured', '' ) == 'top'){ get_template_part('template-parts/posts/featured-posts'); } ?>
<div class="row row-large <?php if ( get_theme_mod( 'blog_layout_divider', 1 ) ) echo 'row-divided ';?>">
<div class="large-9 col">
<?php if(!is_single() && get_theme_mod( '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 ( get_theme_mod( 'blog_style_archive', '' ) && (is_archive() || is_search())){
get_template_part( 'template-parts/posts/archive', get_theme_mod( 'blog_style_archive', '' ) );
} else {
get_template_part( 'template-parts/posts/archive', get_theme_mod( 'blog_style', 'normal' ) );
}
?>
</div>
<div class="post-sidebar large-3 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');
?>