POST-ID:29497
array(11) {
[0]=>
object(WP_Term)#15801 (11) {
["term_id"]=>
int(415)
["name"]=>
string(7) "Chicken"
["slug"]=>
string(7) "chicken"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(415)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(100)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#15799 (11) {
["term_id"]=>
int(92)
["name"]=>
string(16) "Christmas dinner"
["slug"]=>
string(16) "christmas-dinner"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(92)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(90)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#15803 (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)#15804 (11) {
["term_id"]=>
int(196)
["name"]=>
string(15) "Healthier roast"
["slug"]=>
string(15) "healthier-roast"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(196)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(22) "Better-for-you roasts."
["parent"]=>
int(0)
["count"]=>
int(27)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#15808 (11) {
["term_id"]=>
int(198)
["name"]=>
string(15) "Healthy chicken"
["slug"]=>
string(15) "healthy-chicken"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(198)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(35) "Diet-friendly ways to cook chicken."
["parent"]=>
int(0)
["count"]=>
int(53)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#15748 (11) {
["term_id"]=>
int(8)
["name"]=>
string(13) "Healthy roast"
["slug"]=>
string(13) "healthy-roast"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(8)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(22) "Better-for-you roasts."
["parent"]=>
int(0)
["count"]=>
int(23)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#15747 (11) {
["term_id"]=>
int(100)
["name"]=>
string(6) "Roasts"
["slug"]=>
string(6) "roasts"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(100)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(57)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#15823 (11) {
["term_id"]=>
int(144)
["name"]=>
string(26) "Sharing-style dinner party"
["slug"]=>
string(26) "sharing-style-dinner-party"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(144)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(105) "Spend less time at the stove-top and more time entertaining, with these easy-to-make dinner party dishes."
["parent"]=>
int(0)
["count"]=>
int(135)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[8]=>
object(WP_Term)#15831 (11) {
["term_id"]=>
int(145)
["name"]=>
string(31) "Winner, winner, chicken dinner!"
["slug"]=>
string(28) "winner-winner-chicken-dinner"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(145)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(108) "Tired of the same old chicken dishes? Try something different with your chicken - we have plenty of options!"
["parent"]=>
int(0)
["count"]=>
int(56)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[9]=>
object(WP_Term)#15758 (11) {
["term_id"]=>
int(54)
["name"]=>
string(13) "Winter Roasts"
["slug"]=>
string(13) "winter-roasts"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(54)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(32)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[10]=>
object(WP_Term)#15802 (11) {
["term_id"]=>
int(192)
["name"]=>
string(17) "World Chicken Day"
["slug"]=>
string(17) "world-chicken-day"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(192)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(53)
["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 ( 415, 92895196198810014414554192 ) OR rd.ingredients LIKE '%Chorizo%' OR rd.ingredients LIKE '% Garlic%' OR rd.ingredients LIKE '% nduja%' OR rd.ingredients LIKE '% Roast chicken%' OR rd.ingredients LIKE '% Whole chicken%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 29497 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16