post_status ) { return false; } // ? Check post_type is Lasso Lite or not if ( SIMPLE_URLS_SLUG !== $post->post_type ) { if ( class_exists( 'Lasso_Shortcode' ) ) { $shortcode_pro = new Lasso_Shortcode(); return $shortcode_pro->lasso_core_shortcode( $attr ); } return false; } // ? Check post_type surl to execute shortcode correctly if ( SIMPLE_URLS_SLUG === $post->post_type ) { // ? Default single-style display box return Helper::include_with_variables( Helper::get_path_views_folder() . 'displays/single.php', array( 'post' => $post ) ); } return false; } }