POST-ID:28651 array(10) { [0]=> object(WP_Term)#16720 (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)#16729 (11) { ["term_id"]=> int(237) ["name"]=> string(16) "Christmas brunch" ["slug"]=> string(16) "christmas-brunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(237) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(162) "Discover Christmas breakfast and brunch ideas to start your day in style. Celebrate Christmas morning with festive breads, pancakes, eggs, smoked salmon and more." ["parent"]=> int(0) ["count"]=> int(99) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#16724 (11) { ["term_id"]=> int(93) ["name"]=> string(16) "Christmas canape" ["slug"]=> string(16) "christmas-canape" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(93) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(90) "Sophisticated sweet and savoury bites to serve at your festive party or as a light starter" ["parent"]=> int(0) ["count"]=> int(73) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16725 (11) { ["term_id"]=> int(290) ["name"]=> string(29) "Christmas centrepiece recipes" ["slug"]=> string(21) "christmas-centrepiece" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(290) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(153) "Discover showstopping turkey alternatives for your Christmas dinner. We have delicious recipes for beef, goose and salmon, plus plenty of veggie options." ["parent"]=> int(0) ["count"]=> int(73) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16654 (11) { ["term_id"]=> int(280) ["name"]=> string(27) "Christmas leftovers recipes" ["slug"]=> string(19) "christmas-leftovers" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(280) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(151) "Use up your Christmas dinner leftovers, including turkey and all the trimmings. From stir-fries to pies, these recipes are packed with festive flavour." ["parent"]=> int(0) ["count"]=> int(85) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16619 (11) { ["term_id"]=> int(276) ["name"]=> string(26) "Christmas recovery recipes" ["slug"]=> string(18) "christmas-recovery" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(276) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(47) "Healthy pick-me-ups to beat the festive excess." ["parent"]=> int(0) ["count"]=> int(44) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16738 (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" } [7]=> object(WP_Term)#16705 (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" } [8]=> object(WP_Term)#16465 (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" } [9]=> object(WP_Term)#16727 (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" } }
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, 2379329028027640941024032 ) OR rd.ingredients LIKE '%Christmas cheeseboard%' OR rd.ingredients LIKE '% Christmas leftovers%' OR rd.ingredients LIKE '% Leftover cheese%' OR rd.ingredients LIKE '% Nachos%' OR rd.ingredients LIKE '% Tortilla chips%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 28651 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16