• Resolved Mark

    (@marksda1)


    Tried your plugin and although I love the concept I had issues with it out of the gates. It looks great, but the Javascript that this apparently uses is included in the RSS feed which broke my mailchimp newsletter (according to Mailchimp support the javascript caused them to stop reading the rest of the post). If there were an easy way to not include this in the RSS feed, I’d probably try it further, but I’ll have to live with the clunky way WordPress handles galleries for now. 🙁

    http://wordpress.org/extend/plugins/wp-gallery-custom-links/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I added a !is_feed() around the part that writes out the javascript in the version below. Can you download this file, swap it out for the one in the plugins/wp-gallery-custom-links folder (don’t forget to remove the .txt at the end), and see if it works in your feed afterward?

    http://www.fourlightsweb.com/temp/wp-gallery-custom-links.php.txt

    It looks like it’s working on my test site, but I’d like to be sure it will work for you before I push the new version. Note: you may have to clear your cache to see the updated feed.

    Thread Starter Mark

    (@marksda1)

    Awesome! Since it’s not something I needed routinely I opted for a short and sweet route to fix it last night – just displaying thumbnails with links in a grid, but if I were to need this more regularly, I’d definitely go this route!

    I did test your updated code with a test post on my site just now and there was no javascript that I could see in the RSS feed. I didn’t want Mailchimp to pick it up so I deleted the post but the lines of code their support people indicated caused the issue was no longer there so I think you succeeded!

    Well if you ever need it in the future, 1.1.2 contains the no-javascript-in-feeds version. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Gallery Custom Links] Problem with Javascript in RSS Feed’ is closed to new replies.