Posts

Post

Post Standard Two

Sed et augue tellus. Integer sapien sapien, vulputate et porta sit amet, iaculis non lacus

February 21, 2013 3 comments
[sourcecode language=”html”][post id="..."][/sourcecode]
parameters
  • id - post
  • imgsrc - image, ex. http://www.google.com
  • comments - number of comments
  • date
  • title
  • summary
  • link
  • 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

Posts

Hello world!

August 09 1 comment

Post Standard Two

Sed et augue tellus. Integer sapien sapien, vulputate et porta sit amet, iaculis non lacus

February 21 3 comments
[sourcecode language=”html”][posts limit="2" columns="2"][/sourcecode]
parameters
  • columns - number of columns - 4; 3; 2;
  • limit - set query limit
  • 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

Simple posts

Hello world!

August 09, 2022, by createitdev

Post Standard Two

Sed et augue tellus. Integer sapien sapien, vulputate et porta sit amet, iaculis non lacus

February 21, 2013, by admin1

Post Standard One

Maecenas volutpat est at risus convallis pulvinar lobortis purus elementum.

February 21, 2013, by admin1
[sourcecode language=”html”][simple_posts][/sourcecode]
parameters
  • header - header text
  • limit
  • 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
Back to top