Listed below are the available methods and properties for post chalk extensions.
Custom(string key) – Returns the custom field for the given key.
#foreach($post in $posts)
The value of my custom field is $post.Custom("MyCustomFieldName")
#end
#foreach($post in $posts)
The value of my custom field is $post.Custom("MyCustomFieldName")
#end
Excerpt(string, string, string, int) – Returns the Post excerpt. If a PostBody exists, it will be used. If not, it returns the first 300 none-HTML characters.
CustomExcerpt(int len) – Returns the first len none-HTML characters of the PostBody property.
FetchPostsByTag(string tagName) – Returns a collection of posts for a given tag. This is a special call since tagName is not available on the post query.
FetchByColumn(DataBuddy.Column, System.Object) – Fetches an instance of Post based on a single column value. If more than one record is found, only the first will be used.
CreateQuery – Creates an instance of Query for the type Post.