Oct 20 2007
Plugin: mg_page_title
The plugin <txp:mg_page_title /> is identical to the stock txp page_title tag, but it reverses the post name and site name on permanent link pages.
<txp:mg_page_title />
Attributes
This plugin takes the same attribute as the stock <txp:page_title /> tag:
- separator: Choose any separating character you like.
Examples
<txp:mg_page_title separator=" #8226; " />
In the above example, the output would be “Post Title • Site Name”. On all other pages, the output is the same as the stock <txp:page_title /> tag.
Notes on Usage
This tag is a simple drop in replacement for <txp:page_title />. The only difference is this: On permanent archive pages, the site name and the post title are reversed so that the post title is first (the stock txp tag places the site name first).
Credits
Written by Michael Gravel.
When I started using Textpattern 18 months ago, this was one of the first things I identified that was wrong with txp (as far as good seo) I just modded the code at the time to do what your plugin is doing. Of course this is no good for upgrading as new releases are available. This plugin is a must unless the developers actually change the code.
— Cambo Nov 17, 2007 19:57