Textpattern CMS Template Tags

<txp:meta_author /> single tag, 1 attributes

meta_author

Used in the head of an individual article page template, the meta_author tag is a single tag. Textpattern will replace this tag with an HTML meta tag as follows:

<meta name="author" content="Article author's name" />

attributes

title="0" (boolean) 
  • Whether to display the author’s login name or real name
  • Values: 0 (login name), or 1 (real name).

genealogy

Version 4.3.0

  • title attribute added
<txp:meta_author /> 1 examples

Use article author for meta tag content

Article’s author name: sysop

Tag: In the head of an individual article page:

<txp:meta_author /> 

Output:

<meta name="author" content="sysop" />