How to Add a Widget Below First Post in Blogger

Another way of  making  a gadget/widget to appear  below the first snippet in your first read more post is through applying the Blogger conditional tag (<b:if cond='data:post.isFirstPost'>.....Some codes here....</b:if>). Furthermore, if you want to show or hide this widget gadget in a specific page in your blog, you can also use the other Blogger conditional tags.

See Demo Here.

Adding A Gadget or Widget Below First Post Snippet in Blogger


Step 1. Go to your  Blogger dashboard
Step 2. Click  Template and have a back-up of it for your reference.
Step 3.  Hit the Edit HTML button
Step 4. Search the line below  inside the search box and hit Enter to find it
<b:include data='post' name='post'/>
Step 5. Just below it add this code:
<b:if cond='data:post.isFirstPost'>
<div align="center" style="margin:10px auto;">
Your widget that you want to show or hide
</div>
</b:if>

Note:


The code that you are going to put must be parsed properly using a parsing tool.
If you want that the widget that you have added  will appear only in home page of your blog, use the code below:
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<b:if cond='data:post.isFirstPost'>
<div align="center" style="margin:10px auto;">
Your widget that you want to show or hide
</div>
</b:if>
</b:if>


About the Author:
tilt  hover effect
Hello folks! This is GOLDEN WORKS TV, the admin of this blog. No words could described my grateful appreciations to all newbie and professional bloggers around the world and most especially to Almighty God who gave me the wisdom...Read More
Follow him @ Twitter |Facebook

No comments :

Post A Comment!

Post A Comment!
We love to hear your feedbacks and suggestions. We will try our best to reply to your queries as soon as time allows. Please keep in mind that all comments are moderated manually by our editors team to minimize spamming, and all the links are nofollow.

Note:
1. To add HTML code in the box, please use our HTML editor generator.
2. Please do not spam. Those type of comments will be deleted upon our review.
3. We should appreciate an individual and suggestive discussion.

Best Regards,

GOLDEN WORKS TV

Related Posts Plugin for WordPress, Blogger...