| 开发者 | danmaby |
|---|---|
| 更新时间 | 2026年10月17日 18:56 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[showfm] shortcode, and a pasted show.fm link becomes a player.
Publish to WordPress, for show.fm accounts
Connect the site to show.fm in Settings > show.fm and each new episode becomes a post: scheduled episodes are scheduled, unpublished ones go back to draft and deleted ones go to the bin. You choose the post type, category, author and template, and whether to add the transcript and use the episode artwork as the featured image. Posts you edit in WordPress keep your edits.
Move from another podcast host
The Migrate tab finds players from Buzzsprout, Libsyn, Captivate, Transistor, Spotify, Podbean, PowerPress and Seriously Simple Podcasting in your posts and pages. It shows a dry run first, and swaps them for show.fm blocks only when you confirm. WordPress keeps a revision of every post it changes.
Built for WordPress
wp showfm connect, status, disconnect, sync, cache flush and migrate-embeds.build/ are compiled from src/ there with @wordpress/scripts. The player scripts in assets/showfm-embed/ are copied unchanged from the MIT-licensed @showfm/embed 1.6.2 package, and a test checks every file byte for byte. The package's MIT licence is in assets/showfm-embed-license.txt. With "Load players only after a visitor clicks" on, the plugin loads the package's self-hosting click loader (click-loader-local.js) instead of the player script. It names no host: it loads only the bundled v1.js the plugin gives it, after a visitor presses a block, and without that it does nothing. The package's CDN click loader is not in the plugin, and a release check fails if any script in the plugin names embed.cdn.media.
Add a show.fm Player, Episode list, Play button or Transcript block. Type the show's address (such as the-long-table.show.fm) or its slug, then choose an episode or "Latest episode". On a connected site you pick from your own shows instead, including scheduled episodes, which the editor marks with the date they go live. Visitors see nothing for an episode until it is public.
On a connected site, only people who can publish posts (Authors, Editors and Administrators) see the account's shows and scheduled episodes. Contributors can add public shows and episodes by address. A scheduled episode's title is never saved in the post.
Yes. [showfm type="player" episode="<episode ID>"] adds a player. type can be player, episodes, play or transcript, and the other attributes match the blocks' settings.
Settings > show.fm. The Connection tab connects the site and shows the account, the connected shows and when the key expires. The Display tab has four site-wide switches: the "Powered by show.fm" credit (off), loading players only after a visitor clicks (off), episode structured data for search engines (on) and using your theme's colours and fonts (on). Publishing and Migrate appear once the site is connected.
Settings > show.fm > Publishing. Choose whether new episodes are posted automatically, the post type, category, author and template, and whether to include the transcript and use the episode artwork as the featured image. These settings shape new posts only. The tab also lists the last 20 things the sync did, with a link to each post.
Yes, on a connected site. In Settings > show.fm > Migrate, choose Scan posts. You then see a dry run: players ready to swap and how each was matched, players where you pick the episode, players with no match, and posts that already use show.fm. Nothing changes until you confirm. The results link to the revision WordPress keeps of each changed post, so you can restore any of them. From the command line, run wp showfm migrate-embeds --dry-run --user=<administrator>, then wp showfm migrate-embeds --resume --yes --user=<administrator>.
The plugin shows at most one notice, on the Dashboard, Plugins and show.fm screens only, and only to administrators. It warns 30 and 7 days before the site key expires, when show.fm stops accepting the key, when the shows' plan pauses auto-posting, and when a publishing setting stops new episodes being posted. Each notice has one button that fixes the problem, and you can dismiss it.
Yes. Create a site key in show.fm under Connected sites, then run wp showfm connect. It asks for the key with the input hidden, or reads it from the SHOWFM_KEY environment variable or standard input (--key=-). On a multisite network, add --url= to pick the site.
Run wp showfm cache flush. It clears the show and episode details the blocks render from and the block editor's lookups, and says how many stored entries it removed. Pages show each block's saved copy until the background refresh fetches the data again. On a multisite network, wp showfm cache flush --network does it for every site. Nothing else in your site's cache is touched.
The site key and ping secret are encrypted with a key derived from your WordPress salts, and are never shown in full, logged or sent to the browser. Set the salts in wp-config.php. If they change, connect again.
Yes, when show.fm can be reached. Disconnect asks show.fm to revoke the key, then removes it from the site whatever the answer. If show.fm didn't confirm, the message links to Connected sites in show.fm, where you can revoke it by hand. Posts already created stay.
The plugin's settings, cache, scheduled events and its own post meta. Your posts and media stay.
license.txt and assets/showfm-embed-license.txt, so every file in the plugin has a standard file type. Nothing else changes.showfm_environment filter, which replaces the SHOWFM_API_URL and SHOWFM_APP_URL constants. The block editor gets the same hosts from the site.wp showfm cache flush reports the new cache version when the site uses a persistent object cache.[showfm] shortcode and show.fm oEmbed, rendered on the server from a local cache with no request on page view.wp showfm cache flush (with --network on multisite) clears the plugin's cache of show.fm data.platform="wordpress", so with the credit setting off, no show displays "Powered by show.fm".