POST-ID:24239
array(13) {
[0]=>
object(WP_Term)#16490 (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(155) "Discover the joys of a simple baked potato with our delicious filling ideas. From creamy cheeses to vegan-friendly toppings, we have something for everyone"
["parent"]=>
int(0)
["count"]=>
int(32)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#16496 (11) {
["term_id"]=>
int(274)
["name"]=>
string(30) "Christmas roast potato recipes"
["slug"]=>
string(22) "christmas-roast-potato"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(274)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(38) "Perfect your roasties for the big day."
["parent"]=>
int(0)
["count"]=>
int(35)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16492 (11) {
["term_id"]=>
int(895)
["name"]=>
string(12) "Dinner party"
["slug"]=>
string(12) "dinner-party"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(895)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(214)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16489 (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(538)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#16498 (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(310)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#16493 (11) {
["term_id"]=>
int(32)
["name"]=>
string(17) "Easy entertaining"
["slug"]=>
string(17) "easy-entertaining"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(32)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(245)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#16494 (11) {
["term_id"]=>
int(196)
["name"]=>
string(15) "Healthier roast"
["slug"]=>
string(15) "healthier-roast"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(196)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(22) "Better-for-you roasts."
["parent"]=>
int(0)
["count"]=>
int(27)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#16407 (11) {
["term_id"]=>
int(33)
["name"]=>
string(5) "Party"
["slug"]=>
string(10) "party-food"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(33)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(119)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[8]=>
object(WP_Term)#16442 (11) {
["term_id"]=>
int(100)
["name"]=>
string(6) "Roasts"
["slug"]=>
string(6) "roasts"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(100)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(60)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[9]=>
object(WP_Term)#16507 (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(137)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[10]=>
object(WP_Term)#16474 (11) {
["term_id"]=>
int(902)
["name"]=>
string(24) "Special occasion recipes"
["slug"]=>
string(24) "special-occasion-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(902)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(175) "Mark special celebrations with something cooked from the heart – from birthday and wedding cakes, to seasonal favourites, and calendar events, create the perfect party menu."
["parent"]=>
int(0)
["count"]=>
int(51)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[11]=>
object(WP_Term)#16233 (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"
}
[12]=>
object(WP_Term)#16488 (11) {
["term_id"]=>
int(54)
["name"]=>
string(13) "Winter Roasts"
["slug"]=>
string(13) "winter-roasts"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(54)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["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 ( 310, 27489540941032196331001449021254 ) OR rd.ingredients LIKE '%Hasselback potatoes%' OR rd.ingredients LIKE '% Potatoes%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 24239 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16