post_content ) && has_shortcode( $post->post_content, 'cs_content' ) ) { $classes[] = 'ast-cornerstone-compatibility'; } } return $classes; } /** * Add Styles Callback */ function add_styles() { AST_Enqueue_Scripts::register_style( 'ast-site-compatible-cornerstone', AST_THEME_URI . 'assets/css/unminified/site-compatible/cornerstone.css', array(), AST_THEME_VERSION, 'all' ); } } endif; /** * Kicking this off by calling 'get_instance()' method */ $ast_cornerstone = Ast_Cornerstone::get_instance();