POST-ID:14240 array(14) { [0]=> object(WP_Term)#15591 (11) { ["term_id"]=> int(75) ["name"]=> string(9) "Eid feast" ["slug"]=> string(11) "eid-cooking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(75) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(84) "Traditional Arabic delicacies to enjoy cooking and serving up over the long weekend!" ["parent"]=> int(0) ["count"]=> int(121) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#15594 (11) { ["term_id"]=> int(48) ["name"]=> string(17) "Grains and pulses" ["slug"]=> string(13) "grains-pulses" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(48) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(29) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#15590 (11) { ["term_id"]=> int(197) ["name"]=> string(7) "Healthy" ["slug"]=> string(7) "healthy" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(197) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(52) "Packed with the good stuff to get you feeling great." ["parent"]=> int(0) ["count"]=> int(159) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#15601 (11) { ["term_id"]=> int(7) ["name"]=> string(13) "Healthy lunch" ["slug"]=> string(13) "healthy-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(7) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(51) "Keep your healthy eating regime on the right track." ["parent"]=> int(0) ["count"]=> int(159) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#15589 (11) { ["term_id"]=> int(208) ["name"]=> string(14) "Healthy summer" ["slug"]=> string(14) "healthy-summer" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(208) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(35) "BBQ, picnic and al fresco feasting." ["parent"]=> int(0) ["count"]=> int(100) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#15598 (11) { ["term_id"]=> int(12532) ["name"]=> string(5) "Iftar" ["slug"]=> string(5) "iftar" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(12532) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(28) "A selection of Iftar recipes" ["parent"]=> int(0) ["count"]=> int(78) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#15593 (11) { ["term_id"]=> int(11) ["name"]=> string(9) "Meat free" ["slug"]=> string(5) "vegan" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(11) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(54) "Mouthwatering dishes made without any animal products." ["parent"]=> int(0) ["count"]=> int(55) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#15592 (11) { ["term_id"]=> int(414) ["name"]=> string(14) "Middle Eastern" ["slug"]=> string(14) "middle-eastern" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(414) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(69) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#15492 (11) { ["term_id"]=> int(120) ["name"]=> string(17) "Modern vegetarian" ["slug"]=> string(17) "modern-vegetarian" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(120) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(35) "Veggie recipes for the whole family" ["parent"]=> int(0) ["count"]=> int(151) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16373 (11) { ["term_id"]=> int(12531) ["name"]=> string(7) "Ramadan" ["slug"]=> string(7) "ramadan" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(12531) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(159) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#15611 (11) { ["term_id"]=> int(42) ["name"]=> string(15) "Ramadan cooking" ["slug"]=> string(15) "ramadan-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(42) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(115) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#15573 (11) { ["term_id"]=> int(154) ["name"]=> string(13) "Summer salads" ["slug"]=> string(13) "summer-salads" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(154) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(99) "These light, refreshing and nutritious salads are perfect for tucking into during the hotter months" ["parent"]=> int(0) ["count"]=> int(113) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#15509 (11) { ["term_id"]=> int(413) ["name"]=> string(10) "Vegetarian" ["slug"]=> string(10) "vegetarian" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(413) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(43) "Meat-free recipes for entertaining and more" ["parent"]=> int(0) ["count"]=> int(555) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#15587 (11) { ["term_id"]=> int(14) ["name"]=> string(16) "Vegetarian salad" ["slug"]=> string(16) "vegetarian-salad" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(14) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(43) "Stylish and substantial main course salads." ["parent"]=> int(0) ["count"]=> int(95) ["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 ( 75, 4819772081253211414120125314215441314 )) AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 14240 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16