Textpattern CMS Template Tags

<txp:page_title /> single tag, 1 attributes

page_title

The page_title tag is a single tag that displays text depending on the context it is used. Its primary purpose is for outputting information suitable for the HTML <title> tag.

Results appear as follows:

  • Article List
    • Your site name
  • Articles by Category
    • Your site name : Category title
  • Search Results page
    • Your site name : Search results: Search term
  • Single Article page
    • Your site name : Article name
  • Comments display
    • Comments on: Article name

attributes

separator=":" 
  • The character sequence you want between each piece of information.
<txp:page_title /> 1 examples

Show page titles with custom separator

<title><txp:page_title separator=" &raquo; " /></title>