'; } /* Start the Loop */ while (have_posts()) : the_post(); /* * Include the Post-Type-specific template for the content. * If you want to override this in a child theme, then include a file * called content-___.php (where ___ is the Post Type name) and that will be used instead. */ $get_grid_column = get_theme_mod( 'grid_column', 'col-md-6' ); $grid_column = 'col-md-6 col-sm-6'; if ('col-md-4' == $get_grid_column) { $grid_column = 'col-md-4 col-sm-6'; }else{ $grid_column = 'col-md-6 col-sm-6'; } if ('grid' == $get_blog_layout) { echo '
'; } get_template_part('template-parts/content', get_post_format()); if ('grid' == $get_blog_layout) { echo '
'; } endwhile; if ('grid' == $get_blog_layout) { echo '
'; } echo '
'; the_posts_pagination(); echo '
'; else : get_template_part('template-parts/content', 'none'); endif; ?>