Title: [Plugin: WP Gallery Custom Links] Problem with Javascript in RSS Feed
Last modified: August 20, 2016

---

# [Plugin: WP Gallery Custom Links] Problem with Javascript in RSS Feed

 *  Resolved [Mark](https://wordpress.org/support/users/marksda1/)
 * (@marksda1)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-gallery-custom-links-problem-with-javascript-in-rss-feed/)
 * 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/](http://wordpress.org/extend/plugins/wp-gallery-custom-links/)

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

 *  [fourlightsweb](https://wordpress.org/support/users/fourlightsweb/)
 * (@fourlightsweb)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-gallery-custom-links-problem-with-javascript-in-rss-feed/#post-2861065)
 * 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](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](https://wordpress.org/support/users/marksda1/)
 * (@marksda1)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-gallery-custom-links-problem-with-javascript-in-rss-feed/#post-2861117)
 * 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!
 *  [fourlightsweb](https://wordpress.org/support/users/fourlightsweb/)
 * (@fourlightsweb)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-gallery-custom-links-problem-with-javascript-in-rss-feed/#post-2861138)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-gallery-custom-links_d3d5d9.svg)
 * [WP Gallery Custom Links](https://wordpress.org/plugins/wp-gallery-custom-links/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-gallery-custom-links/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-gallery-custom-links/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-gallery-custom-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-gallery-custom-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-gallery-custom-links/reviews/)

## Tags

 * [gallery](https://wordpress.org/support/topic-tag/gallery/)
 * [rss-feed](https://wordpress.org/support/topic-tag/rss-feed/)

 * 3 replies
 * 2 participants
 * Last reply from: [fourlightsweb](https://wordpress.org/support/users/fourlightsweb/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-gallery-custom-links-problem-with-javascript-in-rss-feed/#post-2861138)
 * Status: resolved