| Page Template Tags | Description |
|---|---|
| {$site_name} | Name of site. This can be changed under Site Settings. |
| {$site_description} | About this site. This can be changed under Site Settings. |
| {$page_head} | RSS, CSS, and Favicon for your site. To be placed inside the <head> </head> tag |
| {$page_title} | Title of the current page. To be placed inside the <title> </title> tag |
| {$page_post} | This returns 1 if you are on a post page. |
| {$page_post_next} | Next or older post. |
| {$page_post_previous} | Previous or newer post. |
| {$page_tag} | This returns 1 if you are on a tag or category page. |
| {$page_current_page} | Current page. |
| {$page_total_pages} | Total pages. |
| {$page_total_items} | Total Items. |
| {$page_next_page} | Next page number. |
| {$page_previous_page} | Previous page number. |
| {$page_content} | Content of the current page. |
| {$page_sidebar} | Sidebar |
| {$page_sidebar2} | Sidebar |
| {$page_navigation} | Navigation to pages |
| {$search_form} | Site search form. |
| {$site_follow} | Follow this site link. |
| {$page_footer} | Footer information with copyright and OnSugar. |
| Post Template Tags | Description |
|---|---|
| {$post_title} | Title of the post. |
| {$post_content} | Body of the post. |
| {$post_permalink} | Full url to the post. |
| {$post_date} | Date of post. For example: Mon, 06/01/2006 - 8:21pm |
| {$post_date_unix} | Date of post in unix timestamp format. For example: 1149207660 |
| {$post_date_time_ago} | Time as it relates to now. For example: 3 hours ago. |
| {$post_id} | Id of the post. |
| {$post_num} | Number of the post in the stream of news |
| {$post_source} | Source of the post. Quote post type only. |
| {$post_link_url} | Link from the post. Link post type only. |
| {$post_type} | The type of post. There are 11 types: text, gallery, spread, poll, quiz, quote, link, chat, video, audio, definition |
| {$post_page} | This returns 1 if you are on a post page. |
| {$post_image_url_original} | Original image URL for this post if exists. |
| {$post_image_url_1024} | Image URL for this post if exists no wider than 1024 pixels. |
| {$post_image_url_550} | Image URL for this post if exists no wider than 1024 pixels. |
| {$post_image_url_500} | Image URL for this post if exists no wider than 500 pixels. |
| {$post_image_url_320} | Image URL for this post if exists no wider than 320 pixels. |
| {$post_image_url_240} | Image URL for this post if exists no wider than 240 pixels. |
| {$post_image_url_160} | Image URL for this post if exists no wider than 160 pixels. |
| {$post_image_url_100} | Image URL for this post if exists no wider than 100 pixels. |
| {$post_image_url_80} | Image URL for this post if exists no wider than 80 pixels. |
| {$post_tags} | Tags that the post has been given. This can be edited under Advanced Options on new/edit pages. |
| {$post_share} | Share Code |
| {$post_yahoo} | Share Code |
| {$post_categories} | Categories that the post has been given. This can be edited under Advanced Options on new/edit pages. |
| {$post_published} | This returns a 1 if the post is published |
| {$post_totalcount} | Number of page views for {$post_permalink}. |
| {$post_author} | Link to the post's author's profile page. |
| {$post_author_photo_xlarge} | Author's photo 320x320. |
| {$post_author_photo_large} | Author's photo 160x160. |
| {$post_author_photo} | Author's photo 80x80. |
| {$post_author_photo_small} | Author's photo 40x40. |
| {$post_author_photo_tiny} | Author's photo 16x16. |
| {$post_edit} | Edit link for privileged authors. |
| {$post_comments} | Number of comments for post. |
| {$post_comments_new_link} | Number of comments for post. |
| {$post_navigation} | Previous and next links on post page. |
| {$post_previous} | URL for previous or newer post. |
| {$post_previous_title} | Text for previous or newer post. |
| {$post_next} | URL for next or older post. |
| {$post_next_title} | URL for next or older post. |
| Comment Template Tag | Description |
|---|---|
| {$comment_id} | Comment's unique id |
| {$comment_num} | Number of the comment in the stream of comments |
| {$comment_author} | Link to commenter's profile page. |
| {$comment_content} | Body of comment. |
| {$comment_date} | Date comment was made. For example: Mon, 06/01/2006 - 8:29pm |
| {$comment_date_unix} | Date of post in unix timestamp format. For example: 1149208140 |
| {$comment_new} | Returns new if the comment is new since reader's last visit. |
| {$comment_author_photo} | Commenter's photo 80x80. |
| {$comment_author_photo_small} | Commenter's photo 40x40. |
| {$comment_author_photo_tiny} | Commenter's photo 16x16. |