Blip Slideshow Theme Example

This is an example of Blip being called directly from a WordPress theme template.

The public function slideshow() on the class Blip_Slideshow (as of version 1.2.2) creates the slideshow script HTML and includes the required stylesheets and Javascript files in your page. Options are passed to the function in its only parameter as an array. Unlike the shortcode, the id parameter for the function call is not optional.

The slideshow <div> element must be manually added into the template in the appropriate place. Example:

<?php $blip_slideshow->slideshow(array('id'=>'myShow')); ?>
<div id="myShow" class="slideshow"></div>

Continue to the Configuration page for options.

Leave a Reply

Your email address will not be published. Required fields are marked *



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>