GetSimple Support Forum

Full Version: Custom title tags
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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:

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...
i think its a necessary feature for SEO pruposes, but not sure it should be added to the core - based on expected low general population usage. I do think that if you were to develop this plugin, i would use it on all my GS powered sites though...
I've made a plugin which does what you explained: Support forum post and Plugin Page
ePirat Wrote:I've made a plugin which does what you explained: Support forum post and Plugin Page

Great! Thanks.