Advertisement

Thursday, 8 May 2014

How to Setup Post Title Before Blog Title

Posted by on Thursday, 8 May 2014
Generally when you create a New Post in Blogger, the Post title is structured below format.
example: Post Title is Newpost and your blogger title is myblog, then the post title is
myblog-newpost

Here is an Example of Blog Title Before Post Title

Now You can Change it to Post Title Before Blog Title, here is an example


To Change Post title before blog title Go to Blogger Dashboard, and Click Template tab and Click on Edit Html button.
Note: Before you can edit you html Click Backup/Restore Button and Click Download Full Template and Save it to your Drive.

Now you click on edit html you see below image


This HTML code you seen in above image.
<b:include data='blog' name='all-head-content'/>
    <title><data:blog.pageTitle/></title>

Now you can replace the above code to this below code

<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>

example of this


After you can replace the HTML code Click Save Template Button.
you can successfully setup your Post Title before Blog Title.

No comments:

Post a Comment