Skip to main content

Blogger: Method to Add 'Link to This Post' Widget on Your Posts

Blogger: Method to Add ‘Link to This Post’ Widget on Your Posts

[Today I’m going to provide you with a code that you can put on your Blogger Blogs. It’ll give your visitors a very easy way to link to your posts if they like it. Scroll to the bottom to see it in action! You might also want to read New Working Method of Making Blogger Title Tags SEO Friendly]


When it comes to Search Engine rankings, link popularity is no doubt one of the most important factors especially organic link popularity.

Nowadays Search Engines’ algorithms have become so intelligent and sophisticated that they could differentiate between different types of links; paid, reciprocal, organic etc. to name some, automatically and not let discouraged factors manipulate rankings much (in some cases by even penalizing those site).

Coming to Organic Link Building, there is no better way to do (or at least increase) Link Building than to ask or encourage your visitors. You see, I’ve it at the bottom of this post. This way you are asking peoples for links as well as providing them with the HTML code to ease the process a bit. Now if peoples like our post or site and HTML code is what they have to copy and paste, you stand a better chance of getting links than with many other techniques. One more BIG advantage is that as the code would generate anchor text (text of the hyperlink) same as the post title, again odds are that you’d get your main and relevant keywords in the links; rather than ‘this great post’ which some peoples prefer!

Below is the code that does this:

<!-- By Arvind Gupta -- http://learning-computer-programming.blogspot.com/ -->
<div align='center' style='border: 1px solid #646464; padding: 10px; margin: 20px;'> 
<p style='font-size: 150%; background: #C8C8C8; padding: 5px;'>Show Some Love!</p>
<p>If you like this post please consider 
  making a reference to it from other Blogs, Forums, Profiles etc. by copying 
  and pasting the following HTML code. Thank You!<br/>
  <br/>
<textarea cols='40' id='bloglinking' name='bloglinking' onFocus='select()' rows='3'>&lt;a href=&quot;<data:post.url/>&quot;&gt;<data:post.title/>&lt;/a&gt;</textarea><br />
    <!--My Link-->
    <font color="#999999" size="1"><em>Link To This Post </em>Widget by <a href="http://learning-computer-programming.blogspot.com/">Learning 
    Computer Programming</a></font></p>
    <!--/My Link-->
</div>

First, you may want to change text so as to be unique in asking people to link to you ;-).
WARNING: You must not delete my link though… Nah! Just kidding, YOU CAN DELETE IT if you wish to.

Now you are ready with code, open your Blog’s Dashboard move to Layout -> Edit HTML, tick Expand Widget Template check box. Now there are two places where you can place it, either at the top or at the bottom (like mine) of the post, I personally prefer it at the bottom.

To place it at the TOP, find some code that looks like below (in the middle of the code listing):

...
...
<div class='post-header-line-1'/>

<div class='post-body'>

[--PUT THE CODE HERE--]

<p><data:post.body/></p>
<div style='clear: both;'/> <!-- clear for photos floats --></div>
<div class='post-footer'>

<p class='post-footer-line post-footer-line-1'><span class='post-author'>
<b:if cond='data:top.showAuthor'>
<data:top.authorLabel/> <data:post.author/>
</b:if>
...
...

And place our code as and where stated.

To have it at the BOTTOM, paste the code in a slightly different place as::

...
...
<div class='post-header-line-1'/>

<div class='post-body'>
<p><data:post.body/></p>
<div style='clear: both;'/> <!-- clear for photos floats --></div>
<div class='post-footer'>

[--PUT THE CODE HERE--]

<p class='post-footer-line post-footer-line-1'><span class='post-author'>
<b:if cond='data:top.showAuthor'>
<data:top.authorLabel/> <data:post.author/>
</b:if>
...
...

Previous Posts:

Popular posts from this blog

Fix For Toshiba Satellite "RTC Battery is Low" Error (with Pictures)

RTC Battery is Low Error on a Toshiba Satellite laptop "RTC Battery is Low..." An error message flashing while you try to boot your laptop is enough to panic many people. But worry not! "RTC Battery" stands for Real-Time Clock battery which almost all laptops and PCs have on their motherboard to power the clock and sometimes to also keep the CMOS settings from getting erased while the system is switched off.  It is not uncommon for these batteries to last for years before requiring a replacement as the clock consumes very less power. And contrary to what some people tell you - they are not rechargeable or getting charged while your computer or laptop is running. In this article, we'll learn everything about RTC batteries and how to fix the error on your Toshiba Satellite laptop. What is an RTC Battery? RTC or CMOS batteries are small coin-shaped lithium batteries with a 3-volts output. Most laptops use

The Best Way(s) to Comment out PHP/HTML Code

PHP supports various styles of comments. Please check the following example: <?php // Single line comment code (); # Single line Comment code2 (); /* Multi Line comment code(); The code inside doesn't run */ // /* This doesn NOT start a multi-line comment block /* Multi line comment block The following line still ends the multi-line comment block //*/ The " # " comment style, though, is rarely used. Do note, in the example, that anything (even a multi-block comment /* ) after a " // " or " # " is a comment, and /* */ around any single-line comment overrides it. This information will come in handy when we learn about some neat tricks next. Comment out PHP Code Blocks Check the following code <?php //* Toggle line if ( 1 ) {      // } else {      // } //*/ //* Toggle line if ( 2 ) {      // } else {      // } //*/ Now see how easy it is to toggle a part of PHP code by just removing or adding a single " / " from th

Designing a Simple Order Form Application in PHP

Ok guys, for this post we’re going to create a simple yet complete order form page. Order forms are used on many sites to take customers order online. Order forms should have the capability to take orders from visitors regarding what items they want to purchase and store the information for further processing. For this post’s example, we are going to create an order form for a Book Seller. The form will be designed to take order of five different items (books). Our order form application should be able to take order of five different items in any separate quantities tht user wants, it should also ask for shipping address and name of the customer. It should then store the information provided in a file along with the date and time order was placed. The application should also be able to take any number of orders and store them all linearly for further human processing. For this, we need a front end of a HTML form to which the user would interact a