POST-ID:27371 array(15) { [0]=> object(WP_Term)#16728 (11) { ["term_id"]=> int(406) ["name"]=> string(9) "Chocolate" ["slug"]=> string(9) "chocolate" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(406) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(279) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16731 (11) { ["term_id"]=> int(288) ["name"]=> string(27) "Christmas chocolate recipes" ["slug"]=> string(19) "christmas-chocolate" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(288) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(62) "Treat yourself to something sweet – it's Christmas!" ["parent"]=> int(0) ["count"]=> int(74) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#16730 (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(546) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16736 (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(314) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16732 (11) { ["term_id"]=> int(240) ["name"]=> string(22) "Easy Christmas recipes" ["slug"]=> string(14) "easy-christmas" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(240) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(169) "Take the stress out of Christmas prep with these simple yet scrumptious recipes. We've got all the essentials covered, from easy roast turkey to no-fuss mince pies." ["parent"]=> int(0) ["count"]=> int(130) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16729 (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(246) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16738 (11) { ["term_id"]=> int(426) ["name"]=> string(22) "Festive drinks recipes" ["slug"]=> string(14) "festive-drinks" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(426) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(46) "Cocktails to celebrate Christmas and New Year." ["parent"]=> int(0) ["count"]=> int(57) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#16733 (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" } [8]=> object(WP_Term)#16734 (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" } [9]=> object(WP_Term)#16663 (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(153) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#16628 (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" } [11]=> object(WP_Term)#16747 (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" } [12]=> object(WP_Term)#16714 (11) { ["term_id"]=> int(11589) ["name"]=> string(5) "Vegan" ["slug"]=> string(7) "vegan-2" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(11589) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(86) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#16456 (11) { ["term_id"]=> int(259) ["name"]=> string(23) "Vegan Christmas recipes" ["slug"]=> string(15) "vegan-christmas" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(259) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(158) "Serve up a festive, plant-based feast with our vegan Christmas starters, mains, sides and desserts. Choose from nut roasts, Christmas puddings, pies and more." ["parent"]=> int(0) ["count"]=> int(83) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#16726 (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(566) ["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 ( 406, 28840941024032426210211120305311589259413 ) OR rd.ingredients LIKE '%oat milk%' OR rd.ingredients LIKE '% vegan hot chocolate%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 27371 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16