POST-ID:26857 array(14) { [0]=> object(WP_Term)#16855 (11) { ["term_id"]=> int(270) ["name"]=> string(22) "Christmas soup recipes" ["slug"]=> string(14) "christmas-soup" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(270) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(61) "Smooth blends and chunkier broths for starters or light meals" ["parent"]=> int(0) ["count"]=> int(36) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16854 (11) { ["term_id"]=> int(207) ["name"]=> string(12) "Healthy soup" ["slug"]=> string(12) "healthy-soup" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(207) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(33) "Comfort food without the calories" ["parent"]=> int(0) ["count"]=> int(43) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#16860 (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" } [3]=> object(WP_Term)#16856 (11) { ["term_id"]=> int(211) ["name"]=> string(22) "Healthy winter recipes" ["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(71) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16853 (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(156) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16862 (11) { ["term_id"]=> int(52) ["name"]=> string(18) "Seasonal September" ["slug"]=> string(8) "seasonal" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(52) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(47) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16857 (11) { ["term_id"]=> int(335) ["name"]=> string(4) "Soup" ["slug"]=> string(4) "soup" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(335) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(39) "Be bowled over by our nourishing soups." ["parent"]=> int(0) ["count"]=> int(113) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#16858 (11) { ["term_id"]=> int(53) ["name"]=> string(21) "Top 20 Autumn recipes" ["slug"]=> string(21) "top-20-autumn-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(53) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(39) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#16786 (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(582) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16751 (11) { ["term_id"]=> int(260) ["name"]=> string(28) "Vegetarian Christmas recipes" ["slug"]=> string(20) "vegetarian-christmas" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(260) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(95) "Enticing meat-free recipes for the festive season, including main courses, starters and snacks." ["parent"]=> int(0) ["count"]=> int(95) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#16871 (11) { ["term_id"]=> int(262) ["name"]=> string(36) "Vegetarian Christmas starter recipes" ["slug"]=> string(28) "vegetarian-christmas-starter" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(262) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(157) "Kick off your Christmas dinner menu with one of our impressive and tasty meat-free starters. Get creative with soups, salads, tarts and other veggies dishes." ["parent"]=> int(0) ["count"]=> int(52) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#16838 (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(121) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#16583 (11) { ["term_id"]=> int(15) ["name"]=> string(15) "Vegetarian soup" ["slug"]=> string(15) "vegetarian-soup" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(15) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(44) "Homemade soup makes the perfect veggie meal." ["parent"]=> int(0) ["count"]=> int(37) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#16851 (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(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 ( 270, 2072102111205233553413260262121584 ) OR rd.ingredients LIKE '%Autumn%' OR rd.ingredients LIKE '% Halloween%' OR rd.ingredients LIKE '% Pumpkin%' OR rd.ingredients LIKE '% Soup%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 26857 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16