WordPress supports featured images out of the box, allowing images to represent posts in various ways defined by the theme. This plugin adds similar support for audio, allowing musicians, podcasters, and anyone who publishes audio with WordPress to feature audio files on posts and pages in a structured way. Each post and page gets a featured audio metabox where an audio file can be uploaded or selected from the media library.
By default, featured audio is displayed at the top of posts and pages
(within the_content). Developers can change this by adding theme support for
featured-audio, via several API functions listed below.
Why use featured audio instead of embeding audio directly into posts? Featured audio organizes the content in a structured way, alowing infinite possibilities to customize the way users experience audio content on your site. The plugin ships with one example of this – the featured audio playlist widget. Add this widget to your sidebar and it’ll automatically display a playlist of all of the audio files featured on posts shown on the current view, on views with more than one post such as the main blog page or a category page.
Latest version: Download Featured Audio v1.0
Featured Audio has been downloaded 937 times through WordPress.org.
- Take the easy route and install through the WordPress plugin adder OR
- Download the .zip file and upload the unzipped folder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Add featured audio to your posts and pages, and optionally add the featured audio playlist widget to a sidebar.
- Developers can add support for additional post types and customize the display of featured audio in themes.
Featured audio metabox on the post edit screen in the admin.
Default featured audio dislpay with the Twenty Fifteen theme.
Custom featured audio display using
the_featured_audio( array( 'title' => true, 'album_art' => true ) );in a theme.
Featured Audio Playlist Widget display with the Twenty Fifteen theme.
Featured Audio Playlist Widget display in the customizer.
Q. How do I change where featured audio is displayed?
A. See the “Developer API Functions” section for information on how to change where featured audio is displayed in your theme’s code.
Q. How does the playlist widget work?
A. The featued audio playlist widget pulls in the featured audio associated with all of the posts displayed on the current view (auch as the blog index, a taxonomy archive, or an author archive). It won’t display on single post or page views or on archive views where none of the posts have featured audio selected.
- Initial public release.