to do this, you must have jquery installed on your blog.or you can add script tag inside <head> with this :
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js' type='text/javascript'/>1. edit html
2. add jquery, css, and javascript.
css :
<link href='https://docs.google.com/uc?id=0B7xJbTAja8i0Q3p2czdZT0VCZ2s&export=download' rel='stylesheet' type='text/css'/>
javascript :
<script src='https://docs.google.com/uc?id=0B7xJbTAja8i0aGZrUEYxajRvQWs&export=download' type='text/javascript'/>
note : if you like you can download css and script above and upload your self to your blog/drive etc whatever you want.
3. add html
press ctrl+f to show search box, then type "<div class='main-wrapper'>" then press enter
copy this html after <div class='main-wrapper'>
<!-- frx Random Post Slider Start -->
<b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:blog.pageType != "item"'>
<div id='top-main'>
<b:section class='main' id='top-main1' preferred='yes'/>
</div>
</b:if></b:if>
<!-- frx Random Post Slider end -->
4. save templates.
5. add widget.
<div id="feature-rpost"></div>
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function () {
frx_frpost({
MaxPost:4,
RandompostActive:false,
idcontaint:"#feature-rpost",
ImageSize:200,
tagName:false
});
});
//]]>
</script>
or you can use label (example label : new)
save and reload your blog.
7. Thanks.
watch this on youtube :
4 comments
Thanks for your coding information UI Online Training
ReplyDoes off page seo help in improving traffic?.
Replybro , can you give me the drive url to see that script you rae using in this slider
Replycz it dosn't work when i download it
Unclear instructions for a bigginner..👎👎
ReplyPost a Comment