Friday 30 December 2011

Link to this post, Below Posts add Link to this post



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. 
  1. Go to Dashboard > Design > Edit HTML.
  2. Back up your template.
  3. Tick the  Expand Widget Templates check box on top right of the HTML window.
  4. Paste the following code right under <data:post.body/> :  
    view sourceprint?


    <b:if cond='data:blog.pageType == &quot;item&quot;'>



    <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">&lt;a href=&quot;<data:post.url/>&quot;&gt;<data:post.title/>&lt;/a&gt;</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>


  5. Preview and save.

0 comments:

Post a Comment

 
Free Host | lasik surgery new york