In addition to the shortcode features in the free plugin, pro plugin also support many other features and styling options. We need to learn a few more shortcode attributes to showcase a fully featured pro podcast player. Instructions to use the podcast player is already explained in the Display Podcast > Shortcode section.
Shortcode Attributes
Here we provide a full list of shortcode attributes supported by the podcast player. Use required attributes to customize your player.
Required attribute
In the free version, you must enter your podcast feed URL to display the podcast player.
Attribute | Description | Default Value |
feed_url | Your podcast feed url | ” |
fetch_method |
How to fetch podcast episodes. Options:
|
‘feed’ |
Customize Podcast Content
Podcast player automatically fetch content from your feed URL, however, you can modify some of the content using the following attributes,
Attribute | Description | Default Value |
cover_image_url | Your Podcast’s cover image url | ” |
podcast_menu | Any WordPress menu’s name, ID OR slug | ” |
main_menu_items | Number of subscription badges or buttons to be displayed. | 0 |
number | Number of podcasts episodes to be displayed at a time | 10 |
excerpt_length | Excerpt length (only with default and premium display style) | 18 |
Style Player
Attribute | Description | Default Value |
accent_color | Podcast player’s accent color hexcode | #65b84f |
display_style |
Podcast player display style.
|
” |
bgcolor |
Background Color hex code (i.e., #262626). |
” |
txtcolor |
Make light text color for grid and list view (use txtcolor=”ltext”). |
” |
aspect_ratio |
Featured image aspect ratio (only with grid view and list view display style).
|
‘squr’ |
crop_method |
Featured image crop method (only with grid view and list view display style). Options: topleftcrop, topcentercrop, centercrop, bottomleftcrop, bottomcentercrop |
‘centercrop’ |
grid_columns |
Number of grid columns (only with grid view display style) |
3 |
font_family |
Name of google font to be loaded. |
” |
Subscription Badges
Attribute | Description | Default Value |
apple_sub | Apple Badge | ” (None) |
google_sub | Google Badge | ” (None) |
spotify_sub | Spotify Badge | ” (None) |
breaker_sub | Breaker Badge | ” (None) |
castbox_sub | CastBox Badge | ” (None) |
castro_sub | Castro Badge | ” (None) |
iheart_sub | iHeart Badge | ” (None) |
overcast_sub | OverCast Badge | ” (None) |
pocketcasts_sub | Pocket Cast Badge | ” (None) |
podcastaddict_sub | Podcast Addict Badge | ” (None) |
podchaser_sub | Podchaser Badge | ” (None) |
radiopublic_sub | Radio Public Badge | ” (None) |
soundcloud_sub | Soundcloud Badge | ” (None) |
stitcher_sub | Stitcher Badge | ” (None) |
tunein_sub | TuneIn Badge | ” (None) |
youtube_sub | YouTube Badge | ” (None) |
bullhorn_sub | Bullhorn Badge | ” (None) |
podbean_sub | Podbean Badge | ” (None) |
playerfm_sub | PlayerFM Badge | ” (None) |
Show / Hide Player elements
Attribute | Description | Default Value |
header_default | Show player header items by default | false |
list_default | Display Episodes list by default on small screen | false |
hide_header | Hide player header items | false |
hide_title | Show / Hide podcast Title in header info section | false |
hide_cover | Show / Hide podcast cover image | false |
hide_description | Show / Hide podcast description | false |
hide_subscribe | Show / Hide podcast subscribe button | false |
hide_search | Show / Hide podcast search field | false |
hide_author | Show / Hide author/podcaster’s name | false |
hide_content | Show / Hide podcast episode’s content | false |
hide_loadmore | Show / Hide podcast load more button | false |
hide_download | Show/ Hide podcast episode download link | false |
hide_social | Show/ Hide podcast episode social sharing links | false |
hide_featured | Hide podcast episode featured image (Value: true OR false) | false |
Sort & Filter
Attribute | Description | Default Value |
sortby |
Sort episodes Available Options
|
sort_date_desc |
filterby |
Filter by any string in the episode title |
” (None) |
seasons |
Comma separated iTunes season numbers from which episodes to be displayed. |
” |
episodes |
Comma separated iTunes episode numbers. If you are using seasons, please use season-episode format (i.e, for season 2 episode 6, use 2-6) otherwise just enter episode number. |
” |
categories |
Comma separated iTunes categories from which episodes to be displayed. |
” |
Custom Audio Messgaes
Attribute | Description | Default Value |
audio_msg | URL of mp3 audio file which is to be played before, after or during podcast episodes. | ” |
play_freq | After how many episodes the audio should be replayed. | 0 |
msg_start |
When to start playing the audio message. Possible values are:
|
‘start’ |
msg_time |
Required only if above msg_start is set as ‘custom’. Enter time at which the audio should be played in hh:mm:ss format. |
’00:00:00′ |
msg_text |
Message text to be displayed while playing audio. |
” |