How to add slideshow from Nextgen Gallery wordpress plugin into your custom theme

November 14th, 2011 § 0 comments

Drop this code to header.php (for example if you want show it on header), put your gallery ID in [slideshow=1] (when your gallery ID is 1)

<?php
$showgallery = '[slideshow=1]';
$showgallery = apply_filters('the_content', $showgallery );
echo $showgallery;
?>

Then, adjust your slideshow width and height on Nextgen Gallery’s slideshow option, and your layout css off course.

Good luck :’)

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>

What's this?

You are currently reading How to add slideshow from Nextgen Gallery wordpress plugin into your custom theme at viar ms.

meta