Custom Title

Downloads: 6313
Category: Plugin
Compatible with: GetSimple 3.3 - 3.3

Last Updated: May 10, 2019
Tags: custom title seo
Author: ePirat
Author Website: https://epir.at
Support: Support Forum

(4.3) 20 Votes

Plugin Description:

This plugin allows you to change the default title tag, 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 <label> tag

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

Install Instructions:

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>

Archived Versions:

These are old versions of this file. Please use with caution as they are probably out of date and no longer supported. ShowHide