开发者 |
PodcastMotor
psykro hlashbrooke |
---|---|
更新时间 | 2023年4月27日 20:50 |
PHP版本: | 4.4 及以上 |
WordPress版本: | 5.5 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
This plugin is an add-on for Seriously Simple Podcasting and requires at least v1.14 of Seriously Simple Podcasting in order to work.Does your podcast have a number of different speakers? Or maybe a different guest each week? Perhaps you have unique hosts for each episode? If any of those options describe your podcast then this is the add-on for you! Seriously Simple Speakers allows you to add one or more speakers to each of your episodes - the speakers are setup as a new taxonomy (not users), making them easily searchable as well as giving them their own archive pages out of the box. Primary Features
speaker
taxonomy to all podcast post typesIn order to use this plugin you need to have at least v1.14 of Seriously Simple Podcasting. If you do not have Seriously Simple Podcasting active or you are using a version older than v1.14 then this plugin will do nothing.
If you want to get a list of speakers for an episode to use in your templates then this function will return an array of the episode speakers, along with their ID, display name and archive URL: SSP_Speakers()->get_speakers( $episode_id );
. If you do not specify the $episode_id
then the ID of the current post will be used.
This plugin has filters that allow you do this easily by adding the following snippet to your themes functions.php file (or a functionality plugin): https://gist.github.com/hlashbrooke/5fec98f84426534f02a7dc656f8f1d5e. In this example I have renamed the 'Speakers' to 'Guests' in both the plural and singular instances - you can make those labels anything you want by editing the labels in the code.
If you would like to add speakers to your episodes, but not have them displayed in the standard episode details location then simply add this code to your theme's functions.php file (or a functionality plugin): add_filter( 'ssp_speakers_display', '__return_false' );