jlethuau/wp-parallax-content-slider — pull request #37 by Steven-Oddineer (2013-08-27 23:19:08+00:00)
Title: Added prlx-slides custom post type plus more.

When I wrote this I used the version 0.9.6, I only discovered your repo on GitHub this evening. I've included some details below about the features I've introduced, although they are rather basic at present. Thanks for a great plugin and I hope that this proves useful.

Added a custom post type called "prlx-slides" this is solely intended
for use with the parallax slider and was added to simplfy the creation
of slides separately from other post types on a installation.
wp-parallax-content-slider.php
- Added a new option "post_type" with the default value "prlx-slides" -
$prlx_slider_post_type.
- Modified the $args variable used to build the slider starting on line
267.
-- If the selected slide mode is equal to "prlx" the post type is set to
the newly added option $prlx_slider_post_type.
-- Otherwise it defaults back to $typ.
- Added a third option to slider mode called Slide builder which used
the prlx-slides custom post type.
- Added support to include static-slider.php templates in the theme
directory.
-- Starting line 357 if the slider mode static is chosen another check
is performed to see if a "static-slider.php" template exist in the
currently activated theme otherwise it will default to the
static-slides-sample.php included in the plugin.
- Incremented version number from 0.9.6 to 0.9.7.
- Removed whitespace after closing php tag.
content_slides.php
- This houses the code for the prlx post type.
- There are 2 custom meta fields used these are for images and url.
-- Both choosing and image and/or a url re-use the functionality found
in wordpress for example selecting an image opens the media library.
-- Selecting a url allows the user to choose from a drop down list of
pages on the current site. (this could be modified to include post and
other post types if required).