Category: Article tags
Textpattern documentation within the category ‘Article tags’:
-
Article
The context-sensitive article tag is used to output one or more articles.
-
Article custom
The article_custom tag provides a variety of custom options for sorting, selecting, and displaying articles.
-
Article id
The article_id tag returns the numeric ID of the article being displayed.
-
Article image
The article_image tag is used to create an img HTML tag matching the numeric ID or URL assigned when the article is posted.
-
Article url title
The article_url_title tag returns the dumbed-down 'URL title' of the article being displayed.
-
Author
The author tag is a single tag that is used to return the name of the author of the currently displayed article.
-
Author email
The author_email tag is used to return the email address of the author of the currently displayed article.
-
Authors
The authors tag is used to gather a list of authors designated within the Textpattern Users panel.
-
Body
The body tag is used to return the text, or content, of the article being displayed (the article itself).
-
Category1
The category1 tag will display the category as defined by 'Category 1' in the article being displayed.
-
Category2
The category2 tag will display the category as defined by 'Category 2' in the article being displayed.
-
Custom field
The custom_field tag is used to display the contents of a custom field.
-
Excerpt
The excerpt tag is used to return the excerpt text, if any, associated with the article being displayed.
-
Expires
The expires tag is used to indicate when an article should no longer appear in a site, particularly when the information is date sensitive.
-
If article author
The if_article_author tag will execute the contained statement if the author name associated with a particular article matches.
-
If article category
The if_article_category tag will execute the contained statement if the category name associated with a particular article matches.
-
If article id
The if_article_id tag will execute the contained statement if the article id associated with a particular article matches.
-
If article image
The if_article_image tag will execute the contained statements if an image is associated with the article being displayed.
-
If article list
The if_article_list tag will execute the contained statement if an article list is being displayed.
-
If article section
The if_article_section tag will execute the contained statements if the section name associated with a particular article matches.
-
If author
The if_author tag will execute the contained statement if the called page is the result of an article search by a specific author's name.
-
If custom field
The if_custom_field tag will execute the contained statements if custom fields for a given article have content.
-
If description
The if_description tag will execute the contained statement if the current article/section/category's 'Description' field has an entry.
-
If excerpt
The if_excerpt tag will execute the contained statements if an excerpt is associated with the article being displayed.
-
If expired
The if_expired tag will execute the contained statements, if a particular article is expired.
-
If expires
The if_expires tag will execute the contained statements, if a particular article has an expiry date set.
-
If first article
The if_first_article tag will execute the contained statements if the displayed article is the first in the list.
-
If individual article
The if_individual_article tag will execute the contained statements if an individual article is being displayed.
-
If keywords
The if_keywords tag will execute the contained statement if the current article's 'Keywords' field has one or more entries.
-
If last article
The if_last_article tag will execute the contained statements if the displayed article is the last in the list.
-
Meta author
The meta_author tag is a single tag, used in the head of an individual article page template.
-
Meta description
The meta_description tag is a single tag used in a variety of ways to display meta description content.
-
Meta keywords
The meta_keywords tag is a single tag used in a variety of ways to display keyword data.
-
Modified
The modified tag is a single tag which is used to return the modification date of the article being displayed.
-
Next title
The next_title tag is a single tag which Textpattern will replace with the title of the next article in the sort order.
-
Permlink
The permlink can be used as a single tag or a container tag to return the permanent URL of the article being displayed.
-
Posted
The posted tag is a single tag which is used to return the publication date of the article being displayed.
-
Prev title
The prev_title tag is a single tag which Textpattern will replace with the title of the previous article in the sort order.
-
Recent articles
The recent_articles tag is a single tag which is used to produce a list of permanent links to recent articles by title.
-
Related articles
The related_articles tag is used to produce a list of related (by category) articles.
-
Title
The title tag is a single tag which is used to return the title of the article being displayed.
If you notice any kind of problem with this page's construction or content (outdated information, typos, broken links, or whatever), open an issue to have it sorted. Or have a go at it yourself. :)