Remove Links from Header and Post Titles. ~ Tips for Bloggers

WELCOME!

This blog contains quick tips for Bloggers. For detailed explanations do visit the main blog at :

Remove Links from Header and Post Titles.

REMOVE HEADER LINK


The header on Blogger is linked to the Main Page. This enables readers to quickly navigate to the Home page if they are on the Post Pages. The Home Page contains one or more Posts depending on what you have set in Settings---->Formatting---->Show __ Posts on Man Page.



The code for the header linking to the Home Page is in the Expanded Widgets Template. Login at Blogger.com and click Layouts link on Dashboard. Then click Edit Html subtab of Layouts tab. Click the 'Expand Widgets Template' checkbox at the top of the Template Code box. Wait for the page to refresh and scroll down in the Template Code box to this code :

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


Change above code to :

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


Preview and save Template.




REMOVE POST TITLE LINK


In Blogger the Post titles are linked to the Post Pages by Permalinks. The Post title code is further down in te template :

<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>
</b:if>
</h3>


To remove the permalink change this to :

<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>
</b:if>
</h3>


Preview and save template.

Enjoy!!

5 comments:

Alberto said...

Hello. I liked your blog very much, and I was trying to understand this post: http://tipsforbloggers.blogspot.com/2007/11/create-navigation-menu-bar.html
but I coudn't... :'(

I don't know much of english, as you can notice as you read this comment, and I didn't understand that very well... I tried but didn't get any result.

I noticed that you blog hasn't the "blogger bar" in the top. How can you make it disappear? Could you tell me, please?

I'll visit you blog again for the answer (if you will be so kind to answer me) and if you want to contact this is my blog: http://fegatello.blogspot.com

Thank you,
beckerqueiroz@gmail.com

Vin said...

Alberto,

Have a look at Navbar in Beta Blogger.

SBA said...

Hi,
1. this tip is very clear in spelling out the template changes, but I don't understand why I would want to remove that code?
2. now that you have inline comments, do you still need the "Click here to leave a comment" link on each post?
3. I have an email subscription but it shows only your post title and no details, not even a summary lead-in. Are you aware of that? Some folks are putting the entire post in the email delivery. My feed still has a summary.
4. When you respond to my comment, is there a way to subscribe to the comment feed or do I have to check back periodically. Blogger help forums do that and I easily misplace my original question!

Thanks,

vin said...

SBA,

1. This post was in response to a reader request.

2. That link leads to the comment form. It can be removed. See Making Comments Link More User Friendly!

3. Customize your feed to Full in Settings---->Site Feed and also in your Feedburner settings.

4. Check the box to be notified of replies. Since this feature is still "in draft" it may not be there now.

1demi1 said...

thanks

CLICK HERE TO LEAVE A COMMENT.



Skip to top of post.

Search Blog Before Commenting

Loading...

Post a Comment

Please use the above Search box to look for solutions before posting your valuable comments.

Comments posted on Tips for Bloggers are moderated and will be approved only if they are on-topic and not abusive. Try not to include website URLs/links in your comments. You can email me : drbhatns at gmail dot com for any blogging question. Thanks,

YATOC - Yet Another Table of Contents.

Loading...
Get This Gadget at YATOC.

Table Of Contents