Posts

recent posts parameters
  • title
  • subtitle - none widget-mode subtitle
  • index_button_text - blog index button text
  • limit
  • thumbnail_class - custom thumbnail class
  • type - widget type - simple; image;
  • widget_show_excerpt - widget show excerpt, optional summary or description of a post in sidebar or footer. (use the <!--widget_more--> tag in the post content) - show; hide;
  • class - custom class
  • animation - chapter animation effect
  • 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
[sourcecode language=”html”][recent_posts limit="3" title="From our blog" subtitle="Fresh news and updates" index_button_text="View all posts"][/sourcecode]