Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter johnfkirk

    (@johnfkirk)

    Hello: I have updated the theme, I have emptied the cache, but the counter still does not work correctly with the cache enabled

    Thread Starter johnfkirk

    (@johnfkirk)

    Hello:
    The first thing I did was connect to the server, which is also the creator of the speed optimizer plugin, and they told me to connect to you, the creators of the theme, since the counter is integrated into the theme.

    Can you please tell me which script is the one to apply a filter?

    Thank you 

    Thread Starter johnfkirk

    (@johnfkirk)

    Thank you very much for answering.
    What I have been trying to do is just exclude the counter script, but I have not been able to locate it.
    Speed ​​Optimizer gives me the option to exclude links. Or by type of publication, such as post. The latter excludes the entire post, which would be like not using the cache directly.
    The other option is to use filters, in funtion.php of the active theme, but I do not know which is the script to exclude.

    I have tried with this filter in funtion.php but it does not work:

    add_filter( ‘sgo_bypass_cookies’, ‘add_sgo_bypass_cookies’);
    function add_sgo_bypass_cookies( $bypass_cookies ) {
    // Add the cookies you need to bypass the cache.
    $bypass_cookies[] = ‘cfz_google-analytics_v4’;
    $bypass_cookies[] = ‘cfzs_google-analytics_v4’;
    $bypass_cookies[] = ‘wp-settings-2’;
    $bypass_cookies[] = ‘wp-settings-time-2’;
    $bypass_cookies[] = ‘moove_gdpr_popup’;

    So the key questions are:
    1.- What is the script?
    2.- How do I exclude it, with what type of filter?
    3.- From where?

Viewing 3 replies - 1 through 3 (of 3 total)