audio_item Shortcode

The audio_item shortcode renders the audio track component.

The attributes below match the current Page Builder controls and public output. Use raw syntax only for reviewed content that cannot be maintained through the visual controls.

Allowed parent shortcodes: audio_playlist.

Usage

[audio_item]

Attributes

Attribute Default Accepted values Purpose
author String unless stated otherwise Controls the author.
title String unless stated otherwise Controls the title.
file_url String unless stated otherwise Controls the audio file url.
purchase_url String unless stated otherwise Controls the purchase audio url (optional).
duration 00:00 String unless stated otherwise Controls the duration.
enable_download_button yes If checked, the audio track will include a download link.
device_visibility String unless stated otherwise Applies the selected responsive visibility rule.
el_id Valid unique HTML ID Enter element ID (Note: make sure it is unique and valid according to w3c specification).
el_class String unless stated otherwise If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.

Verification

Keep audio_item inside audio_playlist; verify the child order and the parent interaction on the public page. Pay particular attention to author and title.