POST-ID:24981
array(15) {
  [0]=>
  object(WP_Term)#18342 (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(148) "Throw your own afternoon tea party with our selection of teatime treats, from delicate scones, cakes and patisserie to savoury pies and scotch eggs."
    ["parent"]=>
    int(0)
    ["count"]=>
    int(127)
    ["filter"]=>
    string(3) "raw"
    ["term_order"]=>
    string(1) "0"
  }
  [1]=>
  object(WP_Term)#18343 (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(148) "Throw your own afternoon tea party with our selection of teatime treats, from delicate scones, cakes and patisserie to savoury pies and scotch eggs."
    ["parent"]=>
    int(0)
    ["count"]=>
    int(111)
    ["filter"]=>
    string(3) "raw"
    ["term_order"]=>
    string(1) "0"
  }
  [2]=>
  object(WP_Term)#18344 (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(351)
    ["filter"]=>
    string(3) "raw"
    ["term_order"]=>
    string(1) "0"
  }
  [3]=>
  object(WP_Term)#18351 (11) {
    ["term_id"]=>
    int(206)
    ["name"]=>
    string(13) "Healthy snack"
    ["slug"]=>
    string(13) "healthy-snack"
    ["term_group"]=>
    int(0)
    ["term_taxonomy_id"]=>
    int(206)
    ["taxonomy"]=>
    string(15) "bbc_collections"
    ["description"]=>
    string(28) "Dips, muffins and much more."
    ["parent"]=>
    int(0)
    ["count"]=>
    int(56)
    ["filter"]=>
    string(3) "raw"
    ["term_order"]=>
    string(1) "0"
  }
  [4]=>
  object(WP_Term)#18355 (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(185)
    ["filter"]=>
    string(3) "raw"
    ["term_order"]=>
    string(1) "0"
  }
  [5]=>
  object(WP_Term)#18345 (11) {
    ["term_id"]=>
    int(12532)
    ["name"]=>
    string(13) "Iftar recipes"
    ["slug"]=>
    string(5) "iftar"
    ["term_group"]=>
    int(0)
    ["term_taxonomy_id"]=>
    int(12532)
    ["taxonomy"]=>
    string(15) "bbc_collections"
    ["description"]=>
    string(33) "Break your fast with these dishes"
    ["parent"]=>
    int(0)
    ["count"]=>
    int(85)
    ["filter"]=>
    string(3) "raw"
    ["term_order"]=>
    string(1) "0"
  }
  [6]=>
  object(WP_Term)#18348 (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"
  }
  [7]=>
  object(WP_Term)#18346 (11) {
    ["term_id"]=>
    int(905)
    ["name"]=>
    string(6) "Picnic"
    ["slug"]=>
    string(6) "picnic"
    ["term_group"]=>
    int(0)
    ["term_taxonomy_id"]=>
    int(905)
    ["taxonomy"]=>
    string(15) "bbc_collections"
    ["description"]=>
    string(0) ""
    ["parent"]=>
    int(0)
    ["count"]=>
    int(58)
    ["filter"]=>
    string(3) "raw"
    ["term_order"]=>
    string(1) "0"
  }
  [8]=>
  object(WP_Term)#18347 (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(162)
    ["filter"]=>
    string(3) "raw"
    ["term_order"]=>
    string(1) "0"
  }
  [9]=>
  object(WP_Term)#18297 (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(137)
    ["filter"]=>
    string(3) "raw"
    ["term_order"]=>
    string(1) "0"
  }
  [10]=>
  object(WP_Term)#18261 (11) {
    ["term_id"]=>
    int(178)
    ["name"]=>
    string(6) "Snacks"
    ["slug"]=>
    string(6) "snacks"
    ["term_group"]=>
    int(0)
    ["term_taxonomy_id"]=>
    int(178)
    ["taxonomy"]=>
    string(15) "bbc_collections"
    ["description"]=>
    string(0) ""
    ["parent"]=>
    int(0)
    ["count"]=>
    int(77)
    ["filter"]=>
    string(3) "raw"
    ["term_order"]=>
    string(1) "0"
  }
  [11]=>
  object(WP_Term)#18357 (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(584)
    ["filter"]=>
    string(3) "raw"
    ["term_order"]=>
    string(1) "0"
  }
  [12]=>
  object(WP_Term)#18328 (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"
  }
  [13]=>
  object(WP_Term)#18087 (11) {
    ["term_id"]=>
    int(26)
    ["name"]=>
    string(27) "Vegetarian recipes for kids"
    ["slug"]=>
    string(15) "vegetarian-kids"
    ["term_group"]=>
    int(0)
    ["term_taxonomy_id"]=>
    int(26)
    ["taxonomy"]=>
    string(15) "bbc_collections"
    ["description"]=>
    string(0) ""
    ["parent"]=>
    int(0)
    ["count"]=>
    int(78)
    ["filter"]=>
    string(3) "raw"
    ["term_order"]=>
    string(1) "0"
  }
  [14]=>
  object(WP_Term)#18340 (11) {
    ["term_id"]=>
    int(896)
    ["name"]=>
    string(7) "Weekend"
    ["slug"]=>
    string(7) "weekend"
    ["term_group"]=>
    int(0)
    ["term_taxonomy_id"]=>
    int(896)
    ["taxonomy"]=>
    string(15) "bbc_collections"
    ["description"]=>
    string(0) ""
    ["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 ( 1103, 3542062101253212090512531421784131226896 ) OR rd.ingredients LIKE '%Baking%' OR rd.ingredients LIKE '% Cheese and onion%' OR rd.ingredients LIKE '% Family food%' OR rd.ingredients LIKE '% Pasties%' OR rd.ingredients LIKE '% PASTRY%' OR rd.ingredients LIKE '% Picnic%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 24981 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16