use wp_enqueue_styles
-
can you switch the stylesheet loader to use wp_enqueue_style so that i can deregister it and use my own w/o hacking the plugin? just change your cpp_head_includes function to the following:
function cpp_head_includes(){
wp_enqueue_style(‘cpp’, plugin_dir_url( __FILE__ ) . ‘css/style.css’);
}
add_action(‘init’,’cpp_head_includes’);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘use wp_enqueue_styles’ is closed to new replies.