This tag will be replaced with anything you write into the custom field named "FieldName".
====== Attributes ======
=====name="fieldname"=====
Display specified custom field.
=====default="value"=====
Default value to use when field is empty.
=====escape="html"=====
Escape HTML entities prior to echoing the field contents.
====== Examples ======
=====Book Reviews =====
You might, for example, publish book reviews for which you add the author, the title of the book, the publishing company and the year of publication.
With:
* a custom field named "Author" containing "J.R.R. Tolkien"
* a custom field named "Title" containing "The Lord of the Rings"
* a custom field named "Publisher" containing "HarperCollins"
* a custom field named "Year" containing "2004"
and an article form like the following:
:
Published by in .
(X)HTML returned would be:
J.R.R. Tolkien: The Lord of the Rings
Published by HarperCollins in 2004.
=====Power A Linklog =====
With an article title of "Textpattern", an excerpt of "Textpattern is awesome.", a custom field named "Link" containing "http://textpattern.com/", and an article form like the following:
(X)HTML returned would be:
Other tags used: <[[txp:posted /]]>, <[[txp:title /]]>
=====Escaping (X)HTML output =====
With a custom field named "foo" containing:
<a href="../here/">
using the following:
(X)HTML returned would be:
<a href="../here/">