uoregon / WPSpin

A WordPress plugin providing integration with Spinitron's SpinPAPI API service.
GNU General Public License v2.0
3 stars 5 forks source link

WPSpin

A WordPress plugin providing integration with Spinitron's SpinPAPI API service.

Requirements

Installing

Features

"Now on Air" Content

To insert a block of content with information about the show currently on air, simply insert the shortcode [wpspin-now-playing] into the page where you'd like the block to appear.

Program Schedule

To render a weekly program schedule, use the shortcode [wpspin-show-schedule]. If you'd like to customize the appearance from the default Spinitron style, the stylesheet that controls the layout for this view is located in views/showschedule.css.

Playlist Widget

WPSpin provides a widget that displays the ten most recent items on the current playlist in reverse-chronological order.

DJ Profiles

DJ Profiles are implemented as custom post types and can be edited to add photos and descriptions. If you are using 'post name' style permalinks, a listing of all DJs can be accessed at /wpspin_profiles (e.g. www.mysite.com/wordpress/wpspin_profiles).

Show Listings

Show listings are implemented as custom post types and can be edited to add photos and descriptions. If you are using 'post name' style permalinks,A listing of all shows can be accessed at /wpspin_shows (e.g. www.mysite.com/wordpress/wpspin_shows).

Theming and Styles

Both the playlist widget and the "Now on Air" content can be styled to fit with your site's wordpress theme. HTML element types and their respective classes are listed below.

Should you wish to edit the view templates, they can be found in /views/.

"Now on Air"

div wps-now-playing

Playlist

wps-playlist-template