How to Disable Post Title Link on Home Page?


#1

I searched for above question on google but only found the way to disable post title link on post page.

I want to disable the link of the post title from homepage also. As it’s only one article blog, the whole article is visible on homepage. So i need to disable link of the post title from homepage.

Need help.


#2

First of All

Go to Blogger Dashboard >> Template >> Edit HTML

Find this in your code editor

 <h3 class='post-title entry-title' itemprop='name'>
              <b:if cond='data:post.link'>
                <a expr:href='data:post.link'><data:post.title/></a>
              <b:elseif cond='data:post.url and data:blog.url != data:post.url'/>
                <a expr:href='data:post.url'><data:post.title/></a>
              <b:else/>
                <data:post.title/>
              </b:if>
            </h3>

Don’t try to search all of the code try one like this `

<h3 class='post-title entry-title' itemprop='name'>

`

It may appear two time in your template . Replace this with below code

  <h3 class='post-title entry-title' itemprop='name'>
                    <data:post.title/>
                </h3>

Else if you don’t find this code or may be using custom template add your url here


#3

works perfectly .

Thank for your help bro