POST-ID:50504 array(12) { [0]=> object(WP_Term)#16729 (11) { ["term_id"]=> int(422) ["name"]=> string(10) "BBQ dishes" ["slug"]=> string(10) "bbq-dishes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(422) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(71) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16725 (11) { ["term_id"]=> int(429) ["name"]=> string(12) "Best of beef" ["slug"]=> string(12) "best-of-beef" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(429) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(211) "Whether it’s your go-to cut of meat for a British Sunday roast, or if you prefer your beef in a burger bun, the wide range of cuts available mean it really is one of the most versatile meats on the market." ["parent"]=> int(0) ["count"]=> int(39) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#16722 (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(130) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16731 (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(546) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16726 (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(314) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16727 (11) { ["term_id"]=> int(49) ["name"]=> string(11) "Easy summer" ["slug"]=> string(11) "easy-summer" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(49) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(39) "Discover the best summer meals" ["parent"]=> int(0) ["count"]=> int(191) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16619 (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(327) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#17554 (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(71) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#16740 (11) { ["term_id"]=> int(414) ["name"]=> string(14) "Middle Eastern" ["slug"]=> string(14) "middle-eastern" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(414) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(77) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16707 (11) { ["term_id"]=> int(405) ["name"]=> string(20) "Moroccan in Cuisines" ["slug"]=> string(20) "moroccan-in-cuisines" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(405) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(61) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#16658 (11) { ["term_id"]=> int(42) ["name"]=> string(15) "Ramadan cooking" ["slug"]=> string(15) "ramadan-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(42) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(124) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#16724 (11) { ["term_id"]=> int(400) ["name"]=> string(10) "Retro cake" ["slug"]=> string(10) "retro-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(400) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(33) "Freshly baked traditional treats." ["parent"]=> int(0) ["count"]=> int(43) ["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 ( 422, 4294274094104944341440542400 ) OR rd.ingredients LIKE '%Beef mince%' OR rd.ingredients LIKE '% Green olives%' OR rd.ingredients LIKE '% Kofta recipes%' OR rd.ingredients LIKE '% Koftas%' OR rd.ingredients LIKE '% Pistachios%' OR rd.ingredients LIKE '% Pomegranate seeds%' OR rd.ingredients LIKE '% sharing dish%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 50504 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16