POST-ID:25310 array(19) { [0]=> object(WP_Term)#12822 (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" } [1]=> object(WP_Term)#12823 (11) { ["term_id"]=> int(212) ["name"]=> string(12) "High-protein" ["slug"]=> string(12) "high-protein" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(212) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(98) "These high-protein picks are perfect for those who want to boost their intake from time to time..." ["parent"]=> int(0) ["count"]=> int(33) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#12824 (11) { ["term_id"]=> int(166) ["name"]=> string(26) "Lean & full of protein" ["slug"]=> string(20) "lean-full-of-protein" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(166) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(62) "These meals are great for incorporating protein into your diet" ["parent"]=> int(0) ["count"]=> int(21) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#12825 (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(53) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#12826 (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(56) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#12827 (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(73) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#12828 (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(59) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#12829 (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" } [8]=> object(WP_Term)#12830 (11) { ["term_id"]=> int(39) ["name"]=> string(7) "Low-fat" ["slug"]=> string(7) "low-fat" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(39) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(36) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#12831 (11) { ["term_id"]=> int(304) ["name"]=> string(7) "Mexican" ["slug"]=> string(7) "mexican" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(304) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(57) "Typical Mexican food from quesadillas to salsa and beans." ["parent"]=> int(0) ["count"]=> int(63) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#12832 (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(46) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#12833 (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(114) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#12029 (11) { ["term_id"]=> int(85) ["name"]=> string(7) "Student" ["slug"]=> string(7) "student" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(85) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(50) "Cheap and cheerful recipes for eating on a budget." ["parent"]=> int(0) ["count"]=> int(38) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#12028 (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(55) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#12834 (11) { ["term_id"]=> int(337) ["name"]=> string(18) "Takeaway favourite" ["slug"]=> string(18) "takeaway-favourite" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(337) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(45) "Put your feet up and get that Friday feeling." ["parent"]=> int(0) ["count"]=> int(41) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#12051 (11) { ["term_id"]=> int(107) ["name"]=> string(13) "That's a wrap" ["slug"]=> string(13) "that-s-a-wrap" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(107) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(7) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [16]=> object(WP_Term)#11984 (11) { ["term_id"]=> int(145) ["name"]=> string(31) "Winner, winner, chicken dinner!" ["slug"]=> string(28) "winner-winner-chicken-dinner" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(145) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(108) "Tired of the same old chicken dishes? Try something different with your chicken - we have plenty of options!" ["parent"]=> int(0) ["count"]=> int(46) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#12069 (11) { ["term_id"]=> int(192) ["name"]=> string(17) "World Chicken Day" ["slug"]=> string(17) "world-chicken-day" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(192) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(49) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [18]=> object(WP_Term)#12820 (11) { ["term_id"]=> int(341) ["name"]=> string(4) "Wrap" ["slug"]=> string(4) "wrap" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(341) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(54) "Roll up a savoury treat with tortillas and flatbreads." ["parent"]=> int(0) ["count"]=> int(39) ["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 ( 121, 212166213782162152173930417214485904337107145192341 )) AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 25310 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16