The task is :
An audio player that showcase a random song from playlist every 24h.
The player is an wordpress plugin (Zoomsounds).
The shortcode to display it is [zoomsounds id="test"].
Playlist audio files are stored as posts.
After hours or research, I found some php code that can help:
$randomPosts = get_posts(array(
'orderby' => 'rand',
'posts_per_page' => 1,
'tag' => $tag,
));
I have no coding experience. How can I integrate that code with the plugin so that it will display a random song every 24 hours ? Is it possible to wrap that function in shortcode ?