Best 2 Know

The Ultimate Blogging Resource

  • Advertising
  • WebHosting
  • Contact Us
  • Blogger
    • Blogger Templates
    • Blogger Tutorials
  • Browser
    • Firefox
    • Google Chrome
  • Google
  • Internet
    • Facebook
    • Twitter
  • Thesis
  • Windows
  • WordPress
    • WordPress Themes
    • WordPress Plugins
  • More
    • Linux
    • Review
    • Solutions
    • Announcements

How to add Slider to thesis theme

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 :

  1. Login to your WordPress Dashboard
  2. Go to plugins and install Smooth Slider plugin or any other slider plugin you want
  3. Navigate to Thesis >> Custom File Editor and Select custom_functions.php file to edit
  4. 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');

    //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');

  5. 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

Subscribe via Email

Share this:

  • Twitter
  • Facebook
  • Pocket
  • Print
  • WhatsApp
  • Email

Related

June 19, 2011 Ritesh Sanap Thesis Customization custom_functions.php, Slider, Thesis Customization, Thesis Theme

Comments

  1. James Seligman says

    June 27, 2011 at 8:09 am

    Install and It worked great for me, no problems. I’m still messing with the slider settings to get the right look. But great tutorial!
    Thanks again,
    James

    Reply
    • Ritesh Sanap says

      June 27, 2011 at 11:36 am

      James,
      Thank you , well this has to work , and you can use any of the plugin you need for slider plugin with it like Slider Deck which looks cool , ain’t it ?

      Reply
  2. The Tech Guy says

    February 5, 2012 at 1:58 pm

    Added the slider and it’s working like a charm. But the slider is very simple. How can we customize it?

    Reply
    • Ritesh Sanap says

      February 12, 2012 at 11:16 am

      Well their are different types of slider also available on the WEB you an use it, just follow the same procedure and do relevant changes in the code

      Reply
  3. Alda says

    September 16, 2012 at 4:48 am

    Thanks for taking the time to write this tutorial, but alas, the slider isn’t working for me. I’ve installed the plugin, it’s there, I’ve enabled the feature box setting, I’ve placed the code in my custom_functions file, but the slider doesn’t show. Any thoughts on what might be wrong?

    Reply
    • James Seligman says

      September 26, 2012 at 4:22 am

      Hi Alda – I ran into that same issue not to long ago and took a little bit to figure out what happen since it just stopped working. Under the Smooth Slider go to Settings, than Responsiveness and check the box “Enable Responsive Design” and see if that fixes it. Mine wasn’t working as soon as I checked that mine started working again.

      Reply

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post navigation

Previous Previous post: How to get first image from post
Next Next post: How to add Logo to Thesis theme

Currently Trending

  • How to download Specific parts of YouTube videos
  • How to Make Your Own Avatar
  • You might also like this Widget for blogger or Related post widget
  • How to Delete Feedbacks from JetPack Contact Form
  • List Of All 255 Keyboard All Alt Key Codes
  • 100+ Best Online Games - Who Else Wants to Play ?
  • How to Change the Welcome/Login Screen in Windows XP ?
  • Windows Vista CD key
  • Add/Remove page/Post View Counter Widget For Blogger
  • h4x0r ( Hacker ) - Blogger Template

Get Latest post in your Inbox

Random Posts

Easy login URL

March 18, 2011 By Ritesh Sanap 2 Comments

FastestFox – Browse Faster

October 19, 2010 By Ritesh Sanap Leave a Comment

MaxBlogPress ping Optimizer

May 18, 2011 By Ritesh Sanap 2 Comments

How to change the dashboard footer text

March 15, 2011 By Ritesh Sanap Leave a Comment

h4x0r ( Hacker ) – Blogger Template

August 10, 2010 By Ritesh Sanap 6 Comments

WordPress

HTTP2 Server Push for W3 Total Cache Minify plugin

August 17, 2016 By Ritesh Sanap 5 Comments

How to Disable Emojis in WordPress

January 6, 2016 By Ritesh Sanap Leave a Comment

JetPack Related posts and Sharing not working with NGINX

November 10, 2015 By Ritesh Sanap Leave a Comment

Simply Pure – WordPress Theme

November 2, 2014 By Ritesh Sanap 2 Comments

Advanced What should we Write about next? – WordPress Plugin

July 28, 2014 By Ritesh Sanap Leave a Comment

How to Disable Self Pingback or TrackBack

January 16, 2014 By Ritesh Sanap Leave a Comment

BlueStrap – WordPress Theme

January 1, 2014 By Ritesh Sanap 15 Comments

How to Create Multiple Excerpts in WordPress

December 24, 2013 By Ritesh Sanap Leave a Comment

How to Disable Auto Update in WordPress

November 21, 2013 By Ritesh Sanap Leave a Comment

How to Delete Feedbacks from JetPack Contact Form

November 19, 2013 By Ritesh Sanap 9 Comments

Recent Posts

  • HTTP2 Server Push for W3 Total Cache Minify plugin
  • How to show hidden files and folders in Mac OS X
  • How to Disable Emojis in WordPress
  • Canva – Online Photo Editor
  • JetPack Related posts and Sharing not working with NGINX

Archives

Recommends

  • DigitalOcean – Cloud Hosting
  • Dropbox – Cloud Storage
  • Elegant Themes – WordPress Themes
  • LastPass – Password Manager
  • Like us on Facebook
  • Follow on Twitter
  • +1 on Google
  • Subscribe via Email
  • RSS Feed

© 2023 Best 2 Know · All Rights Reserved · We ♥ DigitalOcean