Themes Documentation
This page explains how to use Publr custom themes. Template tags can be used to display specific parts of your blog. You can put your own custom css anywhere in your theme.
Variables
{blog_name} |
Display the name of your blog. If you haven't given it a name, it will show up as (your usename)'s blog. |
| {blog_url} | Displays the url to the homepage of our blog. If you are using a custom url, the domain you have specified will be used. |
{feed} |
Display the url of your blog's rss feed. |
{archive} |
Display the url to an archive of all of your posts. |
{prev_nav} ... {/prev_nav} |
Block that surrounds previous url navigation. |
{next_nav} ... {/next_nav} |
Block that surrounds previous url navigation. |
{prev_nav_url} ... {/prev_url} |
Displays the url to the previous page of posts, if available. |
{next_nav_url} ... {/next_url} |
Displays the url to the next page of posts, if available. |
Filters
{posts} ... {/posts} |
This filter surrounds all other filters. All block filters should go inside this filter. |
Text Posts
For displaying text posts.
{text} ... {/text} |
Block filter that displays text posts. |
{created} |
Displays the date that the post was created |
{title} |
Displays the title of the post, if set. |
{body} |
Displays the body of the post. |
Video Posts
For displaying videos.
{video} ... {/video} |
Block filter that displays video posts |
{created} |
Displays the date the post was created |
{title} |
Displays the title of the video, if set. |
{description} |
Displays the video description, if set. |
{video} |
Displays the video |
{original_file}...{/original_file} |
Block for displaying the original file for download. The {filename} tag displays the name of the original video that was uploaded. The {url} tag displays full url of the original video that was uploaded. eg: {original_file} <a href="{url}">{filename}</a> {/original_file} |
Audio Posts
For displaying audio posts.
{audio}...{/audio} |
Block filter that displays audio posts. |
{created} |
Displays the date the audio was posted. |
{title} |
Displays the title, if set. |
{description} |
Displays the description, if set. |
{audio} |
Displays the flash audio player. |
Link Posts
{link}...{/link} |
HTML surrounding a link post. |
{created} |
Displays the date that the post was created. |
{title} |
Displays the title of the link |
{description} |
Displays the link description, if set. |
{url} |
Displays the link url. |
Chat Posts
For displaying chat posts.
{chat}...{/chat} |
Block filter that displays a chat post. |
{created} |
Displays the date the chat was posted. | {title} |
Displays the title of the chat, if set. |
{chat} |
Displays the chat dialogue. |
Quote Posts
For displaying quotes.
{quote}...{/quote} |
Block filter for displaying quote posts. |
{created} |
Displays the date the post was created |
{quote} |
Displays the quote. |
{source} |
Dispalys the quote source, if set. |
Photo Posts
Note: Photo dimensions are not always exact. When resized, they will never exceed the width or height listed below.
| {photo}...{/photo} | Block filter for displaying photo posts. |
{title} |
Displays the title of the photo, if set. |
{description} |
Displays the description of the photo, if set. |
{created} |
Displays the date the post was created. |
| {thumb} | Displays the url of the (100x75) size photo. |
| {small} | Displays the url of the (240x180) size photo. |
| {medium} | Displays the url of the (500x375) size photo. |
| {large} | Displays the url of the (1024x768) size photo. |
| {original} | Displays the url of the original size photo. |