'; get_sidebar(); print ''; } //page content if(!empty($fourseasons_widget_areas_sidebar) && is_active_sidebar($fourseasons_widget_areas_sidebar)){ print '
'; }else{ print '
'; } //load posts if (have_posts()){ while(have_posts()){ the_post(); get_template_part( 'content-blog' ); } } //pagination if(function_exists('wp_paginate')) { wp_paginate(); } else{ //display default next/prev links if($the_query->max_num_pages > 1 ){ print '

'; previous_posts_link(__('↼ Previous Page ','four-seasons')); print '

'; print '

- '; $page_curr = (get_query_var('paged')) ? get_query_var('paged') : 1; print sprintf(__('PAGE %d OF %d','four-seasons'),$page_curr,$the_query->max_num_pages); print ' -

'; print '

'; next_posts_link(__('Next Page ⇀','four-seasons'),$the_query->max_num_pages); print '

'; } } wp_reset_query(); wp_reset_postdata(); print '
'; //sidebar on right if(!empty($fourseasons_widget_areas_sidebar) && is_active_sidebar($fourseasons_widget_areas_sidebar) && $fourseasons_default_sidebar_position != 'left'){ print ''; } get_footer();