Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-10-21 21:34:25

wakemans
New Member
Registered: 2004-11-20
Posts: 3

Put article title into page title

At the moment all my HTML pages have the same title
<title>Simon Wakeman – Marketing and Public Relations // Training Services // Internet Consultancy</title>

I’d like to have

<title>Simon Wakeman – TEXTPATTERN ARTICLE TITLE HERE – Marketing and Public Relations // Training Services // Internet Consultancy</title>

so each page has the title of the article in the page title

Anyone know how I can do this?

cheers
simon

Offline

#2 2005-10-21 21:49:12

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Put article title into page title

so each page has the title of the article in the page title

That’s how it is in the default template.

If you want to change it back, make sure that in the “head”-part of your html you have this:

<code><title><txp:page_title /></title></code>

page_title returns “name of site + title of article”.

Offline

#3 2005-10-21 22:41:34

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Put article title into page title

And if you want to customize it further, you can make use of a plugin like ob1_title, and possibly some conditional tags.

Offline

Board footer

Powered by FluxBB