How to create a widget Embeding URL, HTML, Forum Links Code in Blogger Posts, 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. The steps given below.
1. Login to your blogger dashboard--> layout- -> Edit HTML
2. Find code : </head> tag.
3. Copy below code and paste it just before the </head> tag.
<style type='text/css'> .about-article{ background-color:#cccccc; padding-bottom:5px; padding-left:5px; padding-right:auto; font-size:12px; } .about-article input{ background-color:#ffffff; } </style>
4. Now find below code : <data:post.body/>
5. Copy below code and paste it 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'></p> </div><br/> </b:if>
6. Save your template and you are done.
0 komentar:
Post a Comment