| 开发者 | nordichosting |
|---|---|
| 更新时间 | 2026年5月22日 22:08 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPL v2 or later |
| 版权网址: | 版权信息 |
[audio] shortcode in content, or a manual override / media library picker in the meta box.[chapcast_player] for manual placement (otherwise the player is appended after the post content when chapters exist). The legacy tag [spc_player] is still registered for backward compatibility.chapcast_post_types, chapcast_audio_url, chapcast_append_player_to_content./wp-content/plugins/chapcast-podcast-chapters/ (the folder name must match the WordPress.org slug so the bundled text domain loads), or install through the WordPress plugins screen.podcast post type is not present), add chapters under Podcast chapters, and publish.With automatic placement, the chapter list is output after all content in the editor. Reorder blocks so the episode Audio block is below intro/promo content, or turn off automatic placement and use [chapcast_player] right after the Audio block. See Settings → Podcast Chapters → Content order.
You must add [chapcast_player] to the post (Shortcode block) where you want the player and chapters. The meta box shows a reminder if the shortcode is missing.
Only if you use automatic placement and want chapters directly under that player — then put other blocks above the Audio block. If you use manual placement ([chapcast_player]), put the shortcode wherever you like (e.g. right after the Audio block in the middle of the page).
Each episode stores its own chapter list. You can edit chapters directly on a media file (Media Library → audio file → Podcast chapters), but those chapters only show when the media file is viewed on its own attachment page — they no longer leak onto episodes that share the same audio file. Since 1.1.7 chapters are read strictly from the post; this prevents stale chapters from old episodes appearing on newly cloned posts.
No. Chapters are entered in the WordPress editor. This keeps the plugin simple and works with any audio format supported by the browser.
By default, the meta box and front-end player apply to Posts, Pages, and the podcast post type when Seriously Simple Podcasting (or another plugin) registers it. If your episodes use a different post type slug, add it with the chapcast_post_types filter.
Since 1.1.7 chapters are read strictly from the post, not from the audio attachment. Enter chapters on the episode itself in the Podcast chapters meta box. The attachment-level chapter list still exists for editing media files directly, but it is no longer used as a fallback on posts — this prevents stale rows from old episodes appearing on newly cloned posts that share an audio file.
Open the Options (⋮) menu or the Plugins / sidebar panels — meta boxes may appear below the editor or in a collapsible panel depending on your WordPress version and theme.
Yes. On first load after upgrade, post meta _spc_chapters / _spc_audio_url_override and option spc_auto_append are migrated to the new chapcast_* keys automatically.
_chapcast_chapters when an episode is cloned. The plugin now hooks duplicate_post_excludelist_filter (and the legacy duplicate_post_blacklist_filter) so each cloned episode starts with an empty chapter list. The audio override URL is still inherited as before.audio_file and enclosure meta on save. This keeps the Castos dark-mode player rendering after clone + save, removing the manual SSP-edit step previously required.episode_type is only set if currently empty.chapcast-podcast-chapters (was simple-podcast-chapters). The plugin folder in the release zip is now chapcast-podcast-chapters/. Required for the automated Plugin Check (WordPress.WP.I18n.TextDomainMismatch).ResizeObserver keeps the two in sync on responsive layout changes.'simple-podcast-chapters' (required by automated Plugin Check / NonSingularStringLiteralDomain). Settings page slug remains CHAPCAST_SETTINGS_PAGE constant where not used as i18n domain.__() / _e() strings use text domain simple-podcast-chapters (matches the plugin directory slug and Plugin Check). CHAPCAST_SETTINGS_PAGE in the main file for the settings screen slug.simple-podcast-chapters-nb_NO.po / .mo.options-general.php?page=simple-podcast-chapters (same as 1.0.x).chapcast, slug chapcast, PHP prefix chapcast_ / CHAPCAST_, CSS/JS classes chapcast-*.spc_* to chapcast_* (see code or this readme).[chapcast_player]; [spc_player] kept as deprecated alias._spc_* meta and spc_auto_append option.register_setting uses wp_validate_boolean for the checkbox option.load_plugin_textdomain() (WordPress.org loads translations since WP 4.6).