query.get_pages

/ Database / query.get_pages

This function returns an array of pages that are in the blog, optionally constrained by parameters

Parameters supported : sort_order, sort_column, hierarchical, exclude, include, meta_key, meta_value, authors, child_of, parent, exclude_tree, number, offset, post_type, post_status

It returns: An array containing all the Pages matching the request, or false on failure.

Syntax:

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

Example:

Categories
Most Popular

Leave a Reply

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