Saturday, September 23, 2006

Putting The Post URL In The Title

This tweak isn't necessary in Blogger Beta - it's already there. That was a bit of a pleasant surprise, when I tested my first Beta blog. Why is it necessary here? I'll explore that question later.

For right now, let's focus on making this work. It's a pretty simple change. You have to edit the template, so start by backing the template up.

Now, go into the template editor, and find
<h3 class="post-title">
<BlogItemUrl><a href="<$BlogItemUrl$>" title="external link"></BlogItemUrl>
<$BlogItemTitle$>
<BlogItemUrl></a></BlogItemUrl>
</h3>

and replace that with
<h3 class="post-title">
<a href="<$BlogItemPermalinkUrl$>" title="permanent link">
<$BlogItemTitle$>
</a>
</h3>

Save, then Publish. Simple enough?

>> Top

2 comments:

Mary said...

Yes, quite simple! Thanks!

jen elslager said...

I can't thank you enough!!! I've been trying to find out how to do that for a year!