skip to Main Content

Display Audio Embed On Blog Entry

By default audio posts display a featured image with a little overlay icon. If you want you can paste the following code in a child theme's functions.php file and it will display the audio embed instead of the image so visitors can listen to your audio right on the main blog page and tag/category archives.

add_filter( 'wpex_blog_entry_audio_embed', '__return_true' );
All PHP snippets should be added via child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)
Back To Top