POST-ID:26402 array(26) { [0]=> object(WP_Term)#12736 (11) { ["term_id"]=> int(133) ["name"]=> string(11) "A cut above" ["slug"]=> string(11) "a-cut-above" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(133) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(145) "Take some care and attention when cooking with meat- whether slow-roasting a joint or flash frying a steak. Check out our favourite meat recipes." ["parent"]=> int(0) ["count"]=> int(78) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#12737 (11) { ["term_id"]=> int(190) ["name"]=> string(8) "American" ["slug"]=> string(8) "american" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(190) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(84) "Get inspired by Stateside favourites, from burgers and hotdogs to pancakes and pies." ["parent"]=> int(0) ["count"]=> int(35) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#12738 (11) { ["term_id"]=> int(351) ["name"]=> string(12) "Bank Holiday" ["slug"]=> string(12) "bank-holiday" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(351) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(43) "Light and lazy dishes, for feeding a crowd." ["parent"]=> int(0) ["count"]=> int(40) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#12739 (11) { ["term_id"]=> int(99) ["name"]=> string(8) "Barbecue" ["slug"]=> string(8) "barbecue" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(99) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(104) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#12740 (11) { ["term_id"]=> int(422) ["name"]=> string(10) "BBQ dishes" ["slug"]=> string(10) "bbq-dishes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(422) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(51) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#12741 (11) { ["term_id"]=> int(142) ["name"]=> string(7) "BBQ fun" ["slug"]=> string(24) "barbecue-or-oven-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(142) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(40) "Cater for your crowd come rain or shine." ["parent"]=> int(0) ["count"]=> int(30) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#12742 (11) { ["term_id"]=> int(31) ["name"]=> string(9) "Big match" ["slug"]=> string(9) "big-match" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(31) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(43) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#12743 (11) { ["term_id"]=> int(140) ["name"]=> string(18) "Brand-new brunches" ["slug"]=> string(18) "brand-new-brunches" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(140) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(158) "Looking for a new reason to get out of bed in the morning? Our latest recipes will breathe new life into the classic boiled, scrambled or poached yolk…" ["parent"]=> int(0) ["count"]=> int(24) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#12744 (11) { ["term_id"]=> int(68) ["name"]=> string(6) "Buffet" ["slug"]=> string(6) "buffet" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(68) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(31) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#12745 (11) { ["term_id"]=> int(902) ["name"]=> string(11) "Celebration" ["slug"]=> string(11) "celebration" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(902) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(48) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#12746 (11) { ["term_id"]=> int(366) ["name"]=> string(6) "Easter" ["slug"]=> string(6) "easter" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(366) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(49) "Roasts and special meals for Easter entertaining." ["parent"]=> int(0) ["count"]=> int(61) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#12747 (11) { ["term_id"]=> int(367) ["name"]=> string(13) "Easter baking" ["slug"]=> string(13) "easter-baking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(367) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(33) "Sugar, spice and all things nice." ["parent"]=> int(0) ["count"]=> int(63) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#12748 (11) { ["term_id"]=> int(4) ["name"]=> string(11) "Family meal" ["slug"]=> string(11) "family-meal" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(4) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(58) "Something for all the family from tuna balls to spaghetti." ["parent"]=> int(0) ["count"]=> int(178) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#12749 (11) { ["term_id"]=> int(368) ["name"]=> string(12) "Father's Day" ["slug"]=> string(11) "fathers-day" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(368) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(60) "Brilliant ideas for treating Dad to something extra special." ["parent"]=> int(0) ["count"]=> int(64) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#12750 (11) { ["term_id"]=> int(34) ["name"]=> string(12) "Friday lunch" ["slug"]=> string(12) "friday-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(34) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(61) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#12751 (11) { ["term_id"]=> int(247) ["name"]=> string(16) "Hangover recipes" ["slug"]=> string(8) "hangover" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(247) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(149) "The best hangover food to soothe and sustain if you've had a few too many tipples the night before, including toasties, omelettes and smoothies." ["parent"]=> int(0) ["count"]=> int(31) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [16]=> object(WP_Term)#12752 (11) { ["term_id"]=> int(249) ["name"]=> string(29) "Last-minute Christmas recipes" ["slug"]=> string(21) "last-minute-christmas" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(249) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(36) "No-fuss menu ideas, cakes and gifts." ["parent"]=> int(0) ["count"]=> int(37) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#12753 (11) { ["term_id"]=> int(43) ["name"]=> string(4) "Meat" ["slug"]=> string(4) "meat" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(43) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(62) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [18]=> object(WP_Term)#12754 (11) { ["term_id"]=> int(370) ["name"]=> string(12) "Mother's Day" ["slug"]=> string(11) "mothers-day" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(370) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(26) "Recipes to treat your mum." ["parent"]=> int(0) ["count"]=> int(54) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [19]=> object(WP_Term)#11960 (11) { ["term_id"]=> int(144) ["name"]=> string(26) "Sharing-style dinner party" ["slug"]=> string(26) "sharing-style-dinner-party" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(144) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(105) "Spend less time at the stove-top and more time entertaining, with these easy-to-make dinner party dishes." ["parent"]=> int(0) ["count"]=> int(114) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [20]=> object(WP_Term)#11950 (11) { ["term_id"]=> int(904) ["name"]=> string(12) "Sunday lunch" ["slug"]=> string(12) "sunday-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(904) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(55) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [21]=> object(WP_Term)#11949 (11) { ["term_id"]=> int(430) ["name"]=> string(12) "Thanksgiving" ["slug"]=> string(12) "thanksgiving" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(430) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(18) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [22]=> object(WP_Term)#11972 (11) { ["term_id"]=> int(229) ["name"]=> string(16) "Thanksgiving Day" ["slug"]=> string(16) "thanksgiving-day" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(229) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(42) "Celebrate with a traditional turkey feast." ["parent"]=> int(0) ["count"]=> int(29) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [23]=> object(WP_Term)#11971 (11) { ["term_id"]=> int(363) ["name"]=> string(18) "Valentine's baking" ["slug"]=> string(17) "valentines-baking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(363) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(80) "Find a bake to suit your beloved, from heart-shaped biscuits to beautiful cakes." ["parent"]=> int(27) ["count"]=> int(17) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [24]=> object(WP_Term)#11912 (11) { ["term_id"]=> int(27) ["name"]=> string(15) "Valentine's Day" ["slug"]=> string(14) "valentines-day" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(27) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(51) "Food of love - romantic recipes for the special day" ["parent"]=> int(0) ["count"]=> int(104) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [25]=> object(WP_Term)#12734 (11) { ["term_id"]=> int(896) ["name"]=> string(7) "Weekend" ["slug"]=> string(7) "weekend" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(896) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(97) ["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 ( 133, 1903519942214231140689023663674368342472494337014490443022936327896 ) OR rd.ingredients LIKE '%Barbecue%' OR rd.ingredients LIKE '% Chilli%' OR rd.ingredients LIKE '% Glaze%' OR rd.ingredients LIKE '% Leg of lamb%' OR rd.ingredients LIKE '% Maple%' OR rd.ingredients LIKE '% Tom Kerridge%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 26402 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16