POSTS
Single / recent post
[sourcecode language=”html”]
[recent_post]
[/sourcecode]
[recent_post]
[/sourcecode]
recent_post parameters
- date - show date? - yes; no;
- categories - show categories? - yes; no;
- postauthor - author, show author? - yes; no;
- image - show image? - yes; no;
- summary - show excerpt? - yes; no;
- readmore - show read more button? - yes; no;
- catslabel - categories label
- authorlabel
- morelabel - read more label
- order - order in which data should be fetched - asc; desc;
- orderby - order in which data should be fetched - date; ID; author; title; name; modified; parent; rand; menu_order;
- id - post id
- notids - exclude post id
- slug - post slug, filter by slug
- post_parent - post parent id, filter by parent id
- cat - categories ids, comma separated values: 2,3,5. to exclude catgories use '-' minus: -2 will exclude category 2
- cat_name - category name, name of category to filter
- tag - tag name (slug), comma separated values: tag1,tag2 to exclude tags use '-' minus: -mytag will exclude tag 'mytag'
- s - keyword search, show item with certain keyword
[sourcecode language=”html”]
[post id="111"]
[/sourcecode]
[post id="111"]
[/sourcecode]
post parameters
- id - post
- date - show date? - yes; no;
- categories - show categories? - yes; no;
- author - show author? - yes; no;
- image - show image? - yes; no;
- summary - show excerpt? - yes; no;
- desc - content, show full content? - yes; no;
- readmore - show read more button? - yes; no;
- catslabel - categories label
- authorlabel
- morelabel - read more label
- order - order in which data should be fetched - asc; desc;
- orderby - order in which data should be fetched - date; ID; author; title; name; modified; parent; rand; menu_order;
- notids - exclude post id
- slug - post slug, filter by slug
- post_parent - post parent id, filter by parent id
- cat - categories ids, comma separated values: 2,3,5. to exclude catgories use '-' minus: -2 will exclude category 2
- cat_name - category name, name of category to filter
- tag - tag name (slug), comma separated values: tag1,tag2 to exclude tags use '-' minus: -mytag will exclude tag 'mytag'
- s - keyword search, show item with certain keyword
Recent posts
[sourcecode language=”html”]
[recent_posts limit="2"]
[/sourcecode]
[recent_posts limit="2"]
[/sourcecode]
parameters
- header
- limit - number of posts
- commentslabel
- skip - skip x elements, allows to skip x elements from collection
- order - order in which data should be fetched - asc; desc;
- orderby - order in which data should be fetched - date; ID; author; title; name; modified; parent; rand; menu_order;
- id - post id
- notids - exclude post id
- slug - post slug, filter by slug
- post_parent - post parent id, filter by parent id
- cat - categories ids, comma separated values: 2,3,5. to exclude catgories use '-' minus: -2 will exclude category 2
- cat_name - category name, name of category to filter
- tag - tag name (slug), comma separated values: tag1,tag2 to exclude tags use '-' minus: -mytag will exclude tag 'mytag'
- s - keyword search, show item with certain keyword
Featured posts
Weekly Special
Dont miss them!18-12-2012Post number two
Nunc diam eros, vestibulum eget commodo non, egestas et urna.
Read More18-12-2012Post number one
Suspendisse quis diam ante, id congue enim. Donec sed ante metus. Aliquam felis ante, convallis sed tristique vitae, suscipit id tellus. Praesent sollicitudin scelerisque interdum.
Read More
[sourcecode language=”html”]
[featured_posts header="Weekly Special"
subheader="Dont miss them!" limit="2"
tag="featured"]
[/sourcecode]
[featured_posts header="Weekly Special"
subheader="Dont miss them!" limit="2"
tag="featured"]
[/sourcecode]
parameters
- header - header text
- subheader - subheader text
- limit - number of posts
- morelabel - read more label
- fullpost - use post content rather than excerpt
- skip - skip x elements, allows to skip x elements from collection
- order - order in which data should be fetched - asc; desc;
- orderby - order in which data should be fetched - date; ID; author; title; name; modified; parent; rand; menu_order;
- id - post id
- notids - exclude post id
- slug - post slug, filter by slug
- post_parent - post parent id, filter by parent id
- cat - categories ids, comma separated values: 2,3,5. to exclude catgories use '-' minus: -2 will exclude category 2
- cat_name - category name, name of category to filter
- tag - tag name (slug), comma separated values: tag1,tag2 to exclude tags use '-' minus: -mytag will exclude tag 'mytag'
- s - keyword search, show item with certain keyword
Add a comment