public
Description: This is a Textpattern plugin for SEO friendly titles.
Homepage: http://gerhardlazu.com
Clone URL: git://github.com/gerhard/glz_title.git
Search Repo:
name age message
folder .gitmodules Tue Apr 08 20:14:05 -0700 2008 Written the plugin in a single go (I have been ... [Gerhard Lazu]
folder README.txt Tue Apr 15 05:01:22 -0700 2008 * added a title_format attribute that lets user... [Gerhard Lazu]
folder glz_title-0.2.gz.txt Tue Apr 15 05:01:22 -0700 2008 * added a title_format attribute that lets user... [Gerhard Lazu]
folder glz_title.php Tue Apr 15 05:01:22 -0700 2008 * added a title_format attribute that lets user... [Gerhard Lazu]
folder glz_title_raw.php Tue Apr 15 05:01:22 -0700 2008 * added a title_format attribute that lets user... [Gerhard Lazu]
README.txt
glz_title, SEO friendly page titles


== Requirements ==

* minimum TXP 4 (TXP 4.0.6 recommended)
* without glz_custom_fields you will need to write 2 of the functions I'm relying on...


== Usage ==

<txp:glz_title title_format="{page_title}. {site_slogan} - {sitename}" />

Put the above in the head of your page, preferably straight after <head>.
It formats the title according to the *title_format*. Default is Article title. Site slogan - Sitename.

The interesting part is that this little plugin fetches the title of the article in a list that has one of the 
categories set to Section-Article. If under a section we have multiple articles, but one of them we want to use as 
master, all we have to do is assign it a Category of "Section-Article". Obviously, you need to create this category 
first.

Oh, and if there is a 404 error, title will show Sitename - error message.


== Improvements ==

If you want to improve on this plugin, by all means, fork it and make it yours :). This plugin has been originally 
posted on Github (http://github.com/gerhard/glz_title/tree/master). Git (http://git.or.cz) is a lovely little thing.