File: /home/dh_kieuhb/blwealthmanagement.com/wp-content/themes/univarsal/page.php
<?php $options = _WSH()->option();
get_header();
$settings = univarsal_set(univarsal_set(get_post_meta(get_the_ID(), 'bunch_page_meta', true) , 'bunch_page_options') , 0);
$meta = _WSH()->get_meta('_bunch_layout_settings');
$meta1 = _WSH()->get_meta('_bunch_header_settings');
if(univarsal_set($_GET, 'layout_style')) $layout = univarsal_set($_GET, 'layout_style'); else
$layout = univarsal_set( $meta, 'layout', 'right' );
$sidebar = univarsal_set( $meta, 'sidebar', 'blog-sidebar' );
$classes = ( !$layout || $layout == 'full' || univarsal_set($_GET, 'layout_style')=='full' ) ? ' col-lg-12 col-md-12 col-sm-12 col-xs-12 ' : ' col-lg-8 col-md-8 col-sm-12 col-xs-12 ' ;
$bg = univarsal_set($meta1, 'header_img');
$title = univarsal_set($meta1, 'header_title');
?>
<!--Page Title-->
<div class="inner-banner has-base-color-overlay text-center" <?php if($bg):?>style="background-image:url('<?php echo esc_url($bg)?>');"<?php endif;?>>
<div class="container">
<div class="box">
<h3><?php if($title) echo wp_kses_post($title); else wp_title('');?></h3>
</div>
</div>
<div class="breadcumb-wrapper">
<div class="container">
<div class="pull-left">
<?php echo wp_kses_post(univarsal_get_the_breadcrumb()); ?>
</div>
</div>
</div>
</div>
<!--Sidebar Page-->
<div class="sidebar-page-container sec-padd">
<div class="container">
<div class="row">
<!-- sidebar area -->
<?php if( $layout == 'left' ): ?>
<?php if ( is_active_sidebar( $sidebar ) ) { ?>
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<div class="blog-sidebar">
<?php dynamic_sidebar( $sidebar ); ?>
</div>
</div>
<?php } ?>
<?php endif; ?>
<!--Content Side-->
<div class="<?php echo esc_attr($classes);?>">
<!--Default Section-->
<section class="blog-section">
<!--Blog Post-->
<div class="thm-unit-test">
<?php while( have_posts() ): the_post();?>
<!-- blog post item -->
<?php the_content(); ?>
<div class="clearfix"></div>
<?php comments_template(); ?><!-- end comments -->
<?php wp_link_pages(array('before'=>'<div class="paginate-links">'.esc_html__('Pages: ', 'univarsal'), 'after' => '</div>', 'link_before'=>'<span>', 'link_after'=>'</span>')); ?>
<?php endwhile;?>
</div>
<!--Pagination-->
<div class="page_pagination center">
<?php univarsal_the_pagination(); ?>
</div>
</section>
</div>
<!--Content Side-->
<!--Sidebar-->
<!-- sidebar area -->
<?php if( $layout == 'right' ): ?>
<?php if ( is_active_sidebar( $sidebar ) ) { ?>
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<div class="blog-sidebar">
<?php dynamic_sidebar( $sidebar ); ?>
</div>
</div>
<?php } ?>
<?php endif; ?>
<!--Sidebar-->
</div>
</div>
</div>
<?php get_footer(); ?>