POST-ID:41558
array(6) {
[0]=>
object(WP_Term)#16064 (11) {
["term_id"]=>
int(61)
["name"]=>
string(15) "60 minute bakes"
["slug"]=>
string(15) "60-minute-bakes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(61)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(41) "These quick bakes are fuss-free yet fancy"
["parent"]=>
int(0)
["count"]=>
int(52)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#16098 (11) {
["term_id"]=>
int(76)
["name"]=>
string(15) "Alfresco dining"
["slug"]=>
string(15) "alfresco-dining"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(76)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(142) "Celebrate the sunshine and treat yourself to an al fresco feast with picnic staples like pies and quiche, barbecue mains or sharing mocktails."
["parent"]=>
int(0)
["count"]=>
int(31)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16183 (11) {
["term_id"]=>
int(118)
["name"]=>
string(16) "All-time classic"
["slug"]=>
string(16) "all-time-classic"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(118)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(61) "Our selection of recipes that will surely sate your appetite."
["parent"]=>
int(0)
["count"]=>
int(77)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16144 (11) {
["term_id"]=>
int(386)
["name"]=>
string(11) "Easy baking"
["slug"]=>
string(11) "easy-baking"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(386)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(47) "Simple cakes, cupcakes, traybakes and biscuits."
["parent"]=>
int(0)
["count"]=>
int(149)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#16103 (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(318)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#16161 (11) {
["term_id"]=>
int(14057)
["name"]=>
string(17) "Pork chop recipes"
["slug"]=>
string(17) "pork-chop-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(14057)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(153) "Oven-roasted, pan-fried, sizzled or seared, we've compiled a variety of ways to serve deliciously tender pork chops, from posh plates to everyday feasts."
["parent"]=>
int(0)
["count"]=>
int(13)
["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 ( 61, 76118386414057 ) OR rd.ingredients LIKE '%Honey%' OR rd.ingredients LIKE '% New potatoes%' OR rd.ingredients LIKE '% Pork%' OR rd.ingredients LIKE '% Pork chops%' OR rd.ingredients LIKE '% Wholegrain mustard%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 41558 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16