2011-05-03, 01:48:22
Custom Title Tags:
An imaginary plugin for SEO and all that.
Usage:
Copy customtitletags.php to your plugins folder.
Set your favourite value for:
- Sitewide page title tag (default: "%pagetitle% - %sitename%")
(in Setup, or in the Pages sidebar)
You can also define custom title tags for a specific page (overriding the site default) in the editor options -> Custom title tag (empty for default)
You can use the following variables:
%sitename% Name of the website (as defined in GetSimple setup)
%pagetitle% Title of the current page (as defined in the editor - the one display in the page body)
%parenttitle% Title of the parent's page
...
Then edit your template file(s) file and replace the whole <title>...</title> line by this:
.......
This plugin does not exist (and AFAIK there isn't one that does this). I have it on my mind but never find the time to do it (will do someday if no one does something equivalent before...)
Don't know if Chris would like to have something like this in the core...
An imaginary plugin for SEO and all that.
Usage:
Copy customtitletags.php to your plugins folder.
Set your favourite value for:
- Sitewide page title tag (default: "%pagetitle% - %sitename%")
(in Setup, or in the Pages sidebar)
You can also define custom title tags for a specific page (overriding the site default) in the editor options -> Custom title tag (empty for default)
You can use the following variables:
%sitename% Name of the website (as defined in GetSimple setup)
%pagetitle% Title of the current page (as defined in the editor - the one display in the page body)
%parenttitle% Title of the parent's page
...
Then edit your template file(s) file and replace the whole <title>...</title> line by this:
Code:
<title><?php get_custom_title_tag(); ?></title>
.......
This plugin does not exist (and AFAIK there isn't one that does this). I have it on my mind but never find the time to do it (will do someday if no one does something equivalent before...)
Don't know if Chris would like to have something like this in the core...