POST-ID:32101 array(11) { [0]=> object(WP_Term)#16847 (11) { ["term_id"]=> int(118) ["name"]=> string(16) "All-time classic" ["slug"]=> string(16) "all-time-classic" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(118) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(61) "Our selection of recipes that will surely sate your appetite." ["parent"]=> int(0) ["count"]=> int(77) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16844 (11) { ["term_id"]=> int(58) ["name"]=> string(31) "Delicious desserts for hot days" ["slug"]=> string(11) "hot-weather" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(58) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(52) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#16853 (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(221) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16848 (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(39) "Discover the best summer meals" ["parent"]=> int(0) ["count"]=> int(203) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16849 (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(82) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16778 (11) { ["term_id"]=> int(389) ["name"]=> string(11) "Fruity cake" ["slug"]=> string(11) "fruity-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(389) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(36) "Cakes bursting with fruity flavours." ["parent"]=> int(0) ["count"]=> int(51) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16743 (11) { ["term_id"]=> int(33) ["name"]=> string(5) "Party" ["slug"]=> string(10) "party-food" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(33) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(124) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#16862 (11) { ["term_id"]=> int(144) ["name"]=> string(26) "Sharing-style dinner party" ["slug"]=> string(26) "sharing-style-dinner-party" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(144) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(105) "Spend less time at the stove-top and more time entertaining, with these easy-to-make dinner party dishes." ["parent"]=> int(0) ["count"]=> int(138) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#16829 (11) { ["term_id"]=> int(402) ["name"]=> string(11) "Summer cake" ["slug"]=> string(11) "summer-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(402) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(73) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16589 (11) { ["term_id"]=> int(51) ["name"]=> string(14) "Summer dessert" ["slug"]=> string(14) "summer-dessert" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(51) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(24) "Recipes to beat the heat" ["parent"]=> int(0) ["count"]=> int(102) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#16845 (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(99) ["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 ( 118, 5889549453893314440251896 ) OR rd.ingredients LIKE '%Dessert%' OR rd.ingredients LIKE '% Family dessert%' OR rd.ingredients LIKE '% Fruity summer pudding%' OR rd.ingredients LIKE '% Jubilee recipes%' OR rd.ingredients LIKE '% Summer dessert%' OR rd.ingredients LIKE '% Summer entertaining%' OR rd.ingredients LIKE '% Trifle%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 32101 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16