Support » Plugin: Events Manager » dequeue style

  • Resolved publicradio


    I am trying to dequeue the css for the front end of this plugin. I have tried pulling the enqueue line from events-manager.php but it doesn’t work:

    wp_dequeue_style(‘events-manager’, plugins_url(‘includes/css/events_manager.css’,__FILE__));

    I also tried removing the variables and using this line:

    wp_dequeue_style(‘events-manager’, ‘/wp-content/plugins/events-manager/includes/css/events_manager.css’);

    But neither will disable events_manager.css. How do I do this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • maybe you can try something like this

    function my_em_remove_css(){
    	wp_dequeue_style('events-manager', plugins_url('includes/css/events_manager.css',__FILE__));

    or try settings at Events > Settings > General > Performance Optimization

    The function didn’t work, but the settings totally worked. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘dequeue style’ is closed to new replies.