POST-ID:6853 array(10) { [0]=> object(WP_Term)#16266 (11) { ["term_id"]=> int(276) ["name"]=> string(26) "Christmas recovery recipes" ["slug"]=> string(18) "christmas-recovery" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(276) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(47) "Healthy pick-me-ups to beat the festive excess." ["parent"]=> int(0) ["count"]=> int(44) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16265 (11) { ["term_id"]=> int(170) ["name"]=> string(12) "Clean eating" ["slug"]=> string(20) "clean-eating-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(170) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(95) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#16264 (11) { ["term_id"]=> int(137) ["name"]=> string(21) "Clever ways with Kale" ["slug"]=> string(21) "clever-ways-with-kale" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(137) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(105) "This super-green leaf is packed with goodness. Serve it on the side or worked into a savoury main course." ["parent"]=> int(0) ["count"]=> int(11) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16269 (11) { ["term_id"]=> int(37) ["name"]=> string(10) "Dairy free" ["slug"]=> string(10) "dairy-free" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(37) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(52) "Easy recipes for when you’re cutting out dairy" ["parent"]=> int(0) ["count"]=> int(55) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16163 (11) { ["term_id"]=> int(174) ["name"]=> string(16) "Dairy-free lunch" ["slug"]=> string(16) "dairy-free-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(174) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(43) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#17044 (11) { ["term_id"]=> int(147) ["name"]=> string(19) "Get your five-a-day" ["slug"]=> string(19) "get-your-five-a-day" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(147) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(67) "Increase your intake of fruit and veg with these delicious recipes." ["parent"]=> int(0) ["count"]=> int(9) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16282 (11) { ["term_id"]=> int(199) ["name"]=> string(20) "Healthy dinner party" ["slug"]=> string(20) "healthy-dinner-party" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(199) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(45) "Guilt-free options for the conscientious host" ["parent"]=> int(0) ["count"]=> int(120) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#16245 (11) { ["term_id"]=> int(207) ["name"]=> string(12) "Healthy soup" ["slug"]=> string(12) "healthy-soup" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(207) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(33) "Comfort food without the calories" ["parent"]=> int(0) ["count"]=> int(42) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#16180 (11) { ["term_id"]=> int(211) ["name"]=> string(14) "Healthy winter" ["slug"]=> string(14) "healthy-winter" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(211) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(54) "Healthy and hearty winter warmers for colder nights..." ["parent"]=> int(0) ["count"]=> int(70) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16272 (11) { ["term_id"]=> int(342) ["name"]=> string(4) "kale" ["slug"]=> string(4) "kale" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(342) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(38) ["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 ( 276, 17013737174147199207211342 )) AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 6853 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16