• Resolved keithwarren10

    (@keithwarren10)


    I installed the plugin, but it didn’t work with the slider. Just kept spinning. Deactived plugin. Now, I have to flush the cache after each post, or it won’t show up for site visitors. Not the case prior to installing it.

    Need help to get rid of that issue.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Simeon Boev

    (@k3llanved)

    Hello @keithwarren10 ,

    I have checked the issue with the slider and was able to resolve it by disabling the “Defer Render-blocking JavaScript” optimization feature. The tool includes an option to exclude available scripts, however, the slider is included by the active theme. There is a manual way to exclude the script in case you could obtain the handler via which the slider is implemented using the following code:

    add_filter( 'sgo_js_async_exclude', 'js_async_exclude' );
    function js_async_exclude( $exclude_list ) {
        $exclude_list[] = 'script-handle';
        $exclude_list[] = 'script-handle-2';
    
        return $exclude_list;
    }

    The code should be included in the functions.php of the active theme in order for the exclude to work. Ask the developer of the theme for the script handles via which the slider is implemented.

    Regarding the flush issue, we have noticed cases in which the cache needs to be flushed manually while the file-based cache is enabled. Our developers investigated the reported cases and a fix will be deployed in the next patch. In the meantime flush the cache manually or disable the feature for now.

    Best Regards,
    Simeon Boev

Viewing 1 replies (of 1 total)

The topic ‘Plugin didn’t work with Slider; need help now’ is closed to new replies.