April 24, 2007

How Do I Change Title Bar

I want to include the post title in the individual archive pages, not just the blog title. Anyone have some quick and easy code for me to use in MT 2.64?

Posted by Greg at April 24, 2007 10:21 PM | TrackBack
Comments
#1

I'm assuming you already found the answer, as when I read your permalinked entries, the post title is already there?

Paul

Posted by Light & Dark at April 24, 2007 11:59 PM
#2

No -- I mean the title bar at the top of the browser window -- so that instead of reading, for example, "Rhymes With Right -- Mozilla Firefox" it reads instead "Rhymes With Right - Post Title Here"

Posted by Rhymes With Right at April 25, 2007 02:21 AM
#3

Aha! Sorry Greg, didn't catch what you were asking.

You need to go into your individual archive template in the MT interface (the Templates link is in the side navigation bar) and up near the top of the template's code, you'll see a line that looks like:

<title><$MTBlogName$></title>
Replace that line with:
<title><$MTBlogName$> - <$MTEntryTitle$></title>
Note that you can use whatever separator you wish between the blog title and post title - in this case I've used a dash.

Once you've made the substitution, you'll click Save at the bottom of the template editing page, then you'll need to click the Rebuild link in the side navigation, and use the dropdown arrow to ask it to Rebuild individual archives only. Then you'll be set.

Any questions, holler back.

Paul

Posted by Light & Dark at April 25, 2007 03:21 AM
Live Comment Preview
Post a comment









Remember personal info?