(→Code Documentation) |
(→Code Documentation) |
||
(8 intermediate revisions by 7 users not shown) | |||
Line 9: | Line 9: | ||
===Code Documentation=== | ===Code Documentation=== | ||
* Class: [[Class_Reference/WP_Query | WP_Query]] - Detailed Overview of class WP_Query | * Class: [[Class_Reference/WP_Query | WP_Query]] - Detailed Overview of class WP_Query | ||
+ | * Class: [[Class_Reference/WP_Comment_Query | WP_Comment_Query]] - Class for comment-related queries | ||
+ | * Class: [[Class_Reference/WP_User_Query | WP_User_Query]] - Class for user-related queries | ||
* Object: [[Class Reference/wpdb | $wpdb]] - Overview on the use of the $wpdb object | * Object: [[Class Reference/wpdb | $wpdb]] - Overview on the use of the $wpdb object | ||
+ | * Function: [[Function_Reference/set_query_var | set_query_var()]] | ||
* Function: [[Function_Reference/get_query_var | get_query_var()]] | * Function: [[Function_Reference/get_query_var | get_query_var()]] | ||
* Function: [[Function_Reference/query_posts | query_posts()]] - Create additional custom query | * Function: [[Function_Reference/query_posts | query_posts()]] - Create additional custom query | ||
Line 15: | Line 18: | ||
* Function: [[Function_Reference/get_posts | get_posts()]] - A specialized function that returns an array of items | * Function: [[Function_Reference/get_posts | get_posts()]] - A specialized function that returns an array of items | ||
* Function: [[Function_Reference/get_pages | get_pages()]] - A specialized function that returns an array of pages | * Function: [[Function_Reference/get_pages | get_pages()]] - A specialized function that returns an array of pages | ||
− | * Function: [[Function Reference/have_posts | | + | * Function: [[Function Reference/have_posts | have_posts()]] - A condition that determines whether the query returned an article |
* Function: [[Function Reference/the_post | the_post()]] - Used to automatically set the loop after a query | * Function: [[Function Reference/the_post | the_post()]] - Used to automatically set the loop after a query | ||
* Function: [[Function_Reference/rewind_posts | rewind_posts()]] - Clears the current loop | * Function: [[Function_Reference/rewind_posts | rewind_posts()]] - Clears the current loop |