(NOTE: You can access all the shortcodes via the shortcodes icon on your visual editor. See this document if you need more information.)
The blog shortcode allows you to pull in blog posts and display them in a number of styles. Here's a quick example of a grid style layout.
The very latest version 4.9 of WordPress, named “Tipton” [...]
Here's a look at some settings. Simply choose which you like, such as layout type, which category to show, etc.
Here's an example of the shortcode above.
[blog number_posts="3" cat_slug="wordpress" exclude_cats="" title="yes" title_link="yes" thumbnail="yes" excerpt="yes" excerpt_length="10" meta_all="no" meta_author="no" meta_categories="no" meta_comments="yes" meta_date="yes" meta_link="yes" meta_tags="yes" paging="yes" scrolling="pagination" strip_html="yes" blog_grid_columns="3" layout="grid" class="" id=""][/blog]
- number_posts = a numerical value to state how many posts are wanted per page, example is 4. may also be -1 which means all posts will be displayed on a single page
- cat_slug = the name of the category slug to include (not including this will show posts from all categories)
- exclude_cats = names of categories to exclude
- title = yes or no (to show the title or not)
- thumbnail = yes or no
- excerpt = yes or no
- excerpt_length = a numerical value for number of words to include in the excerpt, for example: 10
- meta_all = yes or no, whether to show all the meta information or not (author, category, etc.)
- meta_author = yes or no, whether to show the author or no
- meta_categories = yes or no, whether to shot the categories or not
- meta_comments = yes or no, whether to show number of comments or not
- meta_date = yes or no, whether to show date or not
- meta_link = yes or no
- meta_tags = yes or no
- paging = yes or no
- scrolling = pagination or infinite
- strip_html = yes or no
- layout = use one of these values: medium, medium alternate, large, large alternate, grid, timeline