POST-ID:24453 array(24) { [0]=> object(WP_Term)#13101 (11) { ["term_id"]=> int(169) ["name"]=> string(16) "200-400 calories" ["slug"]=> string(16) "200-400-calories" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(169) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(35) "Our favourite low calorie dishes..." ["parent"]=> int(0) ["count"]=> int(241) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#13102 (11) { ["term_id"]=> int(1103) ["name"]=> string(13) "Afternoon Tea" ["slug"]=> string(13) "afternoon-tea" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(1103) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(104) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#13103 (11) { ["term_id"]=> int(35) ["name"]=> string(21) "Afternoon tea recipes" ["slug"]=> string(21) "afternoon-tea-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(35) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(61) "Host a fabulous afternoon tea with family or friends" ["parent"]=> int(0) ["count"]=> int(88) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#13104 (11) { ["term_id"]=> int(118) ["name"]=> string(16) "All-time classic" ["slug"]=> string(16) "all-time-classic" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(118) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(72) "Our selection of cheesecake recipes that will surely sate your appetite." ["parent"]=> int(0) ["count"]=> int(76) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#13105 (11) { ["term_id"]=> int(375) ["name"]=> string(15) "Brownie Recipes" ["slug"]=> string(7) "brownie" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(375) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(51) "Plain or embellished, moist and chocolatey recipes." ["parent"]=> int(0) ["count"]=> int(26) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#13106 (11) { ["term_id"]=> int(80) ["name"]=> string(15) "Budget beauties" ["slug"]=> string(15) "budget-beauties" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(80) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(49) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#13107 (11) { ["term_id"]=> int(235) ["name"]=> string(14) "Budget recipes" ["slug"]=> string(6) "budget" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(235) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(66) "Cheaper recipes and frugal bites to save you money in the kitchen." ["parent"]=> int(0) ["count"]=> int(117) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#13108 (11) { ["term_id"]=> int(357) ["name"]=> string(17) "Chocolate dessert" ["slug"]=> string(17) "chocolate-dessert" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(357) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(72) "Celebrate all things cocoa with our tart, cake, pudding and pie recipes." ["parent"]=> int(0) ["count"]=> int(76) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#13109 (11) { ["term_id"]=> int(267) ["name"]=> string(24) "Christmas sweets recipes" ["slug"]=> string(16) "christmas-sweets" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(267) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(45) "Ideal for stocking fillers or moreish treats." ["parent"]=> int(0) ["count"]=> int(61) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#13110 (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(333) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#13113 (11) { ["term_id"]=> int(386) ["name"]=> string(11) "Easy baking" ["slug"]=> string(11) "easy-baking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(386) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(47) "Simple cakes, cupcakes, traybakes and biscuits." ["parent"]=> int(0) ["count"]=> int(112) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#13112 (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(273) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#13111 (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(128) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#12326 (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(219) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#12323 (11) { ["term_id"]=> int(242) ["name"]=> string(23) "Festive dessert recipes" ["slug"]=> string(15) "festive-dessert" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(242) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(160) "Try our selection of traditional and alternative sweet treats for the festive season. We've got Christmas pudding, mince pies, trifle, cheesecake and more." ["parent"]=> int(0) ["count"]=> int(103) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#12330 (11) { ["term_id"]=> int(209) ["name"]=> string(13) "Healthy treat" ["slug"]=> string(13) "healthy-treat" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(209) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(35) "Lighter choices for naughty treats." ["parent"]=> int(0) ["count"]=> int(35) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [16]=> object(WP_Term)#12324 (11) { ["term_id"]=> int(97) ["name"]=> string(14) "Healthy treats" ["slug"]=> string(14) "healthy-treats" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(97) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(102) "You don't have to go without - just opt for these lighter choices for your favourite indulgences!" ["parent"]=> int(0) ["count"]=> int(25) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#12329 (11) { ["term_id"]=> int(23) ["name"]=> string(11) "Kids baking" ["slug"]=> string(11) "kids-baking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(23) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(60) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [18]=> object(WP_Term)#12327 (11) { ["term_id"]=> int(130) ["name"]=> string(13) "Little bakers" ["slug"]=> string(13) "little-bakers" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(130) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(221) "There’s endless fun to be had when kids hit the kitchen. We have lots of family-friendly baking projects for little sous chefs to get stuck into, so tie on a pint-sized apron and let the creative juices flow…" ["parent"]=> int(0) ["count"]=> int(17) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [19]=> object(WP_Term)#12321 (11) { ["term_id"]=> int(12531) ["name"]=> string(7) "Ramadan" ["slug"]=> string(7) "ramadan" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(12531) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(153) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [20]=> object(WP_Term)#12325 (11) { ["term_id"]=> int(12534) ["name"]=> string(16) "Ramadan desserts" ["slug"]=> string(16) "ramadan-desserts" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(12534) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(34) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [21]=> object(WP_Term)#12318 (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" } [22]=> object(WP_Term)#12272 (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" } [23]=> object(WP_Term)#13099 (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 ( 169, 11033511837580235357267409386410240322422099723130125311253436327896 ) OR rd.ingredients LIKE '%Baking%' OR rd.ingredients LIKE '% Blondies%' OR rd.ingredients LIKE '% White chocolate%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 24453 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16