1 minute read

Recent posts in columns


  • number_of_columns – set number of posts/columns showing on the list, exemplary values: “2”, “3”, “4” etc..
  • thumbnail – show excerpt, exemplary values: “yes” or “no”.
  • headline – show headline, exemplary values: “yes” or “no”.
  • meta – show meta, exemplary values: “yes” or “no”.
  • excerpt – disable or enable excerpt, exemplary values: “yes” or “no”.
  • excerpt_words – set the length of excerpt , exemplary value: “30”.
  • strip_html – strip html tags from excerpt field, exemplary values: “yes” or “no”.
  • category_name – show posts from choosen categories, exemplary values (category slug): “art”, “art,business”.

Exemplary usage:

[recent_posts_in_columns number_of_columns="3" thumbnail="yes" headline="yes" meta="yes" excerpt="yes" excerpt_words="30" strip_html="yes" category_name="" read_more="yes" translate_read_more=""]

See also demo of recent posts in columns. In full download package (Dummy data/shortcodes-pages/recent-projects.html) you can find the file with shortcodes we used to create demo page.

Did you know...

You can use “recent posts in columns” element in drag and drop website builder (Visual Composer) and customize this element easily without coding skills. Parameters and design options are the same as in shortcode.