Let’s learn how to do it. Once you’re done, the codes will automatically appear below each post on post pages. Checkout the demo at the end of this post.
- Go to Template > Edit HTMLDashboard > 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/>:1<b:ifcond='data:blog.pageType == "item"'>2<p>Do you like this post? Please link back to this article by copying one of the codes below.</p>3URL:4<textareaid="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>5HTML link code:6<textareaid="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>7BB (forum) link code:8<textareaid="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>9</b:if>
- Preview and save.
No comments:
Post a Comment