POST-ID:23660 array(13) { [0]=> object(WP_Term)#16850 (11) { ["term_id"]=> int(133) ["name"]=> string(11) "A cut above" ["slug"]=> string(11) "a-cut-above" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(133) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(145) "Take some care and attention when cooking with meat- whether slow-roasting a joint or flash frying a steak. Check out our favourite meat recipes." ["parent"]=> int(0) ["count"]=> int(78) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16856 (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)#16852 (11) { ["term_id"]=> int(296) ["name"]=> string(17) "Caribbean recipes" ["slug"]=> string(17) "caribbean-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(296) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(102) "Explore a variety of Caribbean recipes that bring the vibrant flavours of the islands to your kitchen." ["parent"]=> int(0) ["count"]=> int(24) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16849 (11) { ["term_id"]=> int(177) ["name"]=> string(18) "Cheap family meals" ["slug"]=> string(20) "cheap-family-suppers" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(177) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(47) "Wholesome, budget suppers for the whole family." ["parent"]=> int(0) ["count"]=> int(114) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16858 (11) { ["term_id"]=> int(345) ["name"]=> string(12) "Comfort food" ["slug"]=> string(12) "comfort-food" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(345) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(34) "Warming recipes for winter nights." ["parent"]=> int(0) ["count"]=> int(94) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16853 (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(338) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16854 (11) { ["term_id"]=> int(44) ["name"]=> string(4) "Fish" ["slug"]=> string(4) "fish" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(44) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(130) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#16765 (11) { ["term_id"]=> int(34) ["name"]=> string(12) "Friday lunch" ["slug"]=> string(12) "friday-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(34) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(98) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#16800 (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" } [9]=> object(WP_Term)#16867 (11) { ["term_id"]=> int(211) ["name"]=> string(22) "Healthy winter recipes" ["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(71) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#16834 (11) { ["term_id"]=> int(143) ["name"]=> string(14) "Hearty lunches" ["slug"]=> string(21) "healthy-lunch-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(143) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(51) "Keep your healthy eating regime on the right track." ["parent"]=> int(0) ["count"]=> int(88) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#16597 (11) { ["term_id"]=> int(902) ["name"]=> string(24) "Special occasion recipes" ["slug"]=> string(24) "special-occasion-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(902) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(175) "Mark special celebrations with something cooked from the heart – from birthday and wedding cakes, to seasonal favourites, and calendar events, create the perfect party menu." ["parent"]=> int(0) ["count"]=> int(51) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#16848 (11) { ["term_id"]=> int(904) ["name"]=> string(12) "Sunday lunch" ["slug"]=> string(12) "sunday-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(904) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(72) ["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 ( 133, 76296177345444347211143902904 ) OR rd.ingredients LIKE '%ackee%' OR rd.ingredients LIKE '% ackee fruit%' OR rd.ingredients LIKE '% Jamaican recipes%' OR rd.ingredients LIKE '% salted cod%' OR rd.ingredients LIKE '% saltfish%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 23660 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16