POST-ID:27398 array(26) { [0]=> object(WP_Term)#16215 (11) { ["term_id"]=> int(169) ["name"]=> string(16) "200-400 calories" ["slug"]=> string(16) "200-400-calories" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(169) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(147) "Low in calories yet super-satisfying – these lighter recipes make the most of delicious ingredients. Discover salads, stir-fries, stews and more." ["parent"]=> int(0) ["count"]=> int(298) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16216 (11) { ["term_id"]=> int(5) ["name"]=> string(17) "Cheap and healthy" ["slug"]=> string(17) "cheap-and-healthy" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(5) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(55) "Trying to be healthy on a budget has never been easier." ["parent"]=> int(0) ["count"]=> int(81) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#16217 (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(211) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16218 (11) { ["term_id"]=> int(409) ["name"]=> string(4) "Easy" ["slug"]=> string(4) "easy" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(409) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(55) "Keep it easy with these simple but super-tasty recipes." ["parent"]=> int(0) ["count"]=> int(531) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16219 (11) { ["term_id"]=> int(410) ["name"]=> string(19) "Easy but impressive" ["slug"]=> string(15) "easy-impressive" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(410) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(30) "Less stress, more seduction..." ["parent"]=> int(0) ["count"]=> int(304) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16220 (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(245) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16221 (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" } [7]=> object(WP_Term)#16222 (11) { ["term_id"]=> int(86) ["name"]=> string(9) "Halloween" ["slug"]=> string(10) "hallowoeen" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(86) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(48) "Scary cookies, sweets and dinners for Halloween." ["parent"]=> int(0) ["count"]=> int(45) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#16223 (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(160) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16224 (11) { ["term_id"]=> int(22) ["name"]=> string(12) "Healthy kids" ["slug"]=> string(12) "healthy-kids" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(22) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(58) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#16225 (11) { ["term_id"]=> int(209) ["name"]=> string(13) "Healthy treat" ["slug"]=> string(13) "healthy-treat" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(209) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(35) "Lighter choices for naughty treats." ["parent"]=> int(0) ["count"]=> int(35) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#16226 (11) { ["term_id"]=> int(97) ["name"]=> string(14) "Healthy treats" ["slug"]=> string(14) "healthy-treats" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(97) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(102) "You don't have to go without - just opt for these lighter choices for your favourite indulgences!" ["parent"]=> int(0) ["count"]=> int(25) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#16233 (11) { ["term_id"]=> int(210) ["name"]=> string(18) "Healthy vegetarian" ["slug"]=> string(18) "healthy-vegetarian" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(210) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(31) "Diet-friendly meat-free feasts." ["parent"]=> int(0) ["count"]=> int(184) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#16228 (11) { ["term_id"]=> int(179) ["name"]=> string(11) "Kids' party" ["slug"]=> string(10) "kids-party" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(179) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(65) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#16230 (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(152) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#16232 (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(117) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [16]=> object(WP_Term)#16227 (11) { ["term_id"]=> int(30) ["name"]=> string(17) "Quick and healthy" ["slug"]=> string(17) "quick-and-healthy" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(30) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(98) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#16236 (11) { ["term_id"]=> int(162) ["name"]=> string(14) "Quick canapés" ["slug"]=> string(13) "quick-canapes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(162) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(63) "Hosting a dinner party? Try whipping up these delicious nibbles" ["parent"]=> int(0) ["count"]=> int(19) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [18]=> object(WP_Term)#16229 (11) { ["term_id"]=> int(257) ["name"]=> string(21) "Quick nibbles recipes" ["slug"]=> string(13) "quick-nibbles" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(257) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(38) "Speedy canapes and treats to snack on." ["parent"]=> int(0) ["count"]=> int(56) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [19]=> object(WP_Term)#16231 (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(137) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [20]=> object(WP_Term)#16169 (11) { ["term_id"]=> int(178) ["name"]=> string(6) "Snacks" ["slug"]=> string(6) "snacks" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(178) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(72) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [21]=> object(WP_Term)#16134 (11) { ["term_id"]=> int(193) ["name"]=> string(22) "Spooktacular Halloween" ["slug"]=> string(17) "halloween-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(193) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(48) "Scary cookies, sweets and dinners for Halloween." ["parent"]=> int(0) ["count"]=> int(40) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [22]=> object(WP_Term)#16251 (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(556) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [23]=> object(WP_Term)#16212 (11) { ["term_id"]=> int(26) ["name"]=> string(15) "Vegetarian kids" ["slug"]=> string(15) "vegetarian-kids" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(26) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(78) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [24]=> object(WP_Term)#16007 (11) { ["term_id"]=> int(12) ["name"]=> string(16) "Vegetarian party" ["slug"]=> string(16) "vegetarian-party" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(12) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(35) "Impress with an imaginative spread." ["parent"]=> int(0) ["count"]=> int(119) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [25]=> object(WP_Term)#17116 (11) { ["term_id"]=> int(84) ["name"]=> string(18) "Vegetarian starter" ["slug"]=> string(18) "vegetarian-starter" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(84) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(57) "Meat-free starters such as halloumi and watermelon salad." ["parent"]=> int(0) ["count"]=> int(98) ["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 ( 169, 589540941032458619722209972101791203330162257144178193413261284 ) OR rd.ingredients LIKE '%Apples%' OR rd.ingredients LIKE '% Bananas%' OR rd.ingredients LIKE '% Blueberries%' OR rd.ingredients LIKE '% Fruit%' OR rd.ingredients LIKE '% fruit platter%' OR rd.ingredients LIKE '% Grapes%' OR rd.ingredients LIKE '% Halloween party%' OR rd.ingredients LIKE '% Tangerines%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 27398 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16