Tip: Make playlist by artist with Lite version (free)
-
You will can to use a shortcode like:
[hmp_player artist=”Bob Marley”]
the player will play all bob’s songs 😉open html5-jquery-audio-player/index.php
replace:
function wp_hmp_player(){
with:
function wp_hmp_player($atts){
just after add:
extract(shortcode_atts(array( 'artist' => 'Adefaultartist', ), $atts));
“Adefaultartist” is if you use only [hmp_player]
in the same file replace:
$lsql = "SELECT * FROM $table;
with:
$lsql= "SELECT * FROM $table where artist='".$artist."'";
Now you can listen all bob’s album and smoke easy 🙂
http://wordpress.org/extend/plugins/html5-jquery-audio-player/
- The topic ‘Tip: Make playlist by artist with Lite version (free)’ is closed to new replies.