Skip to main content

How to make thumbnail Image of a post, link to its page?

In BHF, We had many asking queries regarding How to make a post's thumbnail appear on homepage and get it linked to the post page? So, Let us see how to do that.

  • First Backup your template so that you shall restore it if the code doesn't work on your template.
  • Go to Dashboard > Template > Edit HTML
  • Press Ctrl + F and find data:post.body
  • Paste the following code just above the found code.
    <b:if cond='data:blog.url != data:post.url'>
    <b:if cond='data:post.thumbnailUrl'>
    <div class='Image'>
    <a expr:href='data:post.url'>
    <img expr:src='data:post.thumbnailUrl' style='float:right border-radius:50px; border:5px solid black;height:65px;width:65px;'/>
    </a>
    </div>
    </b:if>
    </b:if>
  • Click Save Template and it is set.

Comments

Feeds for you

DWI - Not all the time "Authoritative" helps

We already saw the common issues when custom domain is involved where we saw a tool called DWI - Dig Web Interface which will help us get DNS records of a particular domain.

Today while coming across a forum thread, got to notice a strange thing ever. It's not the first time however. If you refer the article about corrupted DNS, the blog URL used had similar issue.

It is normally recommended to use "Authoritative" under Name servers when digging a domain. However this doesn't always workout.

Who Is Lookup

Again as a part of Custom Domain Troubleshooting, we do Who Is lookup which gives us a handful of information.


What is Who Is Lookup?

Who Is lookup gives exactly what the name means. "Who Is". In addition to Who Is, this will give few useful information like,
Registrar InformationRegistered date and expiry information and so on.

How to do Who Is Lookup?