Anchor Episodes Index (Spotify for Podcasters)

Description

This plugin appends an episode index to the anchor.fm podcast player. Currently, the only available embed for the anchor.fm player is for a single episode.
This plugin allows you to add your entire episode index, just the same as you have on your anchor.fm site.
Simply input your site and RSS URL’s on the settings page and add the shortcode to any page or post.

You can see more information on the problem this solves in this article

Email me here for suggestions and feedback.

Announcements

  • Anchor Episodes Index Pro is available now! Learn more here
  • There has been a recent change to the Anchor.fm RSS feed. If you are experiencing issues with the player, please update this plugin to the latest version.
  • There have been reports of a Google recaptcha element appearing over the player. This is caused by Anchor/Spotify in their embed. I have been in contact with them and they do not see this as an issue, so they don’t seem to be willing to remove it. Upgrading to the Pro version will resolve this, as the embed is no longer used, and the player runs on your own site.

Usage

Firstly, install and activate Anchor Episodes Index (this plugin).

Once activated, go to the settings and fill out the Anchor Site URL and Anchor RSS URL fields (be sure to add the URL’s without a β€œ/” at the end, otherwise it will not work).

Then copy the shortcode you’ll see on the settings page and paste it in any page or post.

If you want to add multiple different podcasts on the site, you can define the RSS and Site URL’s as shortcode attributes instead of on the settings page. Note, you cannot currently output two players on one page.

Shortcode examples

Uses values set in the settings page:
[anchor_episodes]
Overrides values set on the settings page:
[anchor_episodes site_url=”https://anchor.fm/your-podcast” rss_url=”https://anchor.fm/s/123456-your-key/podcast/rss” max_episodes=”10″]

Reviews

🌸4️⃣ 13, 2023 1 reply
I want to give a shoutout to the developer. I emailed him directly and heard back fairly quickly. He updated the plugin and the next day, everything was working the way it was before. The change from Anchor to Spotify Podcast was tough to navigate, I am sure, but Jesse did his best to make sure we could continue using the plugin. As far as setting the plugin up, it is super simple. You simply need your podcast URL and RSS feed, insert the shortcode, and you are on you way! Nothing complicated at all. Thanks Jesse!
🌸5️⃣ 24, 2022 1 reply
Great work for bringing us this plug-in! I appreciate the work. One nice feature would be if it's also possible to only show the latest podcast, without the pulldown feature. So when selecting " 1" podcast to display the is no pulldown and only the player with the latests podcast.
πŸ‚ 1️⃣1️⃣ 26, 2021 3 replies
This is great β€” simple and does what it says on the tin. One feature I'd love to see, however, is the ability to limit the number of episodes that are pulled in β€” rather than the entire list. It would also be good if there wasn't additional space at the bottom of the feed but it's a minor thing compared to how useful this plugin is.
Read all 4 reviews

Contributors & Developers

“Anchor Episodes Index (Spotify for Podcasters)” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • Initial Release.

1.0.1

  • Enqueued files dir path fix

1.0.2

  • Fixed gap between iframe and index. Improved enqueue code to avoid previous issue

1.0.3

  • Revert to old enqueue due to issues

1.1.0

  • Added loading animation and bg color when loading, added expand description function

1.1.1

  • Added ability for shortcode attributes to be defined for the Site and RSS URL’s, so that different podcast can be output on the site at one time.

1.1.2

  • Added option for user to define the maximum amount of episodes to display. Add arguments to enqueue scripts in footer.

1.2.1

  • Improved CSS structure so that themes conflict with the styles less. Refactored JS for better speed and readability. Removed feednami and now working with the XML directly. Improved naming throughout code.

1.2.2

  • Update readme. Tested for WP v6.

1.2.3

  • Fix minor update bug

1.2.4

  • RSS feed duration value changed from timestamp to HH:mm:ss. Removed conversion function and display as is.

1.2.5

  • episode description now respects anchor.fm text formatting

2.0.0

  • improved text formatting. added script localization to output PHP vars.

2.0.1

  • Fixed episode title link being old iframe url

2.0.2

  • Switched from using file_get_contents to curl for getting RSS feed due to reports of some servers denying requests. Error was: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0

2.0.30

  • sanitize description and excerpt for html and special chars

2.0.31

  • fix broken plugin settings link

2.0.40

  • Enhanced integration with Pro version

2.1.0

  • Pro version release. Added links and notices to alert users.

2.1.1

  • Fix minor filemtime() issue with admin.css

2.1.2

  • Add sale notice

2.1.3

  • Fix sale notice

2.1.4

  • Fix sale notice

2.1.5

  • Fix RSS URL override in shortcode attributes – save transient per rss url

2.1.6

  • Fix RSS URL override – fix typo

2.1.7

  • RSS URL override – handle for pro version

2.1.8

  • Fix XSS vulnerability – alerted by patchstack.com