POST-ID:23663 array(22) { [0]=> object(WP_Term)#15596 (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" } [1]=> object(WP_Term)#15597 (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" } [2]=> object(WP_Term)#15598 (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" } [3]=> object(WP_Term)#15599 (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" } [4]=> object(WP_Term)#15600 (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" } [5]=> object(WP_Term)#15601 (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" } [6]=> object(WP_Term)#15602 (11) { ["term_id"]=> int(315) ["name"]=> string(5) "Curry" ["slug"]=> string(5) "curry" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(315) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(85) "Rustle up a spicy supper using fish, vegetables or meat and a blend of rich flavours." ["parent"]=> int(0) ["count"]=> int(74) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#15603 (11) { ["term_id"]=> int(157) ["name"]=> string(15) "Curry creations" ["slug"]=> string(15) "curry-creations" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(157) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(131) "Whether you're entertaining guests or simply looking to indulge in some flavoursome food, these curries will have you covered!" ["parent"]=> int(0) ["count"]=> int(49) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#15606 (11) { ["term_id"]=> int(47) ["name"]=> string(5) "Dairy" ["slug"]=> string(5) "dairy" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(47) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(47) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#15609 (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(514) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#15605 (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(301) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#15616 (11) { ["term_id"]=> int(19) ["name"]=> string(14) "Eat healthier!" ["slug"]=> string(15) "healthy-cooking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(19) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(47) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#15604 (11) { ["term_id"]=> int(900) ["name"]=> string(8) "Everyday" ["slug"]=> string(8) "everyday" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(900) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(144) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#15613 (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(307) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#15608 (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(159) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#15607 (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" } [16]=> object(WP_Term)#15525 (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" } [17]=> object(WP_Term)#15560 (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" } [18]=> object(WP_Term)#15626 (11) { ["term_id"]=> int(300) ["name"]=> string(6) "Indian" ["slug"]=> string(6) "indian" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(300) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(45) "Spicy Eastern recipes such as masala chicken." ["parent"]=> int(0) ["count"]=> int(137) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [19]=> object(WP_Term)#15588 (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(555) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [20]=> object(WP_Term)#15387 (11) { ["term_id"]=> int(82) ["name"]=> string(16) "Vegetarian curry" ["slug"]=> string(16) "vegetarian-curry" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(82) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(21) "From dhal to dopiaza." ["parent"]=> int(0) ["count"]=> int(34) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [21]=> object(WP_Term)#15594 (11) { ["term_id"]=> int(125) ["name"]=> string(14) "Veggie curries" ["slug"]=> string(14) "veggie-curries" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(125) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(117) "Indian cuisine is delicious and vegetarian-friendly, so ditch the pack of chicken and try one of our authentic ideas." ["parent"]=> int(0) ["count"]=> int(15) ["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 ( 112, 235534417734531515747409410199004197721014330041382125 ) OR rd.ingredients LIKE '%budget friendly meals%' OR rd.ingredients LIKE '% Chickpeas%' OR rd.ingredients LIKE '% chole%' OR rd.ingredients LIKE '% Curry%' OR rd.ingredients LIKE '% Family meals%' OR rd.ingredients LIKE '% Raita%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 23663 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16