podcast_playlist Shortcode
Use the [podcast_playlist] shortcode to display a playlist of your podcast episodes anywhere on your site by using the WordPress Shortcode Gutenberg Block.
Shortcode:
[podcast_playlist]
Using the [podcast_playlist] shortcode without any attributes will display all podcast episodes and use default settings for each attribute.
Attributes:
episodes
By default, all podcast episodes will be displayed. If you would like to only list specific episodes, you can do so with the episodes attribute by using a comma-separated list of post IDs. The post ID can be found within the URL of the episode from the editor screen.
Example:
[podcast_playlist episodes="1199,1200"]
exclude
A comma-separated list of episode IDs that you do not want to be displayed in the playlist. This is useful if you have selected a series playlist to display, but would like to hide individual episodes from it.
Example:
[podcast_playlist exclude="1199"]
series
The slug of the series from which you would like to display episodes. You can choose to display one series or multiple series.
Example:
[podcast_playlist series="my-first-series"]
[podcast_playlist series="my-first-series, my-second-series"]
order
The order in which the episodes should be listed - ASC (default) or DESC.
Example:
[podcast_playlist series="my-first-series" order="DESC"]
orderby
The criteria with which you would like to order the episodes – can be any of the orderby parameters allowed in the WP_Query class. Defaults to menu_order ID or the order in which you specify episode IDs.
style
Accepted values are light (default) or dark – these are style options that WordPress’ built-in media player offers. Defaults to the settings from Settings→Player→Player mode
Example:
[podcast_playlist style="dark" episodes="1199,1200,1201,1203"]
player_style
Accepts compact argument - show the compact player instead of the default one.
Example:
[podcast_playlist player_style="compact"]
limit
Maximum number of episodes in the list.
Example:
[podcast_playlist limit="5"]