Audio Module Shortcode: Here we have another shortcode for audio module to use it in default wordpress editor or in divi code module.
[et_pb_audio admin_label="Audio" audio="http://domain.com/wp-content/uploads/2016/05/AudioTrack.mp3" title="This is an audio" artist_name="John. A" album_name="Rocky" background_layout="dark" background_color="rgba(219,36,0,0.59)" use_border_color="off" border_color="#ffffff" border_style="solid" /]
Audio in et_pb_audio = the path where audio file exist.
Title in et_pb_audio = title for the audio.
artist_name in et_pb_audio = artist name for that audio.
album_name in et_pb_audio = album name.
background_layout = dark or light.
background_color = to set background color.
use_border_color = it turns border on or off.
border_color = specifies the color of the border.
border_style = for border style i.e. solid, dotted etc.
Please find the modules details in following image.
if you have any query or any suggestions then please feel free to post comment below.
You May Also Like
- Tested on divi version 2.7.5