February 25, 2019

HOW TO REPLACE THE NAME "LABELS" BELOW YOUR POST WITH AN IMAGE

HOW TO REPLACE THE NAME "LABELS" BELOW YOUR POST WITH AN IMAGE


1.Log in to your dashboard--> layout- -> Edit HTML
2.Click on "Expand Widget Templates"
3.Scroll down to where you see this:
<p class='post-footer-line post-footer-line-2'>
<span class='post-labels'>
<b:if cond='data:post.labels'>
<data:postLabelsLabel/>
<b:loop values='data:post.labels' var='label'>
<a expr:href='data:label.url' rel='tag'><data:label.name/></a><b:if cond='data:label.isLast != "true"'>,</b:if>
</b:loop>
</b:if>
4.Replace the line  <data:postLabelsLabel/>  with below code.
<img src="URL OF YOUR IMAGE " alt="BLOG TITLE" />
5.Click on "Save Templates" and refresh your site.

0 Comments:

Post a Comment