Created
October 17, 2012 05:16
-
-
Save ericpedia/3903820 to your computer and use it in GitHub Desktop.
Relevanssi issue - returns zero results in custom query - print_r( $wp_query )
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WP_Query Object | |
( | |
[query_vars] => Array | |
( | |
[post_type] => any | |
[posts_per_page] => 5 | |
[s] => test | |
[error] => | |
[m] => 0 | |
[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_name] => | |
[feed] => | |
[tb] => | |
[paged] => 0 | |
[comments_popup] => | |
[meta_key] => | |
[meta_value] => | |
[preview] => | |
[sentence] => | |
[fields] => | |
[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 | |
( | |
) | |
[ignore_sticky_posts] => | |
[suppress_filters] => | |
[cache_results] => 1 | |
[update_post_term_cache] => 1 | |
[update_post_meta_cache] => 1 | |
[nopaging] => | |
[comments_per_page] => 50 | |
[no_found_rows] => | |
[search_terms] => Array | |
( | |
[0] => test | |
) | |
[order] => DESC | |
) | |
[tax_query] => WP_Tax_Query Object | |
( | |
[queries] => Array | |
( | |
) | |
[relation] => AND | |
) | |
[meta_query] => WP_Meta_Query Object | |
( | |
[queries] => Array | |
( | |
) | |
[relation] => | |
) | |
[post_count] => 0 | |
[current_post] => -1 | |
[in_the_loop] => | |
[comment_count] => 0 | |
[current_comment] => -1 | |
[found_posts] => 0 | |
[max_num_pages] => 0 | |
[max_num_comment_pages] => 0 | |
[is_single] => | |
[is_preview] => | |
[is_page] => | |
[is_archive] => | |
[is_date] => | |
[is_year] => | |
[is_month] => | |
[is_day] => | |
[is_time] => | |
[is_author] => | |
[is_category] => | |
[is_tag] => | |
[is_tax] => | |
[is_search] => 1 | |
[is_feed] => | |
[is_comment_feed] => | |
[is_trackback] => | |
[is_home] => | |
[is_404] => | |
[is_comments_popup] => | |
[is_paged] => | |
[is_admin] => | |
[is_attachment] => | |
[is_singular] => | |
[is_robots] => | |
[is_posts_page] => | |
[is_post_type_archive] => | |
[query_vars_hash] => 5b138dec9189fab7e0e7c0fde2e158c1 | |
[query_vars_changed] => | |
[thumbnails_cached] => | |
[query] => Array | |
( | |
[post_type] => any | |
[posts_per_page] => 5 | |
[s] => test | |
) | |
[request] => SELECT * FROM www3_posts WHERE 1=2 | |
[posts] => Array | |
( | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment