This is very useful feature for attracting more people towards your Blog or Posts. If user likes your article he shall link to your post on different forums or bloggs. 
- Go to Dashboard > Design > Edit HTML.
- Back up your template.
- Tick the Expand Widget Templates check box on top right of the HTML window.
- Paste the following code right under <data:post.body/>:
 
 <b:if cond='data:blog.pageType == "item"'>
 
 
 
 <p>Do you like this post? Please link back to this article using one of the codes below.</p>
 
 
 
 URL:
 
 
 
 <textarea id="url" onclick="this.focus();this.select()"readonly="readonly" rows="2" style="background:#eee; height: 2.6em; width: 100%;" title="Click to highlight"><data:post.url/></textarea>
 
 
 
 HTML link code:
 
 
 
 <textarea id="HTML-code" onclick="this.focus();this.select()"readonly="readonly" rows="2" style="background:#eee; height: 2.6em; width: 100%;" title="Click to highlight"><a href="<data:post.url/>"><data:post.title/></a></textarea>
 
 
 
 BB (forum) link code:
 
 
 
 <textarea id="BB-code" onclick="this.focus();this.select()"readonly="readonly" rows="2" style="background:#eee; height: 2.6em; width: 100%;" title="Click to highlight">[url=<data:post.url/>]<data:post.title/>[/url]</textarea>
 
 
 
 </b:if>
 
 
 
- Preview and save.
 




 
0 comments:
Post a Comment