<?php
/**
 * The sidebar containing the main widget area
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Better_Morning
 */

if ( ! is_active_sidebar( 'sidebar-1' ) ) {
	return;
}
?>

<div class="blog_points">
      <h2 class="blog_side_sec_title">Categories</h2>
          <ul>
              <?php dynamic_sidebar( 'sidebar-1' ); ?>              
          </ul>
</div>
<div class="recent_post_sec">
      <h2 class="blog_side_sec_title">Recent Posts</h2>
           <ul>
              <?php dynamic_sidebar( 'sidebar-2' ); ?>
           </ul>
</div>

