POST-ID:21136 array(10) { [0]=> object(WP_Term)#16775 (11) { ["term_id"]=> int(89) ["name"]=> string(18) "Boxing Day recipes" ["slug"]=> string(18) "boxing-day-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(89) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(138) "Whether it's a stunning ham centrepiece or a mash-up of Christmas leftovers, we've got a selection of Boxing Day recipes to impress family" ["parent"]=> int(0) ["count"]=> int(76) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16784 (11) { ["term_id"]=> int(68) ["name"]=> string(6) "Buffet" ["slug"]=> string(14) "buffet-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(68) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(147) "Looking for a colourful selection of party recipes? Entertain in style with our tarts, salads and sweet treats - buffet food perfect for any party." ["parent"]=> int(0) ["count"]=> int(32) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#16779 (11) { ["term_id"]=> int(238) ["name"]=> string(16) "Christmas buffet" ["slug"]=> string(16) "christmas-buffet" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(238) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(152) "Entertaining a crowd this Christmas? We have all the buffet dishes you need for a festive party, including canapés, dips and easy sharing plates." ["parent"]=> int(0) ["count"]=> int(91) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16780 (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(112) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16672 (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" } [5]=> object(WP_Term)#17609 (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" } [6]=> object(WP_Term)#16793 (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" } [7]=> object(WP_Term)#16760 (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(27) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#16689 (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(68) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16782 (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" } }
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 ( 89, 6823827240941024043243530 ) OR rd.ingredients LIKE '%Buffet%' OR rd.ingredients LIKE '% Cabbage%' OR rd.ingredients LIKE '% Christmas%' OR rd.ingredients LIKE '% Coleslaw%' OR rd.ingredients LIKE '% Fennel%' OR rd.ingredients LIKE '% Pomegranate%' OR rd.ingredients LIKE '% Side dish%' OR rd.ingredients LIKE '% Slaw%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 21136 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16