Site icon TheCreatology.com

Add featured content slider to showcase Portfolio Work in Thesis Theme

In my recent work on advertising website design, client being a flyer designer had an amazing portfolio on automotive flyer design. In order to show portfolio work, client demanded for a presentation or a slide show of work on landing page. A featured content slider was added on the homepage using thesis theme. A screenshot below will clear you about the featured content slider.

Featured Slider on Client Site

Featured content slider uses JavaScript which takes your blog to next level along with SEO advantage. In this article, we will learn to add image slider in wordpress thesis theme. But before we proceed with this article I recommend you to safely upgrade thesis theme.

Step 1: Add Content Slider Plugin in WordPress

In order to add featured slider in wordpress we will have to install a plugin. Below is a simple procedure to add slider plugin:

Step 1: Install Plugin

Step 2: Configure Content Slider Settings

On activating the plugin, a left pane menu item “Content Slide” is added. In order to customize content slider, we will have to configure its settings for width height and content. Below is a simple procedure to configure slider.

Step 2: General Settings

Step 2: Effect & Animation Settings

Step 2: Image Source Settings

Step 3: Show Featured Slider in Thesis Theme

Now that we are done with the configuration of featured slider, we are left with to display slider on homepage template. Copy-paste the code snippet in the custom_functions.php, below:

Make sure you take full backup of custom_functions.php file using FTP before modifying it.

//Author: AkyJoe
//Email: akyjoe@gmail.com
function content_slider() {
if (is_home())
{ ?>
<div id="slider"><?php if(function_exists('wp_content_slider')) { wp_content_slider(); } ?>
</div>
<?php }
}
add_action('thesis_hook_before_content', 'content_slider');

We are Done!

Now, that we have added the code, you can refresh the website and see the slider in homepage. If you find the slider not adjusting the layout, you can repeat Step 2, above to change width, height and color settings for slider, till you are satisfied.

We  come to the end of this tutorial to add featured content slider in thesis theme. If you have any query or further assistance is required, post comment below as your feedback.

Exit mobile version