Wordpress plugin that adds a shortcode on posts or pages to read the artist discography using the Beatport API.
After the plugin is active, there will be a new icon on the text editor toolbar. So if you go to add a new page or post you will see the beatport green logo icon. If you click on it a new modal window will open asking for one of the following:
* Artist (Default) * Label * Release (By Id)
* Artist Name (Default) * Label Name * Release Id
* Releases (Default) * Tracks * Artist Bio (Only available when fetching Artist feed)
* Enable/Disable Sound Player (Only available on tracks catalogue, it will play the sample when clicking on the track cover) * Enable/Disable buy on beatport link
One option of each group is required.
This will add a shortcode like this:
[beatport_discography_sc feed="artist" artist="Richie Hawtin" items="track" soundplayer="on" buylink="on"]
Shortcodes parameters * feed: string with value "artist", "label" or "id" * artist: string in this format "Matthias+Tanzmann" * label: string in this format "Moon+Harbour+Recordings" * id: the release id as it appears on beatport url (for example: http://www.beatport.com/track/secret-effect-original-mix/4773933 the id would be 4773933) * items: string with value "release" or "track" * soundplayer: string with values "on" or "off" * buylink: string with values "on" or "off"
There is a button to test the shortcode before inserting, this will show you a short part of the JSON file.
After you filled out the form, click on insert shortcode and update the page/post.