How To Remove Links from Header and Post Titles

Posted by Lasantha Bandara on April 17th, 2009 File Under : change template, header, post, title0 Comment

HOW TO REMOVE HEADER LINK

1.Log in to your dashboard--> layout- -> Edit HTML

2.Click on "Expand Widget Template"

3.Scroll down to where you see this:-

  <div class='titlewrapper'>
  <h1 class='title'>
  <b:if cond='data:blog.url == data:blog.homepageUrl'>
  <data:title/>
  <b:else/>
  <a expr:href='data:blog.homepageUrl'><data:title/></a>
  </b:if>
  </h1>
  </div>

4.Replace above code with below code.

  <div class='titlewrapper'>
  <h1 class='title'>
  <data:title/>
  </h1>
  </div>

5.Preview and save your Template.

HOW TO REMOVE POST TITLE LINK

1.Log in to your dashboard--> layout- -> Edit HTML

2.Click on "Expand Widget Template"

3.Scroll down to where you see this:-

  <h3 class='post-title'>
  <b:if cond='data:post.link'>
  <a expr:href='data:post.link'><data:post.title/></a>
  <b:else/>
  <b:if cond='data:post.url'>
  <a expr:href='data:post.url'><data:post.title/></a>
  <b:else/>
  <data:post.title/>
  </b:if>
  </h3>
  </b:if>

4.To remove the permalink Replace above code with below code.

  <h3 class='post-title'>
  <b:if cond='data:post.link'>
  <a expr:href='data:post.link'><data:post.title/></a>
  <b:else/>
  <b:if cond='data:post.url'>
  <data:post.title/>
  </b:if>
  </h3>
  </b:if>

5.Preview and save your Template.

File Under : change template, header, post, title

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.