get( 'post_id' ) ) { $template_post = get_post( $config->get( 'post_id' ) ); if ( $template_post instanceof WP_Post ) { if ( class_exists( 'Presscore_Modules_ArchiveExtModule' ) ) { Presscore_Modules_ArchiveExtModule::print_vc_inline_css( $template_post->ID ); } // Setup global post to reach shortcodes inline css. $GLOBALS['post'] = $template_post; setup_postdata( $template_post ); the_content(); wp_reset_postdata(); } } else { echo '

' . __( 'Oops! That page can’t be found.', 'the7mk2' ) . '

'; echo '

' . __( 'It looks like nothing was found at this location. Try using the search box below:', 'the7mk2' ) . '

'; get_search_form(); } ?>