GC Testimonials
can´t dequeue stylesheets (1 post)

  1. mjHollerATme
    Posted 3 years ago #

    Hi devnz,

    great plugin!
    Anyway i want CSS to be disabled so I'll have less network activity

    So I wanted to dequeue the styles in functions.php:

    add_action('wp_enqueue_scripts', 'dequeue_function');
    function dequeue_function() {

    But it won´t work. I thought maybe it´s because on line 688 it's not called with wp_enqueue_scripts like 'gctwidgetstyles' if I'm right? (I´m not really a php developer):

    wp_enqueue_style('gctwidgetstyles', plugins_url('/assets/css/gctwidget.css', __FILE__ ), false, '1.0', 'all');

    Tried it with wp_deregister_style also although I didn´t found this in the core code.
    I would really appreciate it if you could make this work with a little update or so as I really don´t want to comment out the core code...

    Jonathan Holler


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • GC Testimonials
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic