Displays a list of posts
Options
- start - Start offset for pagination, default 0
- limit - Number of posts to display, default 4
- page - Page number, the number of pages is the total number of posts divided by limit
- language_id - Language id for name and content, default is current language
- site_id - Site id to show posts for, default is current site
- type - Custom post type, default is 'post'
- order_by - Order by, allowed: 'post_id', 'admin_id', 'sort_order', 'parent', 'type', 'created_at', 'updated_at', 'slug', 'name' (anything else is ignored)
- direction - Order direction, allowed: 'asc', 'desc' (lowercase)
- taxonomy_item_id - Filter by taxonomy,
- taxonomy_item_slug - Filter by taxonomy slug
- taxonomy / categories / tags - Filter by taxonomy or category/tag slugs
- post_id - Filter by post_id can be a single value or a comma delimited list eg: 1,2,3
- search - Filter posts by name or description that contain the search term
- username - Filter by author by providing author username eg: admin
- admin_id - Filter posts by author admin_id
- month / year - Filter posts by archive month/year
- excerpt_limit - Character limit for auto-generated excerpts, default 200
- image_size - Post image size ('xlarge', 'large', 'medium', 'thumb'), default 'medium'
- date_format - Date format for post creation date, value can be a php date format https://www.php.net/manual/en/function.date.php or human for human friendly date.
- sticky - Include sticky posts
Properties
- Post - data-v-post - repeatable element for each post to display
- └── name - data-v-post-name - Post name
- └── content - data-v-post-content - Post content
- └── price - data-v-post-price - Post price
- └── image - data-v-post-image - Post image
- └── images - data-v-post-images - Post gallery
- └── url - data-v-post-url - Post url
