Inserting slider into theme files

Code snippets for my own reference, but might be helpful to others…

Edit the theme’s header.php, bottom of the file, above <div class=”site-content”>

Add:

<?php
echo do_shortcode(‘[smartslider3 slider=”2″]’);
?>

“2” being the chosen slider.

Save.
Make sure you install the slider and create a slideshow first!

In Slideshow dashboard, under “Size” set “Overflow-x” to none to remove double scrollbars.

Posted by Redback Graphics