Featured Audio

View on WordPress.org ยป

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.

Download

Latest version: Download Featured Audio v1.0

Featured Audio has been downloaded 937 times through WordPress.org.

Installation

  1. Take the easy route and install through the WordPress plugin adder OR
  2. Download the .zip file and upload the unzipped folder to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Add featured audio to your posts and pages, and optionally add the featured audio playlist widget to a sidebar.
  5. Developers can add support for additional post types and customize the display of featured audio in themes.

Screenshots

  1. featured-audio screenshot 1

    Featured audio metabox on the post edit screen in the admin.

  2. featured-audio screenshot 2

    Default featured audio dislpay with the Twenty Fifteen theme.

  3. featured-audio screenshot 3

    Custom featured audio display using the_featured_audio( array( 'title' => true, 'album_art' => true ) ); in a theme.

  4. featured-audio screenshot 4

    Featured Audio Playlist Widget display with the Twenty Fifteen theme.

  5. featured-audio screenshot 5

    Featured Audio Playlist Widget display in the customizer.

FAQ

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.

Changelog

1.0

  • Initial public release.