POST-ID:22132
array(8) {
[0]=>
object(WP_Term)#15799 (11) {
["term_id"]=>
int(31)
["name"]=>
string(9) "Big match"
["slug"]=>
string(9) "big-match"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(31)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(43)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#15803 (11) {
["term_id"]=>
int(68)
["name"]=>
string(6) "Buffet"
["slug"]=>
string(6) "buffet"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(68)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(32)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#15720 (11) {
["term_id"]=>
int(895)
["name"]=>
string(12) "Dinner party"
["slug"]=>
string(12) "dinner-party"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(895)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(201)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16592 (11) {
["term_id"]=>
int(4)
["name"]=>
string(11) "Family meal"
["slug"]=>
string(11) "family-meal"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(4)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(58) "Something for all the family from tuna balls to spaghetti."
["parent"]=>
int(0)
["count"]=>
int(292)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#15818 (11) {
["term_id"]=>
int(43)
["name"]=>
string(4) "Meat"
["slug"]=>
string(4) "meat"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(43)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(62)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#15826 (11) {
["term_id"]=>
int(322)
["name"]=>
string(8) "Meatball"
["slug"]=>
string(8) "meatball"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(322)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(65) "Most cuisines have their very own version of these meaty patties."
["parent"]=>
int(0)
["count"]=>
int(37)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#15721 (11) {
["term_id"]=>
int(419)
["name"]=>
string(11) "Movie night"
["slug"]=>
string(11) "movie-night"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(419)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(17)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#15794 (11) {
["term_id"]=>
int(33)
["name"]=>
string(5) "Party"
["slug"]=>
string(10) "party-food"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(33)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(111)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
}
SELECT p.ID, p.post_title, rd.recipe_data_ref_id, rd.photo_file_name, rd.photo_src, rd.skill_level FROM bbc20may18_posts p LEFT JOIN bbc20may18_term_relationships tr ON (p.ID = tr.object_id) LEFT JOIN bbc20may18_recipes_data rd ON (p.ID = rd.recipe_post_id) WHERE (tr.term_taxonomy_id IN ( 31, 6889544332241933 ) OR rd.ingredients LIKE '%Cheese%' OR rd.ingredients LIKE '% Kids party%' OR rd.ingredients LIKE '% Meatballs%' OR rd.ingredients LIKE '% Party%' OR rd.ingredients LIKE '% sliders%' OR rd.ingredients LIKE '% Tomato%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 22132 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16