Version: 1.5
Author: ePirat
Date: 2022.12.30
Category: Style&Design
More on: GetSimple CMS
More on: GitHub
More on: Support Forum
Download...
Plugin CUSTOM TITLE
Description:
This plugin allows you to change the default title tag
Installation:
Download the plugin, extract it from the zip archive and copy custom_title.php to your plugins folder. Then edit your template file(s) file and replace the whole <code><title>…</title></code> with
<code><title><?php echo(get_custom_title_tag()); ?></title></code>
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
%menutitle% Title of the current page's menu item (if it has one)
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)
Changelog
V1.5
Fix typo in
V1.4
Rewrote nearly the entire plugin
Hopefully fixed various issues with escaping and magic quotes
Removed modification of $POST variable which could lead to serious problems
V1.3
Fixed bud which allowed html code in title tag, which could cause unexpected behavior
Fixed issue which escaped quotes with a lot of backslashes on systems where magicquotes are enabled
Added support for special characters (öüä…)
V1.2
Fixed styling issue with the custom title input form in page settings
Fixed issue in the options page of the plugin
V1.1
Fixed that you couldn't set custom title for any page
V1.0
First Version