PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/hotebooking.site/wp-content/themes/traveler/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/hotebooking.site/wp-content/themes/traveler/template-blog.php |
<?php /* Template Name: Blog */ /** * @package WordPress * @subpackage Traveler * @since 1.0 * * Template Name : Blog * * Created by ShineTheme * */ if(New_Layout_Helper::isNewLayout()){ $style = st()->get_option('blog_list_style_modern',1); if($style == 1){ echo st()->load_template('layouts/modern/page/blog'); } if($style == 2){ echo st()->load_template('layouts/modern/page/blog-solo'); } if($style == 3) { echo stt_elementorv2()->loadView('blog/blog'); } return; } get_header(); $blog_style = get_post_meta(get_the_ID(),'blog_style',true); ?> <div class="container-fluid"><?php while(have_posts()){ the_post(); the_content(); } ?> </div> <?php if ($blog_style =='st_grid' or !$blog_style){ ?> <div class="container"> <h1 class="page-title"><?php the_title() ?></h1> </div> <?php }; ?> <div class="container"> <div class="row <?php echo esc_attr($blog_style) ;?>"> <?php $sidebar_pos=apply_filters('st_blog_sidebar','right'); if($sidebar_pos=="left"){ get_sidebar('blog'); } ?> <div class="<?php echo apply_filters('st_blog_sidebar','right')=='no'?'col-sm-12 col-xs-12':'col-sm-9 col-xs-12'; ?> "> <div class="row"> <?php $query=array( 'post_type' => 'post', 'paged'=>get_query_var('paged') ); query_posts($query); if(have_posts()): while(have_posts()) { the_post(); echo st()->load_template('blog/content-loop',$blog_style); } TravelHelper::paging(); else: echo st()->load_template('blog/content','none'); endif; wp_reset_query(); ?> </div> </div> <?php $sidebar_pos=apply_filters('st_blog_sidebar','right'); if($sidebar_pos=="right"){ get_sidebar('blog'); } ?> </div> </div> <?php get_footer(); ?>