<?php if (extra_get_sidebar_class()) { ?> <div class="et_pb_extra_column_sidebar"> <?php dynamic_sidebar(extra_sidebar()); ?> </div> <?php }
<?php if ($module_posts->have_posts()) { $module_posts->the_post(); ?> <div class="main-post"> <article id="post-<?php the_ID(); ?> " <?php post_class(); ?> > <div class="header"> <?php $thumbnail_size = extra_sidebar() ? 'extra-image-medium' : 'extra-image-small'; $overlay = !empty($hover_overlay_icon) ? '<span class="et_pb_extra_overlay et_pb_inline_icon" data-icon="' . esc_attr(et_pb_process_font_icon($hover_overlay_icon)) . '"></span>' : '<span class="et_pb_extra_overlay"></span>'; $thumb_args = array('size' => $thumbnail_size, 'img_after' => $overlay); $score_bar = extra_get_the_post_score_bar(); require locate_template('post-top-content.php'); ?> </div> <div class="post-content"> <?php $color = !empty($term_color) ? $term_color : extra_get_post_category_color(); ?> <h2><a class="et-accent-color" style="color:<?php echo esc_attr($color); ?> ;" href="<?php the_permalink();