• Resolved atival

    (@atival)


    Hello,

    I installed your plugin and it just works fine. Now i want it to use with my borlabs cookie manager. I already saw your guide by putting the following line in the functions.php of the child theme:

    add_filter( ‘wgact_cookie_prevention’, ‘__return_true’ );

    I do not have a child theme and I also don’t want to make one because of performance reasons…. can I also just put this line into the normal functions.php of my main theme?

    Kind regads
    Christopher

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author alekv

    (@alekv)

    Hi Christopher

    and I also don’t want to make one because of performance reasons

    Child theme don’t have any negative impact on performance, but lots of advantages over using the parent theme. That is if you are using some of the shelf parent theme that gets updated regularly. If your parent theme is custom made you can use its function.php.

    Also be aware that the described method with the filter is a suboptimal approach and only works if your are not using page caching.

    A better solution is in development.

    Regards
    Aleksandar

    Thread Starter atival

    (@atival)

    Hello Aleksandar,

    thank you for your reply. I just read somewhere, that child themes would always slow down your site because of additional elements to load…

    however.. I am using the WP Rocket caching plugin, that means that this method does not work anyway?

    regards
    Christopher

    Plugin Author alekv

    (@alekv)

    There is only one thing that slows down the website, just a litte bit, and that is the import of the parent theme CSS.

    But, there is way to do this without slowdown: https://digwp.com/2016/01/include-styles-child-theme/

    So I strongly recommend using a child theme. (https://www.wpbeginner.com/beginners-guide/wordpress-child-theme-pros-cons/)

    I am using the WP Rocket caching plugin, that means that this method does not work anyway?

    Yes, unfortunately you’ll have to wait until I implement a better way to deal with caching systems.

    Hello, I have already bought your pro version. We have a litespeed server and use borlabs :/. Is there an approximate time frame when the feature will be implemented? Or should we switch to cookiebot to use litespeed cache again (big difference in load time)?

    thx

    Plugin Author alekv

    (@alekv)

    Hi @5imoo

    1. You also sent me an email to which I answered a few minutes ago.

    2. Please always open a new support ticket. That’s WordPress forum policy.

    Thanks
    Aleksandar

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Borlabs Cookie Consent’ is closed to new replies.