Saturday

How To Display Blog Title After Post Title For Blogger / Blogspot

Posted By: Arin Dey - 5:32 PM

Share

& Comment

If you search your website links in search engines then you will find that your blog title appears first followed by blog post title along with with other blogs. Now imagine a situation where you want to show only the blog post title and not blog title? In WordPress we can change title positions via All in One SEO settings very easily. But a lot of bloggers experience the issue while implementing in Blogger/Blogspot blogs. It requires a little bit of HTML code modification. Here, I will explain the way how to do that.

You can choose any of the 2 options :
  • Blog Post Title + Blog Title 
  • Only Blog Post Title 
Here we go with step by step process: (Assuming that you are using new blogger interface)

1. Login to Blogger account.
2. In Dashboard select the blog and click on the Template button.
3. Click on Edit HTML. Proceed to edit.
              
How To Display Blog Title After Post Title For Blogger

4. Now search for this tag.
<title><data:blog.pageTitle/></title>
5. If you want to show only Blog Post Title then replace it with following code:
<b:if cond='data:blog.pageType == "item"'>
<title><data:blog.pageName/> | <data:blog.title/></title>
<b:else/>
<title><data:blog.pageTitle/></title>
</b:if>
For Blog Post Title followed by Blog Title option, replace the same tag with following code:
<b:if cond='data:blog.pageType == "item"'>
<title><data:blog.pageName/> | <data:blog.title/></title>
<b:else/>
<title><data:blog.pageTitle/> | <data:blog.title/></title>
</b:if>
That's all. Isn't that simple? You can search your posts picking randomly from your blog in search engines. There you will find that your post title is appearing before your blog title.

Copyright © 2016. Poketors - Technology BlogThe content of this website is copyrighted and may not be reproduced on other websites. | Email us at : admin@poketors.com.