Help To Blogging

A Blog to Find everything you need to Know about Blogging and how to run a Successful Blog

Blogger Widgets

How to Add a Dynamic Slider in Blogger For Recent Posts

Sunday, 14 August 2016 By Unknown 3 Comments

"Blogger Dynamic Slider" is a simple yet powerful automatic slider for blogger. The slider content generates from blog's feed dynamically, based upon users settings via jQuery Ajax Call. It is fully responsive. As it is a Dynamic Slider, the slider content updates whenever a new post comes (if it fits with user settings criteria).

Add SLider  to Blogger

Blogger Dynamic Slider Features

  • Dynamic - Slider Content Generates Automatically
  • Fully Responsive
  • Slider By a Specific Label
  • Slider By Recent Posts
  • Preloader Function
  • Lots of Customization Options
  • Easy Setup & Customization

Well now this automatic recent post slider have a testing tool where you can enter your blog URL and see how Dynamically it generates a slider from your blog's feed. This tool has other basic options like Image Size, Max Item.

How It Works ?

The slider content generates from blogger blog's feed, dynamically by jQuery AJAX call, and then FlexSlider takes effect and take care of the sliding features. That it, nothing fancy but very useful for blogger users.

Installation Guide

STEP - 1: Go to Your Blogs Home > Template (Backup your template to be safe)
STEP - 2: Edit HTML
STEP - 3: Search for closing head: </head> in the template (Hint: to search on template: click anywhere in the code block and press Ctrl+F)
STEP - 4: Copy the following code below and paste just before </head>
<!-- BloggerDynamicSlider Basic CSS -->
<style type="text/css">
/**
 *  jQuery BloggerDynamicSlider v1.0.0
 *  Copyright 2016 http://shuvojitdas.com
 *  Contributing Author: Shuvojit Das
 *  Plugin URL: https://github.com/shuvojit33/blogger-dynamic-slider
 *
 */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400);
@import url("https://cdnjs.cloudflare.com/ajax/libs/flexslider/2.6.0/flexslider.min.css");

/* Preloader */

.flexslider.loading:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz4zTV1LvDxtP8ZBWIumyJum779YVtrW4aOidlQHfq-Awe5AiEUpScIesLZCvZlNOOaiu4QMl4xnvU7Vgo3E00bPs6UF7mTZFh6GQ9VFLwx6paCT4SpvIXmwOaR9uN37Z1do3sZa81e-_b/h120/loader.gif) no-repeat center center;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 9999;
}

.flexslider.loading ul.flex-direction-nav,
.flexslider.loading ol,
.loading .flex-caption {
    display: none;
}

.flexslider {
    border: 1px solid #cacaca;
    padding: 4px;
    margin: 0 auto 60px auto;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.flexslider a {
    text-decoration: none;
}


/* Caption/Post Title */

.flex-caption {
    position: relative;
    padding-left: 15px;
    padding-right: 10px;
    height: 60px;
    background: #FFFFFF;
    color: #1C1C1C;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 26px;
    line-height: 26px;
    margin: 0;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flex-caption span {
    display: table-cell;
    vertical-align: middle;
    height: 60px;
}

.flex-caption.overlayDark,
.flex-caption.overlayLight {
    margin-bottom: -60px;
    bottom: 60px;
    position: relative;
}

.flex-caption.overlayDark {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
}

.flex-caption.overlayLight {
    background: rgba(255, 255, 239, 0.9);
    color: #000;
}

ul.slides li a {
    display: block;
    overflow: hidden;
}


/* blogger css conflicts fix */

.flexslider ul {
    margin: 0 !important;
    padding: 0 !important;
    line-height: initial !important;
}

.flexslider ul.flex-direction-nav li {
    margin: 0;
    padding: 0;
    line-height: initial;
}

.flexslider ul li {
    margin-bottom: 0 !important;
}

.flexslider img {
    padding: 0;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

ul.flex-direction-nav {
    position: static;
}

ul.flex-direction-nav li {
    position: static;
}

.error {
    font-family: monospace, sans-serif;
}

@media (max-width: 600px) {
    .flex-caption {
        font-size: 20px;
        line-height: 20px;
        font-weight: 400;
    }
}
</style>
<!-- Include Dependency Script -->
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/flexslider/2.6.0/jquery.flexslider-min.js"></script>
<script type="text/javascript" src="http://shuvojitdas.com/script/jquery.bdslider.min.js"></script>

Note: If you had already added jQuery .js into your blogs template then don't add it again as sometimes multiple jQuery ruins everything. Here jQuery script tag is located at the very first of this code block above.

STEP - 5: So now the slider engine scripts are installed, you are ready to add slider(s) anywhere in your blog including gadget, post or page. Well, just copy the code below and paste in a HTML Gadget or Post or Page

<div id="slider1"></div>
<script type="text/javascript">
$(document).ready(function() {
    $("#slider1").BloggerDynamicSlider({
        imageWidth: 636, // Image width in px value
        imageHeight: 398, // Image height in px value
        maxItem: 6, // Max number of Slider Image to show
        animation: "slide", // Select your animation type, "fade" or "slide"
        showPostTitle: true, // Show post title as Caption ? (true/false)
        postTitleStyle: "overlayLight", // Caption style: "default, "overlayDark" or "overlayLight"
    });
});
</script>

STEP - 6: Save & Done! Pretty Simple & Dynamic.


If you want to Show that Posts from a Specific Label Add This after the ImageWidth : 636 Line in HTML Script.

labelName: "",

For Example if you want to show posts from the Label Food then it goes like this :
labelName: "Food",
Thanks for Reading and f you have Any Problems Please feel free to comment.
Happy Blogging !!
Blogger Widgets
Share:

Unknown
A gamer, A Blogger and the Founder of Blogging with TRoy

Related Posts Widget

3 comments:

  1. Hikaru Kazushime13 November 2017 at 21:26

    I really like this slider, however I cannot get it to display thumbnails of my posts. Do you know why? My site is http://www.runaroundnet.com

    ReplyDelete
    Replies
    1. TECH UPDATE6 June 2018 at 05:35

      Create slider with HTML | How to create slider with photos using html only

      Delete
      Replies
        Reply
    2. Reply
  2. TECH UPDATE6 June 2018 at 05:35

    Create slider with HTML | How to create slider with photos using html only

    ReplyDelete
    Replies
      Reply
Add comment
Load more...

Newer Post Older Post Home
Subscribe to: Post Comments ( Atom )
  • Blogger
  • Widgets
  • Get Traffic
  • Ad Networks
  • Miscellaneous

Popular Posts

  • How to Create High Quality Backlinks !! In-Depth Guide
    One of the secrets to creating more traffic with your posts is to build some backlins. To Build some High Quality Backlinks, you need to bo...
  • How to Add a Dynamic Slider in Blogger For Recent Posts
    "Blogger Dynamic Slider"  is a simple yet powerful automatic slider for blogger. The slider content generates from blog's fe...
  • Tips to Write Great Guest Posts and Attract People to Your Website
    A post for bloggers with effective guest blogging tips to experience its benefits and to perform well in the blogosphere. Most of th...
  • 5 Ways to Make Money from Your Blog without Advertisements !!
    Most of the bloggers limit themselves by using easy to use Adnetworks like  Google AdSense  or Chitka on their blog to earn. You might b...
  • Get Traffic From Google Plus Using 7 Simple Methods
    Social media marketing has always been an excellent way to drive traffic to our blogs. And as you might know, Facebook and Pinterest ...

© 2016 Help To Blogging | All rights reserved
Created By Responsive Blogger Templates | Distributed By Gooyaabi Templates