Thesis is a great framework or theme for WordPress but many people find it difficult to edit or use it. but it is not like that I have been fascinated to thesis so much I can’t feel of making any website of mine without it. but there are many people who feel Thesis Customization is difficult but it is not like that , today I m going tell you how to add slider to thesis theme
In this tutorial you will have to select an Slider plugin for this tutorial I m gonna choose Smooth Slider plugin which is too much customizable and I have used it in almost websites which I made for my clients. you can use any plugin you want for the slider you can also select one from Top 5 jQuery Slide Gallery
Now lets start installing the slider :
- Login to your WordPress Dashboard
- Go to plugins and install Smooth Slider plugin or any other slider plugin you want
- Navigate to Thesis >> Custom File Editor and Select custom_functions.php file to edit
- in custom_functions.php add the below code :
//Featured Content Slider function content_slider() { if ( is_home()) { ?> <?php if ( function_exists( 'get_smooth_slider' ) ) { get_smooth_slider(); } ?> <?php } } add_action('thesis_hook_before_content', 'content_slider');
- now save the file
Now we have successfully installed the slider to thesis theme, if you have installed any other slider plugin then remember to change the function line on line 4 replace the whole line with your slider plugins function.
How to show slider on all the Pages ?
well the current code display’s slider only on Homepage using WordPress Conditional tags you can change that tag on line 2
How to customize slider ?
As at the starting i told the Smooth Slider plugin is highly customizable you can customize the plugin by going to Smooth Slider >> Settings
Video Tutorial :
Again i have made a video tutorial for you all , for better understanding
Hope you have like the tutorial if you have any problem or request just contact me