How to Show Label Name before Blog Title


#1

In default label name are shown after blog title like your blog title: label name. But i want to make label name before blog title. Is there any blogger conditional tags hack for this task or any way to make this like label name | blog title. I tried many times but failed. Advance thanks for your comment. Here is a screen shot for better understanding I want to make it like SEO | My Blogger Tricks. Is it possible @Mohammad vai


#2

@tunerrazu, Hi!

Replace your whole <title> tag with the following <title> tag that I made for you:

<title>
<b:if cond='data:blog.searchLabel'>
  <data:blog.pageName/> | Blog Name
</b:if>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
      <data:blog.title/>
      <b:else/>
      <b:if cond='data:blog.pageType != &quot;error_page&quot;'>
        <data:blog.pageName/>
        <b:else/>
        Page Not Found | 
        <data:blog.title/>
      </b:if>
      </b:if>
  </title> 

Don’t forget to replace “Your Blog Name” in the code above. :slight_smile:

I hope it’ll work just fine for you.