POST-ID:21114
array(7) {
[0]=>
object(WP_Term)#6393 (11) {
["term_id"]=>
int(169)
["name"]=>
string(16) "200-400 calories"
["slug"]=>
string(16) "200-400-calories"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(169)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(35) "Our favourite low calorie dishes..."
["parent"]=>
int(0)
["count"]=>
int(155)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#6287 (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(91) "Light loaves, drizzled icing and fluffy sponges, these quick cakes are fuss-free yet fancy."
["parent"]=>
int(0)
["count"]=>
int(40)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#6286 (11) {
["term_id"]=>
int(406)
["name"]=>
string(9) "Chocolate"
["slug"]=>
string(9) "chocolate"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(406)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(236)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#6285 (11) {
["term_id"]=>
int(380)
["name"]=>
string(16) "Chocolate baking"
["slug"]=>
string(16) "chocolate-baking"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(380)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(37) "Biscuits, brownies, fondants and pies"
["parent"]=>
int(0)
["count"]=>
int(64)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#6284 (11) {
["term_id"]=>
int(357)
["name"]=>
string(17) "Chocolate dessert"
["slug"]=>
string(17) "chocolate-dessert"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(357)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(72) "Celebrate all things cocoa with our tart, cake, pudding and pie recipes."
["parent"]=>
int(0)
["count"]=>
int(55)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#6301 (11) {
["term_id"]=>
int(298)
["name"]=>
string(6) "French"
["slug"]=>
string(6) "french"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(298)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(60) "Gallic-style recipes from pâtés to ratatouille."
["parent"]=>
int(0)
["count"]=>
int(30)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#6303 (11) {
["term_id"]=>
int(77)
["name"]=>
string(14) "French recipes"
["slug"]=>
string(14) "french-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(77)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(22)
["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 ( 169, 6140638035729877 ) OR rd.ingredients LIKE '%Baking%' OR rd.ingredients LIKE '% Breakfast%' OR rd.ingredients LIKE '% Brunch%' OR rd.ingredients LIKE '% Pain au chocolate%' OR rd.ingredients LIKE '% Sharing food%' OR rd.ingredients LIKE '% tear and share loaf%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 21114 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16