Add animated slideshows of your featured pages and posts.
Adding slideshows to your themes is incredibly easy and just requires one line of PHP code. You can introduce your slideshow as part of any of your theme files using the following code:
<?php d13slideshow(); ?>
Some of the key places you could add your slideshow include:
Your slideshows can feature up to 10 different posts or pages and these can be set using the 'Features' section of your d13slideshow options page. In your WordPress admin pages choose 'settings > d13slideshow' and use the select boxes to choose which posts to feature.
D13Slideshows use custom fields within your posts or pages to determine which images to use. Just set up a custom field with the key 'promoimage' and the value as an absolute URL for an uploaded image.
Just be sure that your promo images are the same size as the slideshow (set in your options page).
As of version 2.0.0 external links can be supplied for the slideshow to use rather than the permalink of the featured post. These external links are added using an extra custom field.
As of version 2.0.0 you can add additional arguments when you embed the slideshow command within your theme. If, for example, you want your homepage slidehow to run on your admin settings, feature posts 3, 7 and 9 on your pages and posts 5, 19 and 22 on single post pages you could add:
<?php d13slideshow(); ?> to index.php,
<?php d13slideshow( array(3,7,9) ); ?> to page.php and
<?php d13slideshow( array(5,19,22) ); ?> to single.php.
This is generally an issue for blogs with a lot of posts. The admin screen loads all of your posts into a dropdown list for you to select them from, if you have lots of posts then the database connection times out and the page never loads.
Version 2.0.0 of the plugin contains 2 options for selecting posts - dropdown lists and text entry for manually adding post or page IDs.
On lines 15 and 16 of d13slideshow.php you'll find 2 statements, just comment out the one you don't want to use.
Requires: 2.0.2 or higher
Compatible up to: 2.8.4
Last Updated: 7 years ago
Active Installs: 200+
Got something to say? Need help?