POST-ID:26866 array(17) { [0]=> object(WP_Term)#12727 (11) { ["term_id"]=> int(169) ["name"]=> string(16) "200-400 calories" ["slug"]=> string(16) "200-400-calories" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(169) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(35) "Our favourite low calorie dishes..." ["parent"]=> int(0) ["count"]=> int(239) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#12728 (11) { ["term_id"]=> int(133) ["name"]=> string(11) "A cut above" ["slug"]=> string(11) "a-cut-above" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(133) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(145) "Take some care and attention when cooking with meat- whether slow-roasting a joint or flash frying a steak. Check out our favourite meat recipes." ["parent"]=> int(0) ["count"]=> int(78) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#12729 (11) { ["term_id"]=> int(1103) ["name"]=> string(13) "Afternoon Tea" ["slug"]=> string(13) "afternoon-tea" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(1103) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(103) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#12730 (11) { ["term_id"]=> int(35) ["name"]=> string(21) "Afternoon tea recipes" ["slug"]=> string(21) "afternoon-tea-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(35) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(88) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#12731 (11) { ["term_id"]=> int(295) ["name"]=> string(7) "British" ["slug"]=> string(7) "british" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(295) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(61) "Classic British dishes such as toad in the hole and fish pie." ["parent"]=> int(0) ["count"]=> int(37) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#12732 (11) { ["term_id"]=> int(80) ["name"]=> string(15) "Budget beauties" ["slug"]=> string(15) "budget-beauties" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(80) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(49) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#12733 (11) { ["term_id"]=> int(235) ["name"]=> string(14) "Budget recipes" ["slug"]=> string(6) "budget" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(235) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(66) "Cheaper recipes and frugal bites to save you money in the kitchen." ["parent"]=> int(0) ["count"]=> int(117) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#12734 (11) { ["term_id"]=> int(37) ["name"]=> string(10) "Dairy free" ["slug"]=> string(10) "dairy-free" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(37) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(52) "Easy recipes for when you’re cutting out dairy" ["parent"]=> int(0) ["count"]=> int(53) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#12735 (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(330) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#12736 (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(273) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#11942 (11) { ["term_id"]=> int(138) ["name"]=> string(18) "Fantastic fillings" ["slug"]=> string(18) "fantastic-fillings" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(138) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(106) "Forget flat, soggy sandwiches and inject some excitement into your sliced white with our fancy fillings..." ["parent"]=> int(0) ["count"]=> int(17) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#11932 (11) { ["term_id"]=> int(346) ["name"]=> string(24) "Five ingredients or less" ["slug"]=> string(24) "five-ingredients-or-less" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(346) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(45) "Quick fix recipes with minimal shopping fuss." ["parent"]=> int(0) ["count"]=> int(62) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#11931 (11) { ["term_id"]=> int(45) ["name"]=> string(5) "Fruit" ["slug"]=> string(5) "fruit" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(45) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(64) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#11954 (11) { ["term_id"]=> int(320) ["name"]=> string(3) "Jam" ["slug"]=> string(3) "jam" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(320) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(63) "A pot of your own fruity preserve will always beat shop-bought." ["parent"]=> int(0) ["count"]=> int(28) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#11953 (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" } [15]=> object(WP_Term)#11894 (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" } [16]=> object(WP_Term)#12725 (11) { ["term_id"]=> int(328) ["name"]=> string(23) "Pickle, jam and chutney" ["slug"]=> string(25) "pickles-jams-and-chutneys" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(328) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(42) "Add relish to your cooking with preserves." ["parent"]=> int(0) ["count"]=> int(32) ["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 ( 169, 1331103352958023537409410138346453207839328 ) OR rd.ingredients LIKE '%apple jam%' OR rd.ingredients LIKE '% Apples%' OR rd.ingredients LIKE '% Bramley apples%' OR rd.ingredients LIKE '% Jam%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 26866 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16