secret

Another Working WordPress 3.7 Query

  • Download Gist
gistfile1.php
PHP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
<?php
WP_Query::__set_state(array(
'query' => array(
's' => 'c:c w:0',
) ,
'query_vars' => array(
's' => ' ',
'error' => '',
'm' => '',
'p' => 0,
'post_parent' => '',
'subpost' => '',
'subpost_id' => '',
'attachment' => '',
'attachment_id' => 0,
'name' => '',
'static' => '',
'pagename' => '',
'page_id' => 0,
'second' => '',
'minute' => '',
'hour' => '',
'day' => 0,
'monthnum' => 0,
'year' => 0,
'w' => 0,
'category_name' => '',
'tag' => '',
'cat' => '',
'tag_id' => '',
'author' => '',
'author_name' => '',
'feed' => '',
'tb' => '',
'paged' => 0,
'comments_popup' => '',
'meta_key' => 'release_date_unix',
'meta_value' => '',
'preview' => '',
'sentence' => '',
'fields' => '',
'menu_order' => '',
'category__in' => array() ,
'category__not_in' => array() ,
'category__and' => array() ,
'post__in' => array() ,
'post__not_in' => array() ,
'tag__in' => array() ,
'tag__not_in' => array() ,
'tag__and' => array() ,
'tag_slug__in' => array() ,
'tag_slug__and' => array() ,
'post_parent__in' => array() ,
'post_parent__not_in' => array() ,
'author__in' => array() ,
'author__not_in' => array() ,
'posts_per_page' => '20',
'orderby' => 'meta_value_num',
'order' => 'DESC',
'q' => 'c:c w:0',
'post_type' => 'pkmn_card',
'meta_query' => NULL,
'tax_query' => array(
0 => array(
'taxonomy' => 'pkmn_color',
'field' => 'slug',
'terms' => array(
0 => 'colorless',
) ,
'operator' => 'IN',
) ,
1 => array(
'taxonomy' => 'pkmn_type',
'field' => 'slug',
'terms' => 'pokemon',
) ,
2 => array(
'taxonomy' => 'pkmn_weakness',
'field' => 'slug',
'terms' => array(
0 => 'grass',
1 => 'fire',
2 => 'water',
3 => 'lightning',
4 => 'psychic',
5 => 'fighting',
6 => 'darkness',
7 => 'metal',
8 => 'dragon',
9 => 'fairy',
10 => 'colorless',
) ,
'include_children' => false,
'operator' => 'NOT IN',
) ,
) ,
) ,
'tax_query' => WP_Tax_Query::__set_state(array(
'queries' => array() ,
'relation' => 'AND',
)) ,
'meta_query' => false,
'date_query' => false,
'post_count' => 0,
'current_post' => - 1,
'in_the_loop' => false,
'comment_count' => 0,
'current_comment' => - 1,
'found_posts' => 0,
'max_num_pages' => 0,
'max_num_comment_pages' => 0,
'is_single' => false,
'is_preview' => false,
'is_page' => false,
'is_archive' => false,
'is_date' => false,
'is_year' => false,
'is_month' => false,
'is_day' => false,
'is_time' => false,
'is_author' => false,
'is_category' => false,
'is_tag' => false,
'is_tax' => false,
'is_search' => true,
'is_feed' => false,
'is_comment_feed' => false,
'is_trackback' => false,
'is_home' => false,
'is_404' => false,
'is_comments_popup' => false,
'is_paged' => false,
'is_admin' => false,
'is_attachment' => false,
'is_singular' => false,
'is_robots' => false,
'is_posts_page' => false,
'is_post_type_archive' => false,
'query_vars_hash' => '1d084e9c3c1451bf8e139daf8425c905',
'query_vars_changed' => false,
'thumbnails_cached' => false,
'stopwords' => NULL,
))

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.