POST-ID:26399 array(26) { [0]=> object(WP_Term)#15452 (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" } [1]=> object(WP_Term)#15453 (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" } [2]=> object(WP_Term)#15454 (11) { ["term_id"]=> int(41) ["name"]=> string(8) "Egg-free" ["slug"]=> string(8) "egg-free" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(41) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(32) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#15455 (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(307) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#15456 (11) { ["term_id"]=> int(199) ["name"]=> string(20) "Healthy dinner party" ["slug"]=> string(20) "healthy-dinner-party" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(199) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(45) "Guilt-free options for the conscientious host" ["parent"]=> int(0) ["count"]=> int(120) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#15457 (11) { ["term_id"]=> int(7) ["name"]=> string(13) "Healthy lunch" ["slug"]=> string(13) "healthy-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(7) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(51) "Keep your healthy eating regime on the right track." ["parent"]=> int(0) ["count"]=> int(159) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#15458 (11) { ["term_id"]=> int(201) ["name"]=> string(15) "Healthy one-pot" ["slug"]=> string(15) "healthy-one-pot" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(201) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(38) "Comfort food with less of the calories" ["parent"]=> int(0) ["count"]=> int(30) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#15459 (11) { ["term_id"]=> int(202) ["name"]=> string(14) "Healthy spring" ["slug"]=> string(14) "healthy-spring" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(202) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(33) "Celebrate the turn of the season." ["parent"]=> int(0) ["count"]=> int(53) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#15460 (11) { ["term_id"]=> int(208) ["name"]=> string(14) "Healthy summer" ["slug"]=> string(14) "healthy-summer" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(208) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(35) "BBQ, picnic and al fresco feasting." ["parent"]=> int(0) ["count"]=> int(100) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#15461 (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" } [10]=> object(WP_Term)#15462 (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" } [11]=> object(WP_Term)#15463 (11) { ["term_id"]=> int(143) ["name"]=> string(14) "Hearty lunches" ["slug"]=> string(21) "healthy-lunch-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(143) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(51) "Keep your healthy eating regime on the right track." ["parent"]=> int(0) ["count"]=> int(88) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#15464 (11) { ["term_id"]=> int(213) ["name"]=> string(12) "Light supper" ["slug"]=> string(12) "light-supper" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(213) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(44) "Light on the stomach, light on the calories." ["parent"]=> int(0) ["count"]=> int(64) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#15476 (11) { ["term_id"]=> int(78) ["name"]=> string(22) "Low-cal and delicious!" ["slug"]=> string(15) "200-400-clories" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(78) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(78) "Try these light, healthy dishes all counted to notch up to under 400 calories." ["parent"]=> int(0) ["count"]=> int(60) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#15470 (11) { ["term_id"]=> int(216) ["name"]=> string(18) "Low-calorie dinner" ["slug"]=> string(18) "low-calorie-dinner" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(216) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(41) "Delicious dinners all under 400 calories." ["parent"]=> int(0) ["count"]=> int(84) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#15468 (11) { ["term_id"]=> int(215) ["name"]=> string(17) "Low-calorie lunch" ["slug"]=> string(17) "low-calorie-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(215) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(63) "Lunchbox favourites and weekend treats, all under 400 calories." ["parent"]=> int(0) ["count"]=> int(70) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [16]=> object(WP_Term)#15466 (11) { ["term_id"]=> int(217) ["name"]=> string(16) "Low-carb recipes" ["slug"]=> string(16) "low-carbohydrate" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(217) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(76) "Delicious low-carb recipes, with less than 10g of carbohydrates per serving." ["parent"]=> int(0) ["count"]=> int(39) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#15467 (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)#15469 (11) { ["term_id"]=> int(325) ["name"]=> string(7) "One-pot" ["slug"]=> string(7) "one-pot" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(325) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(62) "Create comfort in a pot with these filling, sumptuous recipes," ["parent"]=> int(0) ["count"]=> int(81) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [19]=> object(WP_Term)#15473 (11) { ["term_id"]=> int(106) ["name"]=> string(11) "Pack it in!" ["slug"]=> string(10) "pack-it-up" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(106) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(15) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [20]=> object(WP_Term)#15405 (11) { ["term_id"]=> int(232) ["name"]=> string(14) "School holiday" ["slug"]=> string(14) "school-holiday" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(232) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(49) "Fun recipes to keep kids occupied over the break." ["parent"]=> int(0) ["count"]=> int(50) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [21]=> object(WP_Term)#15412 (11) { ["term_id"]=> int(172) ["name"]=> string(15) "Sharing recipes" ["slug"]=> string(7) "sharing" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(172) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(53) "Platters and dig-in dinners for relaxed entertaining." ["parent"]=> int(0) ["count"]=> int(49) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [22]=> object(WP_Term)#15487 (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(137) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [23]=> object(WP_Term)#15448 (11) { ["term_id"]=> int(306) ["name"]=> string(7) "Spanish" ["slug"]=> string(7) "spanish" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(306) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(51) "Delightful Spanish cuisine from tortilla to paella." ["parent"]=> int(0) ["count"]=> int(30) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [24]=> object(WP_Term)#15248 (11) { ["term_id"]=> int(404) ["name"]=> string(19) "Spanish in Cuisines" ["slug"]=> string(19) "spanish-in-cuisines" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(404) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(48) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [25]=> object(WP_Term)#16357 (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(67) ["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 ( 409, 41041419972012022082111211432137821621521743325106232172144306404904 ) OR rd.ingredients LIKE '%5-a-day%' OR rd.ingredients LIKE '% Chickpeas%' OR rd.ingredients LIKE '% Chorizo%' OR rd.ingredients LIKE '% Family food%' OR rd.ingredients LIKE '% Stew%' OR rd.ingredients LIKE '% Tomatoes%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 26399 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16