POST-ID:25313 array(16) { [0]=> object(WP_Term)#15600 (11) { ["term_id"]=> int(295) ["name"]=> string(7) "British" ["slug"]=> string(15) "british-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(295) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(147) "Dig into the best of British cuisine by enjoying classics including roasts, stews and fish and chips – or dabble in delicious desserts" ["parent"]=> int(0) ["count"]=> int(42) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#15601 (11) { ["term_id"]=> int(895) ["name"]=> string(12) "Dinner party" ["slug"]=> string(12) "dinner-party" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(895) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(206) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#15604 (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" } [3]=> object(WP_Term)#15607 (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" } [4]=> object(WP_Term)#15603 (11) { ["term_id"]=> int(240) ["name"]=> string(22) "Easy Christmas recipes" ["slug"]=> string(14) "easy-christmas" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(240) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(169) "Take the stress out of Christmas prep with these simple yet scrumptious recipes. We've got all the essentials covered, from easy roast turkey to no-fuss mince pies." ["parent"]=> int(0) ["count"]=> int(129) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#15614 (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" } [6]=> object(WP_Term)#15602 (11) { ["term_id"]=> int(368) ["name"]=> string(12) "Father's Day" ["slug"]=> string(11) "fathers-day" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(368) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(60) "Brilliant ideas for treating Dad to something extra special." ["parent"]=> int(0) ["count"]=> int(64) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#15611 (11) { ["term_id"]=> int(44) ["name"]=> string(4) "Fish" ["slug"]=> string(4) "fish" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(44) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(111) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#15606 (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" } [9]=> object(WP_Term)#15605 (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" } [10]=> object(WP_Term)#16379 (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" } [11]=> object(WP_Term)#15522 (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" } [12]=> object(WP_Term)#15624 (11) { ["term_id"]=> int(71) ["name"]=> string(18) "Love your lunchbox" ["slug"]=> string(18) "love-your-lunchbox" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(71) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(47) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#15586 (11) { ["term_id"]=> int(370) ["name"]=> string(12) "Mother's Day" ["slug"]=> string(11) "mothers-day" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(370) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(26) "Recipes to treat your mum." ["parent"]=> int(0) ["count"]=> int(54) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#16384 (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" } [15]=> object(WP_Term)#15598 (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" } }
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 ( 295, 895409410240323684421112114321371370172144 )) AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 25313 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16