This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Gerhard Lazu (author)
Tue Apr 15 04:55:55 -0700 2008
| name | age | message | |
|---|---|---|---|
| |
.gitmodules | Tue Apr 08 20:14:05 -0700 2008 | [Gerhard Lazu] |
| |
README.txt | Tue Apr 15 05:01:22 -0700 2008 | [Gerhard Lazu] |
| |
glz_title-0.2.gz.txt | Tue Apr 15 05:01:22 -0700 2008 | [Gerhard Lazu] |
| |
glz_title.php | Tue Apr 15 05:01:22 -0700 2008 | [Gerhard Lazu] |
| |
glz_title_raw.php | Tue Apr 15 05:01:22 -0700 2008 | [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.



