Is there a way to add the mainpage slider to other pages?
For example I want to add Slider Entries as a slideshow like on the "home page" in the demo to any or all of my other pages.
Is there a way to add the mainpage slider to other pages?
For example I want to add Slider Entries as a slideshow like on the "home page" in the demo to any or all of my other pages.
Hi,
Open index.php and find this code.
<div class="feature_wrap">
<!-- ###################################################################### -->
<?php
//this class creates the slideshow
// SET SLIDER OPTIONS
$slideshow = new kclass_display_slideshow();
$slideshow->setQueryType('slideshow');
$slideshow->setQueryNumber($k_option['slideshow']['feature_count']);
$slideshow->setSlideshowSize('XL');
$slideshow->setSlideshowClass('aviaslider');
$slideshow->setCaption('_img_excerpt');
$slideshow->setWelcome("You can add Slides manually at your backend <a href='".get_option('siteurl')."/wp-admin/edit.php?post_type=slideshow' title=''>here</a> or you can use the <a href='".get_option('siteurl')."/wp-admin/options.php?page=options.php' title=''>dummy content installer</a> to create some slides for you so you see how it is done ;)");
$slideshow->show();
?>
<!-- ###################################################################### -->
</div><!-- end featuredwrap -->
That is how you call the slider. You can try and experiment to put it on a template.
Cheers,
Ismael
Perfect. Thanks.
Where can I find a options explanation of what I can set for the slide show?
For example the thumbnail images et al:
$slideshow->setSlideshowSize('S');
$slideshow->showThumbnails();
Can I make it random?
Hi!
All slideshow sizes are defined in functions.php. Following sizes are available: base,S,M,M2,M3,L and XL.
Regards,
Peter
You must log in to post.