WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Nick Halsey v1.2

Featured Audio

Add featured audio to your posts and pages, like featured images.

Featured Audio

The facts

Rating
5★ from 4
Active installs
400+
Price
Free
Last updated
12 Jul 2024
Added
Jul 2016
Requires WP
4.5
Tested up to
WP 6.6.7
Downloads
15,177

Our analysis

AI-assisted

Featured Audio is a WordPress plugin that allows users to add audio files as featured content on posts and pages. It provides a metabox for uploading or selecting audio files from the media library, which can then be displayed at the top of the content. This plugin is particularly useful for musicians and podcasters who want to present audio in a structured way.

The plugin also includes a featured audio playlist widget, which can be added to sidebars, displaying a playlist of all featured audio files. Developers can customize the display of featured audio by adding theme support and modifying supported post types through provided API functions.

Best for: This plugin suits musicians, podcasters, and anyone who publishes audio content on WordPress.

What it does well

  • Allows audio files to be featured on posts and pages
  • Includes a featured audio playlist widget for sidebars
  • Supports customization through developer API functions
  • Organizes audio content in a structured way

Where it falls short

  • Limited information on additional features or support
  • No specific details on compatibility with themes

Verdict

Featured Audio provides a straightforward way to manage audio content on WordPress sites. It is useful for users looking to enhance their audio presentation without complex setups.

From the developer

Nick Halsey's own description of Featured Audio, lightly tidied.

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. The plugin also supports a recent audio playlist widget, which behaves similarly to a latest posts widget.

For a more comprehensive way to manage music with WordPress, particularly if you need to include sheet music alongisde audio, see the Sheet Music Library plugin.

Developer API Functions

Add Theme Support

add_theme_support( 'featured-audio' )

Adding theme support for featured audio tells the plugin not to add the featured audio to the content automatically. Instead, you can add featured audio exactly where you want it with the_featured_content() (see below for details).

Change Supported Post Types

By default, the post and page post types are supported. You can use the featured_audio_post_types filter to modify this list. For example:

add_filter( 'featured_audio_post_types', 'prefix_featured_audio_post_types' );
function prefix_featured_audio_post_types( $post_types ) {
    // Add support to the sheet_music post type.
    $post_types[] = 'sheet_music';

    // Overwrite the entire list to remove support on pages.
    $post_types = array( 'post' );

    return $post_types;
}

the_featured_audio( $args )

Display the featured audio, if it exists.

Parameters:

$args                   array   Display options.
$args['id']             int     Post id (optional). Defaults to current post id. 
$args['album_art']      boolean Whether to display the album art for the featured audio cycle. Default: false.
$args['album_art_size'] string  Size to use for the album art picture. Default: thumbnail.
$args['title']          boolean Whether to display the title of the audio attachment. Default: false.

get_the_featured_audio( $args )

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for musicians and bands.

Gallery

Gallery

91

FooGallery is a fast, responsive photo gallery and image gallery plugin with 7 gallery layouts, built-in light...

Free 100k+ installs 4.8★ (986)
Envira Gallery

The fastest drag & drop photo gallery plugin. Create stunning image galleries, albums, video galleries &am...

Free 100k+ installs 4.7★ (1,597)
SimpLy Gallery

Create responsive photo, image, video, and mixed media galleries for WordPress with gallery blocks, albums, sl...

Free 40k+ installs 4.8★ (116)
MP3 Audio Player

The most advanced Audio Player for Music & Podcast. For Elementor, Gutenberg, WooCommerce and more. Add un...

Free 20k+ installs 4.8★ (302)
Photo Gallery

Create responsive WordPress photo galleries, album galleries, gallery groups, lightbox galleries, optimized im...

Free 20k+ installs 4.6★ (498)