Remove Blog Title From Post Title

A quick guide to remove Blogger homepage title from the post titles on Blogger. Swap Blogger post titles on Static Pages. If your blog show...

A quick guide to remove Blogger homepage title from the post titles on Blogger. Swap Blogger post titles on Static Pages. If your blog showing "Blog Name: Blog Post Title"; How to remove blog name from page title in individual blog posts? In the previous week I marked a issue with some blogger blog, while I was trying to share a post on social media that blogger post was showing the Blog title before the post title. But I didn't want this to show. so I was looking for some solution to remove blog title from post title. 

Remove Blog Title From Post Title
I wanted to show Individual blog post title every-time I share anything from those blogger blog.

How to remove Blog Name from post Title
to remove blog title from individual blog post title you need to edit the blog template html coding.  Its easy to done. This will work for both yourdomain.blogspot.com and yourdomain.com which hosted in blogger.com

Currently if your blog showing title like this:
[Blog Name]: [Blog Post Title]
You would like to remove [Blog name] from the title of individual blog posts so that it only appears as: Blog Post Title

Step 1.
To edit your blog template go to blogger dashboard.
Click on template and edit.
Find this code in the template
<title><data:blog.pageTitle/></title>
You can use ctrl+f to find the code.

Step 2.
Now replace the code with this code:
<b:if cond='data:blog.pageType == &quot;item&quot;'>
  <title>
    <data:blog.pageName/> </title>
  <b:else/>
  <title>
    <data:blog.pageTitle/>
  </title>
</b:if>

Caution: Please don't forget to backup your template before editing or make any changes. If you found any error so you will be able to restore your previous version of template easily. 

An alternative code if you want to display the blog title after the post title (in [Page name] | [Blog title] format)
<b:if cond='data:blog.pageType == &quot;item&quot;'>
  <title>
    <data:blog.pageName/> |
    <data:blog.title/>
  </title> <b:else/>
  <title>
    <data:blog.pageTitle/>
  </title>
</b:if>


I know this many of you wants to show the blog title just after the post title instead of showing before article title. Its better to show at the end.

You Might Also Like

0 comments