PowerPress Shortcode
What are Shortcodes?
A shortcode (short code) is a WordPress plugin specific code that lets you insert things into blog posts and pages. Read more about shortcodes at WordPress.org.
The Blubrry PowerPress Shortcode
To use the Blubrry PowerPress short code, enter the following code within the body of your blog post where you would like the player to be inserted.
[powerpress]
Note: The short code must be entered in lowercase.
PowerPress Shortcode Attributes
The Blubrry PowerPress short code supports 3 optional attributes for customizing the player behavior.
- url – Specify a URL to a media file if you do not want to use the associated podcast episode
- feed - Specify the feed slug name to display only the player for the podcast feed specified. (only applies to custom podcast feed users)
- image - Specify a URL to a cover image to display in place of the player (experimental, does not work for all media)
Example using a custom Media URL
Display a player for a media file not associated to your podcast episode:
[powerpress url="http://example.com/path/to/media.mp3"]
Example specifying the Custom Podcast Feed
Presuming you have a Custom Podcast feed using the slug ‘pdf’:
[powerpress feed="pdf"]
Example using a custom Cover Image
Replaces the default cover image with a different one:
[powerpress image="http://example.com/path/to/image.jpg"]
Note: The image is not used for some media types. This feature is experimental and may not work for all media types.
