POST-ID:22171
array(10) {
[0]=>
object(WP_Term)#15798 (11) {
["term_id"]=>
int(310)
["name"]=>
string(12) "Baked potato"
["slug"]=>
string(12) "baked-potato"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(310)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(61) "Perfect your spud technique then pile our filling ideas high."
["parent"]=>
int(0)
["count"]=>
int(32)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#15802 (11) {
["term_id"]=>
int(345)
["name"]=>
string(12) "Comfort food"
["slug"]=>
string(12) "comfort-food"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(345)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(34) "Warming recipes for winter nights."
["parent"]=>
int(0)
["count"]=>
int(87)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#15803 (11) {
["term_id"]=>
int(386)
["name"]=>
string(11) "Easy baking"
["slug"]=>
string(11) "easy-baking"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(386)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(47) "Simple cakes, cupcakes, traybakes and biscuits."
["parent"]=>
int(0)
["count"]=>
int(145)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#15807 (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(298)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#15724 (11) {
["term_id"]=>
int(359)
["name"]=>
string(27) "Food to get you in the mood"
["slug"]=>
string(27) "food-to-get-you-in-the-mood"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(359)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(36) "Recipes to make you feel romantic..."
["parent"]=>
int(0)
["count"]=>
int(35)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#16594 (11) {
["term_id"]=>
int(199)
["name"]=>
string(20) "Healthy dinner party"
["slug"]=>
string(20) "healthy-dinner-party"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(199)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(46) "Guilt-free options for the conscientious host."
["parent"]=>
int(0)
["count"]=>
int(115)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#15822 (11) {
["term_id"]=>
int(211)
["name"]=>
string(14) "Healthy winter"
["slug"]=>
string(14) "healthy-winter"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(211)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(54) "Healthy and hearty winter warmers for colder nights..."
["parent"]=>
int(0)
["count"]=>
int(70)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#15830 (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(60)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[8]=>
object(WP_Term)#15725 (11) {
["term_id"]=>
int(144)
["name"]=>
string(26) "Sharing-style dinner party"
["slug"]=>
string(26) "sharing-style-dinner-party"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(144)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(105) "Spend less time at the stove-top and more time entertaining, with these easy-to-make dinner party dishes."
["parent"]=>
int(0)
["count"]=>
int(135)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[9]=>
object(WP_Term)#15799 (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(554)
["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 ( 310, 34538641035919921178144413 ) OR rd.ingredients LIKE '%creamy potatoes%' OR rd.ingredients LIKE '% Duchess potatoes%' OR rd.ingredients LIKE '% Grana padano%' OR rd.ingredients LIKE '% Mashed potatoes%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 22171 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16