Enqueue CSS Correctly
-
wp_enqueue_style() isn’t hooked correctly
custom-about-author.php:41
change out to:
// Enqueue plugin style-file add_action( 'wp_enqueue_scripts', 'caa_add_my_stylesheet' ); function caa_add_my_stylesheet() { wp_enqueue_style('cab_style', $caa_plugin_dir_path.'/cab-style.css'); }
then no more debug errors ??
https://www.ads-software.com/extend/plugins/custom-about-author/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Enqueue CSS Correctly’ is closed to new replies.