Requests have been abundant when it comes to using my Simple Popup Plugin for WordPress to create a popup music player. Thus, I have written this guide to help you on your journey of musical satisfaction.
Here’s what we’re going for:
Download the Plugins
Create Page Template
Create a page template to be used for the page that you intend to popup. This should be very minimal, ie no sidebar, navigation, etc. You basically just want an empty page with maybe a background color and possibly some links associated with your music (facebook, myspace,…).
The XSPF Player plugin requires you to add this tag in the body of this template for the player to show:
<?php xspf_player::start('playlistname'); ?>
For info on creating a page template see the WordPress documentation. If you like you can download this music player popup page template which already contains the XSPF Player tag and place it in your current theme’s folder for it to work.
Create New Page
Create a new page (not page template) in WordPress with no text in the body and choose the page template you just created from the template pull-down menu.
Link it Up
Using the Simple Popup Plugin shortcode, template tag, or widget create a link to your newly created page wherever you desire. Set the dimensions for the pop up in the Simple Popup Plugin’s options page.
And that’s it! Ain’t no thang.