Skip to content

Frequently Asked Questions

gordielachance edited this page Aug 26, 2019 · 4 revisions

What is the import bot user ?

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.

What is the difference between radios & playlists ?

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.

How can I embed a track or a playlist ?

!!! 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(); ?>