Today I had an issue with Autoptimize and Flatsome theme on a multisite. The images on the website stopped showing when I deactivate Autoptimize. Then I found out that it was a Javascript issue. So, I added these 2 lines to my header.php to fix the issue:

<script src=”http://code.jquery.com/jquery-latest.min.js” type=”text/javascript”></script>
<script src=”//cdn.jsdelivr.net/jquery.color-animation/1/mainfile”></script>

Hope I can help people that has the exact same issue as me.


Deprecated: File Theme without comments.php is deprecated since version 3.0.0 with no alternative available. Please include a comments.php template in your theme. in /home/pocketprez/public_html/kohbeixian.com/wp-includes/functions.php on line 5653

2 responses to “Autoptimise and Flatsome theme”

  1. KoolPal says:

    Hi, I am unable to view the 2 lines that you mention. Please fix.

    Thanks

    • kbxian says:

      Hi KoolPal! Thanks for correcting me. I forgot to change my < to HTML code earlier that's why it wasn't showing. You might need to clear cache on your browser to see my changes and copy the 2 lines of code.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Blog Posts




Back To Blog