POST-ID:24249 array(19) { [0]=> object(WP_Term)#16210 (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" } [1]=> object(WP_Term)#16211 (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" } [2]=> object(WP_Term)#16212 (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(531) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16213 (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(304) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16214 (11) { ["term_id"]=> int(411) ["name"]=> string(12) "Easy pudding" ["slug"]=> string(12) "easy-pudding" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(411) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(158) "Whip up one of our comforting desserts with minimum fuss for a dinner party or family meal. Choose from super simple sponge puddings, brownies, tarts and more" ["parent"]=> int(0) ["count"]=> int(53) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16221 (11) { ["term_id"]=> int(197) ["name"]=> string(7) "Healthy" ["slug"]=> string(7) "healthy" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(197) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(52) "Packed with the good stuff to get you feeling great." ["parent"]=> int(0) ["count"]=> int(160) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16216 (11) { ["term_id"]=> int(173) ["name"]=> string(25) "Healthy breakfast recipes" ["slug"]=> string(17) "healthy-breakfast" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(173) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(65) "Start your day right with these nutritious yet delicious choices." ["parent"]=> int(0) ["count"]=> int(76) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#16218 (11) { ["term_id"]=> int(206) ["name"]=> string(13) "Healthy snack" ["slug"]=> string(13) "healthy-snack" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(206) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(28) "Dips, muffins and much more." ["parent"]=> int(0) ["count"]=> int(56) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#16220 (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" } [9]=> object(WP_Term)#16215 (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" } [10]=> object(WP_Term)#16224 (11) { ["term_id"]=> int(211) ["name"]=> string(14) "Healthy winter" ["slug"]=> string(14) "healthy-winter" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(211) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(54) "Healthy and hearty winter warmers for colder nights..." ["parent"]=> int(0) ["count"]=> int(70) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#16217 (11) { ["term_id"]=> int(121) ["name"]=> string(21) "Heart-healthy recipes" ["slug"]=> string(21) "heart-healthy-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(121) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(133) "We’ve created a collection of ultimate heart-friendly recipes. Discover which ingredients you should be packing into your diet." ["parent"]=> int(0) ["count"]=> int(52) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#16219 (11) { ["term_id"]=> int(12532) ["name"]=> string(5) "Iftar" ["slug"]=> string(5) "iftar" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(12532) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(28) "A selection of Iftar recipes" ["parent"]=> int(0) ["count"]=> int(79) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#16138 (11) { ["term_id"]=> int(214) ["name"]=> string(21) "Low-calorie breakfast" ["slug"]=> string(21) "low-calorie-breakfast" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(214) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(35) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#16173 (11) { ["term_id"]=> int(30) ["name"]=> string(17) "Quick and healthy" ["slug"]=> string(17) "quick-and-healthy" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(30) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(98) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#16239 (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(159) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [16]=> object(WP_Term)#16200 (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(38) "Break your fast with these specialties" ["parent"]=> int(0) ["count"]=> int(34) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#15942 (11) { ["term_id"]=> int(12533) ["name"]=> string(6) "Suhoor" ["slug"]=> string(6) "suhoor" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(12533) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(12531) ["count"]=> int(51) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [18]=> object(WP_Term)#16208 (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 ( 356, 161409410411197173206209972111211253221430125311253412533421 ) OR rd.ingredients LIKE '%Breakfast%' OR rd.ingredients LIKE '% breakfast bowl%' OR rd.ingredients LIKE '% Dried apricots%' OR rd.ingredients LIKE '% Healthy breakfast%' OR rd.ingredients LIKE '% Rice bowl%' OR rd.ingredients LIKE '% Rice pudding%' OR rd.ingredients LIKE '% Walnuts%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 24249 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16