POST-ID:23369 array(16) { [0]=> object(WP_Term)#15442 (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(147) "Low in calories yet super-satisfying – these lighter recipes make the most of delicious ingredients. Discover salads, stir-fries, stews and more." ["parent"]=> int(0) ["count"]=> int(297) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#15443 (11) { ["term_id"]=> int(427) ["name"]=> string(18) "Breakfast delights" ["slug"]=> string(18) "breakfast-delights" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(427) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(92) "Start your day right with breakfast delight recipes that make mornings deliciously memorable" ["parent"]=> int(0) ["count"]=> int(117) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#15444 (11) { ["term_id"]=> int(356) ["name"]=> string(16) "Breakfast in bed" ["slug"]=> string(24) "breakfast-in-bed-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(356) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(95) "Start the day in decadent fashion with one of our extra-special sweet or savoury brunch dishes." ["parent"]=> int(0) ["count"]=> int(64) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#15456 (11) { ["term_id"]=> int(161) ["name"]=> string(21) "Breakfast inspiration" ["slug"]=> string(21) "breakfast-inspiration" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(161) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(86) "These simple breakfast ideas are quick to make and will have you set for the day ahead" ["parent"]=> int(0) ["count"]=> int(86) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#15450 (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(270) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#15448 (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(83) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#15446 (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(514) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#15447 (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(301) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#15449 (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(245) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#15453 (11) { ["term_id"]=> int(293) ["name"]=> string(12) "Kids cooking" ["slug"]=> string(12) "kids-cooking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(293) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(55) "Get those budding Jamies and Nigellas into the kitchen." ["parent"]=> int(0) ["count"]=> int(74) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#15366 (11) { ["term_id"]=> int(176) ["name"]=> string(11) "Kids' cakes" ["slug"]=> string(9) "kids-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(176) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(44) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#15359 (11) { ["term_id"]=> int(179) ["name"]=> string(11) "Kids' party" ["slug"]=> string(10) "kids-party" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(179) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(65) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#15467 (11) { ["term_id"]=> int(28) ["name"]=> string(11) "Pancake Day" ["slug"]=> string(11) "pancake-day" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(28) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(44) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#15428 (11) { ["term_id"]=> int(114) ["name"]=> string(15) "Pancake madness" ["slug"]=> string(15) "pancake-madness" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(114) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(18) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#15188 (11) { ["term_id"]=> int(178) ["name"]=> string(6) "Snacks" ["slug"]=> string(6) "snacks" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(178) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(68) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#15440 (11) { ["term_id"]=> int(421) ["name"]=> string(18) "Weekend breakfasts" ["slug"]=> string(18) "weekend-breakfasts" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(421) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(35) "Big breakfasts for weekend feasting" ["parent"]=> int(0) ["count"]=> int(63) ["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, 4273561614063574094103229317617928114178421 ) OR rd.ingredients LIKE '%chocolate spread%' OR rd.ingredients LIKE '% Kids cooking%' OR rd.ingredients LIKE '% Pancake day%' OR rd.ingredients LIKE '% Pancakes%' OR rd.ingredients LIKE '% Peanut butter%' OR rd.ingredients LIKE '% Shrove Tuesday%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 23369 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16