Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 119918

Dinesh Kesarwani on "[Plugin: WP User Frontend] wpuf breaks the theme's layout"

$
0
0

Hi tareq1998,

If you include the above provided method by mpeimpiii it will help to plugin users and developers without affecting their original codes.

if ( has_shortcode( 'wpuf_addpost' ) || has_shortcode( 'wpuf_edit' ) ||               has_shortcode( 'wpuf_dashboard' ) || has_shortcode( 'wpuf_editprofile' ) ) {
        wp_enqueue_style( 'wpuf', $path . '/css/wpuf.css' );
}

Viewing all articles
Browse latest Browse all 119918

Trending Articles