Posts

The posts block allows you to list posts from any custom post type. You can use layouts like the video demo sample, or you can create your own templates using Better Builder Template but place the template files inside a betterbuilder/templates/custom-post folder in your theme or child theme.”.

With the Posts shortcode, you can set the post type, taxonomy, category(s), author(s), order, posts per page, animation, slider, and many other options.

SHORTCODE OPTIONS

post_type
Select list of custom post type you want to display.
taxonomy
Post type taxonomy, this only works if your custom post type has custom taxonomy created.
categories
By default, all categories will be shown.
include_post_ids
Comma delimited list of post IDs for a set list of posts that you want to show. Leave blank to not limit posts shown.
posts_per_page
Enter a number (default will be the value you have set in your settings)
post_count
Enter a number to limit the number of posts shown (leave blank for all to be shown)
display_post_date
Disable if you want to hide the date of the post, Default (true)
display_post_excerpt
Enable if you want to hide the post excerpt, Default (false)
display_post_author
Enable if you want to hide the post excerpt, Default (false)
display_post_link
Display Read more Link, Enable if you want to hide the post excerpt, Default (false)
path
Place the template files inside a betterbuilder/templates/custom-post folder in your theme or child theme.
shadow
Show/Hide shadow on every post item, Default true.
columns
Number of columns each post items, Default 3
align
Align or Width available options: ‘center, wide, full’
order
Designates the ascending or descending order of the ‘orderby’ parameter. Defaults to ‘DESC’. An array can be used for multiple order/orderby sets.
orderby
Sort retrieved posts by parameter. Defaults to ‘date (post_date)’. One or more options can be passed. ‘id, author, title, date, menu_order, modified, rand, comment_count’
display_post_image
When disable, the post image will be hidden. Default true
image_size
Post image size options: ‘better-post-grid-480×480, better-post-grid-370×250, better-post-grid-370×560’
read_more_text
Customize Read More Text
show_filter
Post Filter allows you to filter through your post categories and custom taxonomies by enabling this option on the top of the post items.
filter_type
Type of available filter ‘static, ajax’
filter_all_text
Customize filter all display text. Default (Show All)
exclude_categories
Select categories that you do not want to show.
exclude_post_ids
Comma delimited list of post IDs that you do not want to show.
pagination
Select type of animation ‘loadmore, infinite’.
animation
Select animation type from available options: ‘fade-in, move-up, move-down, move-left, move-right, scale-up, fall-perspective, fly, flip, helix, pop-up’. Default (move-up)
[better_posts post_type="post" taxonomy="category" posts_per_page="6" path="grid-with-caption" columns="3" image_size="better-post-grid-480x480"]