[wp-docs] Template Tags without pages

Kaf Oseo kaf at szub.net
Thu Mar 10 03:21:27 GMT 2005

Now that's something to work with. Thanks, Ryan.


Ryan Boren wrote:
> Look through WP_Query::get_posts() in classes.php and make a list of
> everything in $q[].  Those are the query vars.  Then we need to note the
> type, allowed values, and default value for each query var.  Here's a
> quick start.
> Name: posts_per_page
> Description: The number of posts to display per page.
> Type: integer
> Allowed values:  -1 and greater (-1 turns off paging, displaying all
> posts).
> Default: posts_per_page db option
> Name: name
> Description:  A sanitized post title
> Type: string
> Allowed values: Any post name in the db
> Default: none
> Name: p
> Description: A post ID
> Type: integer
> Allowed values: Any post ID in the DB
> Default: none
> ...
> How about we get a list of all the query vars started in Codex and then
> begin filling in the details for each.  The collected data can then be
> used to generate something more readable.
> Ryan

More information about the wp-docs mailing list