query.get_posts

/ Database / query.get_posts

It retrieves a list of recent posts or posts matching this criteria

Parameters supported : name, posts_per_page, offset, category, category_name, orderby, order, include, exclude, meta_key, meta_value, post_type, post_mime_type, post_parent, author, post_status, suppress_filters

It returns: WP posts array

Syntax:

[query.get_posts args=”{template.args}”/]

Example:

Categories
Most Popular

Leave a Reply

Your email address will not be published. Required fields are marked *