POST-ID:23682
array(15) {
[0]=>
object(WP_Term)#16490 (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(147) "Low in calories yet super-satisfying – these lighter recipes make the most of delicious ingredients. Discover salads, stir-fries, stews and more."
["parent"]=>
int(0)
["count"]=>
int(299)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#16493 (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(125)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16492 (11) {
["term_id"]=>
int(235)
["name"]=>
string(14) "Budget recipes"
["slug"]=>
string(14) "budget-recipes"
["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(122)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16498 (11) {
["term_id"]=>
int(47)
["name"]=>
string(5) "Dairy"
["slug"]=>
string(5) "dairy"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(47)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(51)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#16494 (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(324)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#16491 (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(33)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#16500 (11) {
["term_id"]=>
int(197)
["name"]=>
string(7) "Healthy"
["slug"]=>
string(7) "healthy"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(197)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(52) "Packed with the good stuff to get you feeling great."
["parent"]=>
int(0)
["count"]=>
int(161)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#16495 (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"
}
[8]=>
object(WP_Term)#16496 (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"
}
[9]=>
object(WP_Term)#16409 (11) {
["term_id"]=>
int(300)
["name"]=>
string(6) "Indian"
["slug"]=>
string(6) "indian"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(300)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(45) "Spicy Eastern recipes such as masala chicken."
["parent"]=>
int(0)
["count"]=>
int(139)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[10]=>
object(WP_Term)#16444 (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(153)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[11]=>
object(WP_Term)#16509 (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(73)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[12]=>
object(WP_Term)#16476 (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(561)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[13]=>
object(WP_Term)#16231 (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(119)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[14]=>
object(WP_Term)#16488 (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(98)
["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, 1103235474481972062103001201784131284 ) OR rd.ingredients LIKE '%dahi bhalle%' OR rd.ingredients LIKE '% Holi festival%' OR rd.ingredients LIKE '% Indian dumplings%' OR rd.ingredients LIKE '% lentil dumplings%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 23682 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16