array(1) {
[0]=>
string(156) "Grave of Mark Sandman. Mark Sandman was born on September 24, 1952 and died in Giardini del Principe, Palestrina, Italy due to Heart attack on July 3, 1999."
}
array(1) {
[0]=>
string(174) "Grave of Bunk Johnson. Bunk Johnson was born on December 27, 1885 and died in 638 Franklin Street, New Iberia, Louisiana due to Lingering effects of a stroke on July 7, 1949."
}
Default Args
array(5) {
["paged"]=>
int(11)
["posts_per_page"]=>
string(2) "20"
["numberposts"]=>
int(-1)
["default_sort"]=>
string(9) "sort_name"
["default_sort_order"]=>
string(3) "asc"
}
Args
array(9) {
["paged"]=>
int(11)
["post_type"]=>
string(6) "graves"
["posts_per_page"]=>
string(2) "20"
["numberposts"]=>
string(2) "20"
["post_status"]=>
array(3) {
[0]=>
string(7) "publish"
[1]=>
string(7) "pending"
[2]=>
string(5) "draft"
}
["meta_query"]=>
array(5) {
["relation"]=>
string(3) "AND"
["query_acfs"]=>
array(1) {
["relation"]=>
string(2) "OR"
}
["query_post_status"]=>
array(3) {
["key"]=>
string(11) "post_status"
["compare"]=>
string(1) "="
["value"]=>
string(9) "Published"
}
["query_sort_name"]=>
array(2) {
["key"]=>
string(9) "sort_name"
["compare"]=>
string(6) "EXISTS"
}
["query_claim_to_fame"]=>
array(4) {
["key"]=>
string(13) "claim_to_fame"
["value"]=>
string(13) "Show Business"
["compare"]=>
string(1) "="
["type"]=>
string(4) "CHAR"
}
}
["orderby"]=>
string(10) "meta_value"
["meta_key"]=>
string(9) "sort_name"
["order"]=>
string(3) "ASC"
}
Sort By
Query
string(827) "SELECT SQL_CALC_FOUND_ROWS wp_posts.ID
FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) INNER JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) INNER JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) INNER JOIN wp_postmeta AS mt3 ON ( wp_posts.ID = mt3.post_id )
WHERE 1=1 AND (
wp_postmeta.meta_key = 'sort_name'
AND
(
( mt1.meta_key = 'post_status' AND mt1.meta_value = 'Published' )
AND
mt2.meta_key = 'sort_name'
AND
( mt3.meta_key = 'claim_to_fame' AND mt3.meta_value = 'Show Business' )
)
) AND wp_posts.post_type = 'graves' AND ((wp_posts.post_status = 'publish' OR wp_posts.post_status = 'draft' OR wp_posts.post_status = 'pending'))
GROUP BY wp_posts.ID
ORDER BY wp_postmeta.meta_value ASC
LIMIT 200, 20"
Additional Query Info