false,'main_container'=>true, 'class'=>'main_color container_wrap_first')); } $content = apply_filters('the_content', $content); $content = apply_filters('avf_template_builder_content', $content); echo $content; $avia_wp_link_pages_args = apply_filters('avf_wp_link_pages_args', array( 'before' =>'', 'pagelink' => '%', 'separator' => ' ', )); wp_link_pages($avia_wp_link_pages_args); //only close divs if the user didnt add fullwidth slider elements at the end. also skip sidebar if the last element is a slider if(!$last_el || !in_array($last_el['tag'], AviaBuilder::$full_el_no_section ) ) { $cm = avia_section_close_markup(); echo "
"; echo "
$cm "; //get the sidebar if (is_singular('post')) { $avia_config['currently_viewing'] = 'blog'; }else{ $avia_config['currently_viewing'] = 'page'; } get_sidebar(); } else { echo "
"; } echo avia_sc_section::$close_overlay; echo '
'; echo '
'; get_footer();