POST-ID:28643 array(18) { [0]=> object(WP_Term)#12728 (11) { ["term_id"]=> int(372) ["name"]=> string(13) "Birthday cake" ["slug"]=> string(13) "birthday-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(372) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(59) "Celebrate a birthday by baking one of our stunning cakes..." ["parent"]=> int(0) ["count"]=> int(44) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#12729 (11) { ["term_id"]=> int(376) ["name"]=> string(9) "Cake sale" ["slug"]=> string(9) "cake-sale" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(376) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(56) "Tempting treats to get the charity donations rolling in." ["parent"]=> int(0) ["count"]=> int(50) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#12730 (11) { ["term_id"]=> int(378) ["name"]=> string(16) "Celebration cake" ["slug"]=> string(16) "celebration-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(378) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(34) "Show-stopping cakes for occasions." ["parent"]=> int(0) ["count"]=> int(62) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#12731 (11) { ["term_id"]=> int(96) ["name"]=> string(27) "Celebration cakes and bakes" ["slug"]=> string(17) "celebration-cakes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(96) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(160) "The festive season is still in full swing! If you’re just starting to think about your New Year’s Eve menu, add a show-stopping dessert to the list." ["parent"]=> int(0) ["count"]=> int(56) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#12732 (11) { ["term_id"]=> int(379) ["name"]=> string(10) "Cheesecake" ["slug"]=> string(10) "cheesecake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(379) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(80) "With a creamy top and buttery biscuit base, who can resist this classic dessert?" ["parent"]=> int(0) ["count"]=> int(47) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#12733 (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(262) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#12734 (11) { ["term_id"]=> int(380) ["name"]=> string(16) "Chocolate baking" ["slug"]=> string(16) "chocolate-baking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(380) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(37) "Biscuits, brownies, fondants and pies" ["parent"]=> int(0) ["count"]=> int(78) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#12735 (11) { ["term_id"]=> int(381) ["name"]=> string(14) "Chocolate cake" ["slug"]=> string(14) "chocolate-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(381) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(31) "Irresistibly chocolatey treats." ["parent"]=> int(0) ["count"]=> int(65) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#12736 (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" } [9]=> object(WP_Term)#12737 (11) { ["term_id"]=> int(291) ["name"]=> string(22) "Christmas Cake recipes" ["slug"]=> string(14) "christmas-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(291) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(162) "Celebrate Christmas with a rich, moist fruitcake, or perhaps a modern sponge-based creation. We've got all the recipes you need and tips for decorating, too." ["parent"]=> int(0) ["count"]=> int(49) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#12738 (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(71) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#11944 (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" } [12]=> object(WP_Term)#11934 (11) { ["term_id"]=> int(2) ["name"]=> string(12) "Classic cake" ["slug"]=> string(12) "classic-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(2) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(82) "Old favourites and traditional bakes- take your pick from our timeless collection." ["parent"]=> int(0) ["count"]=> int(69) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#11933 (11) { ["term_id"]=> int(241) ["name"]=> string(20) "Festive cake recipes" ["slug"]=> string(12) "festive-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(241) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(25) "Festive and fruity cakes." ["parent"]=> int(0) ["count"]=> int(59) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#11955 (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)#11957 (11) { ["term_id"]=> int(45) ["name"]=> string(5) "Fruit" ["slug"]=> string(5) "fruit" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(45) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(64) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [16]=> object(WP_Term)#11760 (11) { ["term_id"]=> int(389) ["name"]=> string(11) "Fruity cake" ["slug"]=> string(11) "fruity-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(389) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(36) "Cakes bursting with fruity flavours." ["parent"]=> int(0) ["count"]=> int(48) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#12726 (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" } }
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 ( 372, 3763789637940638038135729128826722412424538912534 ) OR rd.ingredients LIKE '%Baked cheesecake%' OR rd.ingredients LIKE '% Cheesecake%' OR rd.ingredients LIKE '% Chocolate orange%' OR rd.ingredients LIKE '% Christmas dessert%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 28643 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16