POST-ID:27397 array(20) { [0]=> object(WP_Term)#15596 (11) { ["term_id"]=> int(374) ["name"]=> string(5) "Bread" ["slug"]=> string(13) "bread-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(374) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(165) "Fill the house with the aroma of freshly baked bread. From an easy white loaf to sourdough, focaccia and brioche, we have a range of sweet and savoury bread recipes." ["parent"]=> int(0) ["count"]=> int(74) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#15597 (11) { ["term_id"]=> int(80) ["name"]=> string(15) "Budget beauties" ["slug"]=> string(15) "budget-beauties" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(80) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(49) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#15598 (11) { ["term_id"]=> int(112) ["name"]=> string(12) "Budget meals" ["slug"]=> string(12) "budget-meals" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(112) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(51) "Thrifty recipes to help you keep cooking costs down" ["parent"]=> int(0) ["count"]=> int(60) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#15599 (11) { ["term_id"]=> int(235) ["name"]=> string(14) "Budget recipes" ["slug"]=> string(14) "budget-recipes" ["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(122) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#15600 (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" } [5]=> object(WP_Term)#15601 (11) { ["term_id"]=> int(344) ["name"]=> string(9) "Cheap eat" ["slug"]=> string(9) "cheap-eat" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(344) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(48) "Cheap eat meals that are packed full of flavour." ["parent"]=> int(0) ["count"]=> int(83) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#15604 (11) { ["term_id"]=> int(65) ["name"]=> string(17) "Cheap eat recipes" ["slug"]=> string(17) "cheap-eat-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(65) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(47) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#15607 (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" } [8]=> object(WP_Term)#15603 (11) { ["term_id"]=> int(11457) ["name"]=> string(6) "cheese" ["slug"]=> string(6) "cheese" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(11457) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(33) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#15614 (11) { ["term_id"]=> int(103) ["name"]=> string(20) "Child-friendly meals" ["slug"]=> string(14) "little-nibbles" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(103) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(21) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#15602 (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(87) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#15611 (11) { ["term_id"]=> int(153) ["name"]=> string(20) "Cooking for the kids" ["slug"]=> string(20) "cooking-for-the-kids" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(153) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(58) "Whip up these quick and simple recipes for the little ones" ["parent"]=> int(0) ["count"]=> int(53) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#15606 (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(206) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#15605 (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(42) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#15542 (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" } [15]=> object(WP_Term)#15507 (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(114) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [16]=> object(WP_Term)#15624 (11) { ["term_id"]=> int(330) ["name"]=> string(5) "Pizza" ["slug"]=> string(5) "pizza" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(330) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(45) "Put down the takeaway menu and make your own." ["parent"]=> int(0) ["count"]=> int(47) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#15586 (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" } [18]=> object(WP_Term)#15385 (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(68) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [19]=> object(WP_Term)#15594 (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" } }
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 ( 374, 80112235534465177114571033451538958617933330144178193 ) OR rd.ingredients LIKE '%Halloween party%' OR rd.ingredients LIKE '% Pizza%' OR rd.ingredients LIKE '% tear and share bread%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 27397 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16