WP changing code on embedded Flickr slideshow
-
I have always been able to embed Flickr slideshows in posts using the Flickr embed code. However, now I’m running into a really strange problem. I paste the Flickr embed code in ‘text’ view, I’ll swap back to ‘visual’ view, and when I click back to ‘text’ view, the code has changed.
Also, now going back, all of my old posts have had the code switched. So, rather than allowing a user to click through the slideshow, clicking on the photo opens a link to the Flickr album in a new window.
Here’s an example of an older post where that’s happening. The photo used to be a perusable slideshow with the Flickr album name; now it just links to the Flickr album:
http://teamsterslocal727.org/2015/12/02/chicago-teamsters-strike-coca-cola-refreshments-over-unfair-labor-practices/It appears that WP isn’t listening to the <script> portion of the code.
Here is the embed code when I first paste it into ‘text’ view:
<img src=”https://farm2.staticflickr.com/1548/25279671239_3abf65cbd1_z.jpg” width=”640″ height=”427″ alt=”Women's Committee Fourth Annual Gala Dinner Dance | Feb. 27, 2016″><script async src=”//embedr.flickr.com/assets/client-code.js” charset=”utf-8″></script>This is what the embed code looks like after I switch to ‘visual’:
<img src=”https://farm2.staticflickr.com/1548/25279671239_3abf65cbd1_z.jpg” alt=”Women’s Committee Fourth Annual Gala Dinner Dance | Feb. 27, 2016″ width=”640″ height=”427″ /><script src=”//embedr.flickr.com/assets/client-code.js” async=”” charset=”utf-8″></script>I’ve even tried using the embed shortcode, but I still run into the problem of it not being an actual slideshow and merely giving the first photo that links to the album on Flickr.
Any ideas?
The topic ‘WP changing code on embedded Flickr slideshow’ is closed to new replies.