Support » Plugin: FA Lite - WP responsive slider plugin » problems with W3 Total Cache

Viewing 1 replies (of 1 total)
  • Thread Starter JohnRDOrazio

    (@lwangaman)

    I believe I have found the problem, examining the code in “FeaturedArticles.jquery.dev.js”. It seems that the image src for the “featured image” for each article is being saved and then taken from html comments:

    403 img = img_raw.replace(/<!--|-->/g, '');;

    Apart from the fact that there’s a double semicolon, I don’t think it’s a very good idea to save the src of the image in html comments…
    When I activate the cache plugin, it’s certainly stripping comments from the html, effectively making it impossible for Featured Articles to load the images.

    I would suggest to use the html5 attribute “data-*” to store such information, or anyways the jquery “data()” method (which can be used even without html5).

Viewing 1 replies (of 1 total)
  • The topic ‘problems with W3 Total Cache’ is closed to new replies.