-
Notifications
You must be signed in to change notification settings - Fork 1
Frequently Asked Questions
The import bot is a user that will be assigned as author to some of the content created automatically by the plugin (eg. imported tracks, autolink, etc).
It will be created when you activate the plugin.
This user requires some specific capabilities. The easiest way to do that is to give him the Author role while creating/editing this user in the Wordpress admin.
Radios are tracklists that are synced with a remote source (eg. a Spotify playlist, a XSPF file,...). Unlike playlists, you cannot add manually tracks to radios since they are refreshing seamlessly after a user-defined delay.
!!! There is currently a Wordpress bug that breaks our shortcodes. See the Github issue.
Using shortcodes:
[wpsstm-tracklist post_id="160"]
[wpsstm-track post_id="150"]
[wpsstm-track artist="Patrick Sébastien" album="Pochette surprise" title="Les Sardines"]
Or directly with PHP functions:
<?php $tracklist = new WPSSTM_Post_Tracklist($post_id); echo $tracklist->get_tracklist_html(); ?>
<?php $track = new WPSSTM_Track($post_id); echo $track->get_track_html(); ?>