The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom title tags
#1
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...
Reply


Messages In This Thread
Custom title tags - by Carlos - 2011-05-03, 01:48:22
Custom title tags - by ccagle8 - 2011-06-12, 23:08:23
Custom title tags - by ePirat - 2011-10-23, 21:31:45
Custom title tags - by Carlos - 2011-12-17, 21:30:20



Users browsing this thread: 3 Guest(s)