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(6)
["posts_per_page"]=>
string(2) "15"
["numberposts"]=>
int(-1)
["default_sort"]=>
string(9) "sort_name"
["default_sort_order"]=>
string(3) "asc"
}
Args
array(9) {
["paged"]=>
int(6)
["post_type"]=>
string(6) "graves"
["posts_per_page"]=>
string(2) "15"
["numberposts"]=>
string(2) "15"
["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"
}
["time_fame"]=>
array(3) {
["key"]=>
string(13) "date_of_death"
["compare"]=>
string(4) "LIKE"
["value"]=>
string(9) "September"
}
}
["orderby"]=>
string(10) "meta_value"
["meta_key"]=>
string(9) "sort_name"
["order"]=>
string(3) "ASC"
}
Sort By
Query
string(957) "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 = 'date_of_death' AND mt3.meta_value LIKE '{536daa9aeb94c0409d171fe759fc0154f60780623fc9987f79147d963c054eb3}September{536daa9aeb94c0409d171fe759fc0154f60780623fc9987f79147d963c054eb3}' )
)
) 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 75, 15"
Additional Query Info