/* Template Name: Blog */ $page_slider = om_get_page_slider($post->ID); om_custom_header_setup($post->ID); om_custom_sidebar_setup($post->ID); om_wpb_detect($post); get_header(); $blog_layout = get_post_meta($post->ID, OM_THEME_SHORT_PREFIX . 'blog_layout', true); if (!$blog_layout) { $blog_layout = 'small'; } ?> <?php if (isset($page_slider) && $page_slider && $page_slider['layout'] != 'before_header') { om_tpl_header_slider($page_slider); } ?> <?php om_tpl_page_title($post->ID, the_title('', '', false)); ?> <div class="content"> <div class="container"> <div class="container-inner"> <div class="content-column-content"> <?php if (get_query_var('paged')) { $paged = get_query_var('paged'); } elseif (is_front_page() && get_query_var('page')) {
$layout_page_id = $settings_page; } } om_custom_sidebar_setup($layout_page_id); $slider = om_get_page_slider($layout_page_id); get_header(); $blog_layout = false; if ($layout_page_id) { $blog_layout = get_post_meta($layout_page_id, OM_THEME_SHORT_PREFIX . 'blog_layout', true); } if (!$blog_layout) { $blog_layout = 'small'; } ?> <?php om_tpl_header_slider($slider); ?> <?php if ($blog) { om_tpl_page_title($blog->ID, $blog->post_title); } ?> <div class="content"> <div class="container"> <div class="container-inner"> <div class="content-column-content"> <?php if (have_posts()) {