POST-ID:23375 array(12) { [0]=> object(WP_Term)#13091 (11) { ["term_id"]=> int(235) ["name"]=> string(14) "Budget recipes" ["slug"]=> string(6) "budget" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(235) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(66) "Cheaper recipes and frugal bites to save you money in the kitchen." ["parent"]=> int(0) ["count"]=> int(117) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#13090 (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(167) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#13089 (11) { ["term_id"]=> int(32) ["name"]=> string(17) "Easy entertaining" ["slug"]=> string(17) "easy-entertaining" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(32) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(221) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#12344 (11) { ["term_id"]=> int(49) ["name"]=> string(11) "Easy summer" ["slug"]=> string(11) "easy-summer" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(49) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(150) "Discover the best healthy summer meal ideas using seasonal ingredients. Try our nutritious recipes including meat, fish, vegetarian and vegan options." ["parent"]=> int(0) ["count"]=> int(159) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#12345 (11) { ["term_id"]=> int(359) ["name"]=> string(27) "Food to get you in the mood" ["slug"]=> string(27) "food-to-get-you-in-the-mood" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(359) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(36) "Recipes to make you feel romantic..." ["parent"]=> int(0) ["count"]=> int(35) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#12158 (11) { ["term_id"]=> int(45) ["name"]=> string(5) "Fruit" ["slug"]=> string(5) "fruit" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(45) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(64) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#12295 (11) { ["term_id"]=> int(370) ["name"]=> string(12) "Mother's Day" ["slug"]=> string(11) "mothers-day" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(370) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(26) "Recipes to treat your mum." ["parent"]=> int(0) ["count"]=> int(54) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#12343 (11) { ["term_id"]=> int(905) ["name"]=> string(6) "Picnic" ["slug"]=> string(6) "picnic" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(905) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(27) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#12380 (11) { ["term_id"]=> int(50) ["name"]=> string(12) "Summer drink" ["slug"]=> string(12) "summer-drink" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(50) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(108) "Quench your thirst with these refreshing summer drinks including fruity punch and gin cocktails, cordials..." ["parent"]=> int(0) ["count"]=> int(53) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#12340 (11) { ["term_id"]=> int(412) ["name"]=> string(16) "under-20-minutes" ["slug"]=> string(16) "under-20-minutes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(412) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(41) "Speedy recipes perfect for midweek meals." ["parent"]=> int(0) ["count"]=> int(34) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#12294 (11) { ["term_id"]=> int(27) ["name"]=> string(15) "Valentine's Day" ["slug"]=> string(14) "valentines-day" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(27) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(51) "Food of love - romantic recipes for the special day" ["parent"]=> int(0) ["count"]=> int(104) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#13087 (11) { ["term_id"]=> int(896) ["name"]=> string(7) "Weekend" ["slug"]=> string(7) "weekend" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(896) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(97) ["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 ( 235, 8953249359453709055041227896 ) OR rd.ingredients LIKE '%Cocktail%' OR rd.ingredients LIKE '% Diabolo grenadine%' OR rd.ingredients LIKE '% Grenadine%' OR rd.ingredients LIKE '% Mocktail%' OR rd.ingredients LIKE '% Pomegranate juice%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 23375 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16