POST-ID:24233 array(21) { [0]=> object(WP_Term)#16860 (11) { ["term_id"]=> int(14065) ["name"]=> string(19) "Cauliflower recipes" ["slug"]=> string(19) "cauliflower-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(14065) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(178) "A head of cauliflower goes a long way. This versatile brassica adds smoothness in sauces and texture in dishes such as cauliflower cheese, roast cauliflower and cauliflower rice." ["parent"]=> int(0) ["count"]=> int(28) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16861 (11) { ["term_id"]=> int(38) ["name"]=> string(19) "Gluten free Recipes" ["slug"]=> string(11) "gluten-free" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(38) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(52) "Delicious celiac-friendly recipes for every occasion" ["parent"]=> int(0) ["count"]=> int(68) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#16862 (11) { ["term_id"]=> int(124) ["name"]=> string(18) "Gluten-free dinner" ["slug"]=> string(18) "gluten-free-dinner" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(124) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(51) "Suppertime menu options that skip grains and wheat." ["parent"]=> int(0) ["count"]=> int(30) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16863 (11) { ["term_id"]=> int(123) ["name"]=> string(17) "Gluten-free lunch" ["slug"]=> string(17) "gluten-free-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(123) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(54) "Specially selected midday treats for a no-gluten diet." ["parent"]=> int(0) ["count"]=> int(31) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16864 (11) { ["term_id"]=> int(195) ["name"]=> string(17) "Gluten-free snack" ["slug"]=> string(17) "gluten-free-snack" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(195) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(54) "Bloat-free nibbles and bites to ward off hunger pangs." ["parent"]=> int(0) ["count"]=> int(29) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16865 (11) { ["term_id"]=> int(155) ["name"]=> string(16) "Goodbye, gluten!" ["slug"]=> string(19) "dairy-free-delights" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(155) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(102) "If you're intolerant to gluten or have decided to go gluten-free, these recipes are ideal for you" ["parent"]=> int(0) ["count"]=> int(20) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16866 (11) { ["term_id"]=> int(48) ["name"]=> string(17) "Grains and pulses" ["slug"]=> string(13) "grains-pulses" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(48) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(47) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#16869 (11) { ["term_id"]=> int(210) ["name"]=> string(18) "Healthy vegetarian" ["slug"]=> string(18) "healthy-vegetarian" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(210) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(31) "Diet-friendly meat-free feasts." ["parent"]=> int(0) ["count"]=> int(184) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#16868 (11) { ["term_id"]=> int(12532) ["name"]=> string(5) "Iftar" ["slug"]=> string(5) "iftar" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(12532) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(28) "A selection of Iftar recipes" ["parent"]=> int(0) ["count"]=> int(83) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16874 (11) { ["term_id"]=> int(120) ["name"]=> string(17) "Modern vegetarian" ["slug"]=> string(17) "modern-vegetarian" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(120) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(35) "Veggie recipes for the whole family" ["parent"]=> int(0) ["count"]=> int(156) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#16870 (11) { ["term_id"]=> int(397) ["name"]=> string(6) "Quinoa" ["slug"]=> string(6) "quinoa" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(397) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(57) "Delicious recipes to try with this high-protein superfood" ["parent"]=> int(0) ["count"]=> int(53) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#16867 (11) { ["term_id"]=> int(141) ["name"]=> string(13) "Quinoa magic!" ["slug"]=> string(13) "b8cgfm3_admin" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(141) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(50) "Try this superfood in our super delicious recipes." ["parent"]=> int(0) ["count"]=> int(15) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#16876 (11) { ["term_id"]=> int(12531) ["name"]=> string(7) "Ramadan" ["slug"]=> string(7) "ramadan" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(12531) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(160) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#16871 (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(135) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#16872 (11) { ["term_id"]=> int(154) ["name"]=> string(13) "Summer salads" ["slug"]=> string(13) "summer-salads" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(154) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(99) "These light, refreshing and nutritious salads are perfect for tucking into during the hotter months" ["parent"]=> int(0) ["count"]=> int(115) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#16783 (11) { ["term_id"]=> int(46) ["name"]=> string(10) "Vegetables" ["slug"]=> string(10) "vegetables" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(46) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(136) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [16]=> object(WP_Term)#16818 (11) { ["term_id"]=> int(413) ["name"]=> string(10) "Vegetarian" ["slug"]=> string(10) "vegetarian" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(413) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(43) "Meat-free recipes for entertaining and more" ["parent"]=> int(0) ["count"]=> int(582) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#16885 (11) { ["term_id"]=> int(12) ["name"]=> string(16) "Vegetarian party" ["slug"]=> string(16) "vegetarian-party" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(12) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(35) "Impress with an imaginative spread." ["parent"]=> int(0) ["count"]=> int(121) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [18]=> object(WP_Term)#16852 (11) { ["term_id"]=> int(83) ["name"]=> string(16) "Vegetarian pasta" ["slug"]=> string(16) "vegetarian-pasta" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(83) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(25) "From linguine to lasagne." ["parent"]=> int(0) ["count"]=> int(50) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [19]=> object(WP_Term)#16562 (11) { ["term_id"]=> int(14) ["name"]=> string(16) "Vegetarian salad" ["slug"]=> string(16) "vegetarian-salad" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(14) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(43) "Stylish and substantial main course salads." ["parent"]=> int(0) ["count"]=> int(97) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [20]=> object(WP_Term)#16858 (11) { ["term_id"]=> int(84) ["name"]=> string(18) "Vegetarian starter" ["slug"]=> string(18) "vegetarian-starter" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(84) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(57) "Meat-free starters such as halloumi and watermelon salad." ["parent"]=> int(0) ["count"]=> int(99) ["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 ( 14065, 38124123195155482101253212039714112531421544641312831484 ) OR rd.ingredients LIKE '%5-a-day%' OR rd.ingredients LIKE '% Cauliflower%' OR rd.ingredients LIKE '% Family food%' OR rd.ingredients LIKE '% Fennel%' OR rd.ingredients LIKE '% Folate%' OR rd.ingredients LIKE '% Healthy%' OR rd.ingredients LIKE '% Quinoa%' OR rd.ingredients LIKE '% Vitamin c%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 24233 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16