This tutorial will explain how to create a widget, for your visitors to link back to your article/blogger post.This widget will show 3 codes (Blog Post URL,HTML code to embed your post to a website,Forum Link to embed your post to a forum) below your blogger post.If you like to add this widget to your blogger blog,then follow the steps given below.
1.Login to your blogger dashboard--> layout- -> Edit HTML
2.Scroll down to where you see </head> tag .
3.Copy below code and paste it just before the </head> tag .
<style type='text/css'> .about-article{ background-color:#f9f9f9; padding-bottom:5px; padding-left:20px; font-size:11px; } .about-article input{ background-color:#ffffff; } </style>
4.Now find below code:
<data:post.body/>
5.Copy below code and paste it just after the <data:post.body/> .
<b:if cond='data:blog.pageType == "item"'> <div class="about-article"><p>If you find this article useful, please feel free to link to this page from your website or blog.</p><p class="noborder"><label for="aa-url">URL:</label><br /><input size="80" readonly="readonly" onclick="this.focus();this.select();" type="text" id="aa-url" value="<data:post.url/>" /></p><p><label for="aa-forum">HTML Link:</label><br /><input size="80" readonly="readonly" onclick="this.focus();this.select();" type="text" id="aa-forum" value="<a href=&quot;<data:post.url/>&quot;><data:post.title/></a>" /></p><p> <label for="aa-forum">Forum Link:</label><br /> <input size="80" readonly="readonly" onclick="this.focus();this.select();" type="text" id="aa-forum" value="[url=<data:post.url/>]/<data:post.title/>[/url]" /></p> <p align='center'><a href='http://www.blog101tips.blogspot.com/' style='display:none;' target='_blank'>Widget by BloggerTipAndTrick</a></p> </div><br/> </b:if>
NOTE : Don't change anything in above code.
6.Save your template and you are done.
0 Responses So Far: