"article" Template Variables, Loops, and Template Files

Previous page  First page  Next page

Variables

 

allow_comments

A boolean variable that is true if comments are allowed for the article.

 

allow_trackbacks

A boolean variable that is true if trackbacks are allowed for this article.

 

article_breadcrumbs

A boolean variable that is true if there is a previous or next article in the current category.

 

author

A string variable containing the name of the article's author.

 

author_url

A string variable containing the name of the article's author.

 

body

A string variable containing the body of the article.

 

can_post

A boolean variable that is true if the reader is allowed to post a comment in reply to this article.

 

excerpt

A string variable containing the excerpt of the article.

 

next_article.title

A string variable containing the title of the article in the current category that comes chronologically after this one.

 

next_article.url

A string variable containing the URL of the individual page for the article in the current category that comes chronologically after this one.

 

num_comments

An integer variable containing the number of comments posted in response to the article.

 

num_trackbacks

An integer variable containing the number of trackbacks for this article.

 

permalink_url

A string variable containing the URL to the "permalink page" or "individual page" for this article.

 

post_reply_url

A string variable containing the URL to the "comment page" for this article.

 

prev_article.title

A string variable containing the title of the article in the current category that comes chronologically before this one.

 

prev_article.url

A string variable containing the URL of the individual page for the article in the current category that comes chronologically after this one.

 

publish_time

A string variable containing the time when the article was published using the 12-hour clock.

 

publish_time.24hour

A string variable containing the hour when the article was published using the 24-hour clock.

 

publish_time.ampm

A string variable containing "AM" if the article was posted between 00:00 and 11:59 inclusive and "PM" if the article was posted between 12:00 and 23:59 inclusive.

 

publish_time.day

A string variable containing the day of the month when the article was published.

 

publish_time.day_name

A string variable containing the name of the day of the week when the article was published.

 

publish_time.day_name_short

A string variable containing the abbreviated name of the month when the article was published.

 

publish_time.hour

A string variable containing the hour when the article was published using the 12-hour clock.

 

publish_time.min

A string variable containing the minute when the article was published.

 

publish_time.month

A string variable containing the number of the month when the article was published.

 

publish_time.month_name

A string variable containing the name of the month when the article was published.

 

publish_time.month_name_short

A string variable containing the abbreviated name of the month when the article was published.

 

publish_time.sec

A string variable containing the second when the article was published.

 

publish_time.year

A string variable containing the year when the article was published.

 

publish_time.zone

A string variable containing the standardized abbreviation for the timezone set for the article.

 

restricted

A boolean variable that is true if the article was posted into a restricted category.

 

title

A string variable containing the title of the article.

 

trackback_rdf

A string variable containing trackback RDF information.

 

trackback_url

A string variable containing the trackback URL for the article.

 

view_url

A string variable containing the URL for this article.

 

 

Loops

 

article.categories

A loop that iterates through all the categories under which the article was posted.

 

breadcrumb

A loop that iterates through all the categories from the Main Page down to the article's category.

 

 

Template Files

 

comments.html

The template file that displays all the comments posted in response to the article.

 

post_comment_inline.html

The template file that displays a Post Comment form.

 

trackbacks.html

The template file that displays all the trackbacks for the article.