disabling styles
-
Thanks so much for this update to a great plugin. However I do want to revert back to simpler times on one issue: I would like to disable the styles and let my theme widget settings take over. Is it ok to delete the following from the plug-in’s php code? It seemed to work, but I don’t know coding that much so I wanted to make sure I’m not causing other problems for the plug in. Here are the lines I deleted:
/**
* Register our styles
*
* @return void
*/
add_action( ‘wp_enqueue_scripts’, ‘category_posts_widget_styles’ );function category_posts_widget_styles() {
wp_register_style( ‘category-posts’, plugins_url( ‘category-posts/cat-posts.css’ ) );
wp_enqueue_style( ‘category-posts’ );
}thank you advance.
JH
The topic ‘disabling styles’ is closed to new replies.