Subscribe For Free Updates!

We'll not spam mate! We promise.

1
slider only on homepage

Follow the steps below to make it appear only on homepage. 

(I presume that you’ve added the slider code in a widget/gadget. )
  1. Find your Slider Widget/Gadget ID (Gadget ID Finding Tutorial)
  2. Got to Template > Edit HTML
  3. Search in template for the Gadget ID you find out on Step 1Note: Click anywhere in the template code area and press CTRL+F to open the search box. Paste the ID And press Enter.
  4. You’ll find the Widget Code as shown below. Here HTML1 is our Widget ID
<b:widget id='HTML1' locked='false' title='' type='HTML'> <b:includable id='main'> <!-- only display title if it's non-empty --> <b:if cond='data:title != &quot;&quot;'> <h2 class='title'><data:title/></h2> </b:if> <div class='widget-content'> <data:content/> </div> <b:include name='quickedit' /> </b:includable> </b:widget> <b:includable id='main'> <!-- only display title if it's non-empty --> <b:if cond='data:title != &quot;&quot;'> <h2 class='title'><data:title/></h2> </b:if> <div class='widget-content'> <data:content/> </div> <b:include name='quickedit' /> </b:includable> </b:widget>

        5.We have to add the conditional tag for the Widget Code to appear only on                homepage. See below
<b:if cond='data:blog.url == data:blog.homepageUrl'> Widget Code Here </b:if>

         6.So after you made the change it will looks like:
<b:widget id='HTML1' locked='false' title='' type='HTML'> <b:includable id='main'> <b:if cond='data:blog.url == data:blog.homepageUrl'> <!-- only display title if it's non-empty --> <b:if cond='data:title != &quot;&quot;'> <h2 class='title'><data:title/></h2> </b:if> <div class='widget-content'> <data:content/> </div> <b:include name='quickedit' /> </b:if> </b:includable></b:widget>

         7.Now "Save Template" and you are done.
       Does It Help? Let me know in comments.

About The Author
Hasan Shaikh is the founder and admin of ShmHack, a popular blog dedicated for Learners,Geeks and Bloggers. He is currently 19 years old and loves to post articles related to blogging,SEO,adsense,hacking,security,social medias,computer and android. Find more about him...

Post a Comment

  1. How To Make A Slider To Appear Only On Homepage In Blogger - Shm-Hack >>>>> Download Now

    >>>>> Download Full

    How To Make A Slider To Appear Only On Homepage In Blogger - Shm-Hack >>>>> Download LINK

    >>>>> Download Now

    How To Make A Slider To Appear Only On Homepage In Blogger - Shm-Hack >>>>> Download Full

    >>>>> Download LINK vd

    ReplyDelete

Write Your Precious Comments Here.!

 
Top