POST-ID:28042 array(21) { [0]=> object(WP_Term)#15447 (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(297) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#15448 (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)#15449 (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" } [3]=> object(WP_Term)#15450 (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" } [4]=> object(WP_Term)#15451 (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)#15452 (11) { ["term_id"]=> int(272) ["name"]=> string(27) "Christmas side dish recipes" ["slug"]=> string(19) "christmas-side-dish" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(272) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(158) "Accompany your festive feast with a selection of sides and sauces. Our tasty trimmings include roast potatoes, sprouts, stuffing pigs-in-blankets and cabbage." ["parent"]=> int(0) ["count"]=> int(103) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#15453 (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" } [7]=> object(WP_Term)#15454 (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" } [8]=> object(WP_Term)#15466 (11) { ["term_id"]=> int(432) ["name"]=> string(32) "Healthy Christmas buffet recipes" ["slug"]=> string(24) "healthy-christmas-buffet" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(432) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(152) "Who says Christmas can't be healthy? Get inspired with our healthy festive buffet ideas that will prove a big hit at any party or family gathering." ["parent"]=> int(0) ["count"]=> int(20) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#15460 (11) { ["term_id"]=> int(434) ["name"]=> string(31) "Healthy Christmas party recipes" ["slug"]=> string(23) "healthy-christmas-party" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(434) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(124) "Entertaining over the holidays? Get inspired with our healthy Christmas party food – they're perfect for a crowd." ["parent"]=> int(0) ["count"]=> int(36) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#15458 (11) { ["term_id"]=> int(431) ["name"]=> string(25) "Healthy Christmas recipes" ["slug"]=> string(17) "healthy-christmas" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(431) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(142) "Our best ever healthy festive dishes make a wholesome addition to your Christmas Day spread, including roast centrepieces, starters and sides." ["parent"]=> int(0) ["count"]=> int(51) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#15456 (11) { ["term_id"]=> int(435) ["name"]=> string(35) "Healthy Christmas side dish recipes" ["slug"]=> string(23) "healthy-christmas-sides" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(435) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(145) "Pick healthy sides this Christmas with our best rated selection of recipes. They make the perfect accompaniments for a thoroughly festive dinner." ["parent"]=> int(0) ["count"]=> int(58) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#15457 (11) { ["term_id"]=> int(199) ["name"]=> string(20) "Healthy dinner party" ["slug"]=> string(20) "healthy-dinner-party" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(199) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(45) "Guilt-free options for the conscientious host" ["parent"]=> int(0) ["count"]=> int(120) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#15459 (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" } [14]=> object(WP_Term)#15463 (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" } [15]=> object(WP_Term)#15395 (11) { ["term_id"]=> int(211) ["name"]=> string(14) "Healthy winter" ["slug"]=> string(14) "healthy-winter" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(211) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(54) "Healthy and hearty winter warmers for colder nights..." ["parent"]=> int(0) ["count"]=> int(70) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [16]=> object(WP_Term)#15402 (11) { ["term_id"]=> int(78) ["name"]=> string(22) "Low-cal and delicious!" ["slug"]=> string(15) "200-400-clories" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(78) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(78) "Try these light, healthy dishes all counted to notch up to under 400 calories." ["parent"]=> int(0) ["count"]=> int(60) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#15477 (11) { ["term_id"]=> int(251) ["name"]=> string(29) "Low-calorie Christmas recipes" ["slug"]=> string(21) "low-calorie-christmas" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(251) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(33) "Low-calorie festive favourites..." ["parent"]=> int(0) ["count"]=> int(57) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [18]=> object(WP_Term)#15438 (11) { ["term_id"]=> int(216) ["name"]=> string(18) "Low-calorie dinner" ["slug"]=> string(18) "low-calorie-dinner" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(216) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(41) "Delicious dinners all under 400 calories." ["parent"]=> int(0) ["count"]=> int(84) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [19]=> object(WP_Term)#15238 (11) { ["term_id"]=> int(215) ["name"]=> string(17) "Low-calorie lunch" ["slug"]=> string(17) "low-calorie-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(215) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(63) "Lunchbox favourites and weekend treats, all under 400 calories." ["parent"]=> int(0) ["count"]=> int(70) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [20]=> object(WP_Term)#15445 (11) { ["term_id"]=> int(217) ["name"]=> string(16) "Low-carb recipes" ["slug"]=> string(16) "low-carbohydrate" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(217) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(76) "Delicious low-carb recipes, with less than 10g of carbohydrates per serving." ["parent"]=> int(0) ["count"]=> int(39) ["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, 53446517727219197432434431435199721021178251216215217 ) OR rd.ingredients LIKE '%Celeriac%' OR rd.ingredients LIKE '% Jewish food%' OR rd.ingredients LIKE '% kugel%' OR rd.ingredients LIKE '% Potato%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 28042 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16