'; //load image if(has_post_thumbnail(get_the_ID())){ the_post_thumbnail('full'); }else{ if ( current_user_can( 'publish_posts' ) ) { print '

'.__('Please set a featured image for this page to display an image here!
Try to keep its file size below 350kbyte for faster loading!','boss').'

'; } } print '
'; //display page content if has any if(!empty($post->post_content)){ print '
'; $boss_default_sidebar_position = get_theme_mod('dp_default_sidebar_position'); $boss_widget_areas_sidebar = 'pages-widget-area'; //sidebar on left if(!empty($boss_widget_areas_sidebar) && is_active_sidebar($boss_widget_areas_sidebar) && $boss_default_sidebar_position == 'left'){ print ''; } //page content if(!empty($boss_widget_areas_sidebar) && is_active_sidebar($boss_widget_areas_sidebar)){ print '
'; }else{ print '
'; } if (have_posts()) : print '
'; while ( have_posts() ) : the_post(); the_content(); wp_link_pages( array( 'before' => '' ) ); endwhile; print '
'; endif; print '
'; //sidebar on right if(!empty($boss_widget_areas_sidebar) && is_active_sidebar($boss_widget_areas_sidebar) && $boss_default_sidebar_position != 'left'){ print ''; } print '
'; } get_footer(); ?>