POST-ID:30422
array(12) {
[0]=>
object(WP_Term)#16495 (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(532)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#16492 (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(304)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16488 (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"
}
[3]=>
object(WP_Term)#16484 (11) {
["term_id"]=>
int(75)
["name"]=>
string(9) "Eid feast"
["slug"]=>
string(11) "eid-cooking"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(75)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(84) "Traditional Arabic delicacies to enjoy cooking and serving up over the long weekend!"
["parent"]=>
int(0)
["count"]=>
int(125)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#16485 (11) {
["term_id"]=>
int(368)
["name"]=>
string(12) "Father's Day"
["slug"]=>
string(11) "fathers-day"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(368)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(60) "Brilliant ideas for treating Dad to something extra special."
["parent"]=>
int(0)
["count"]=>
int(64)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#16487 (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(80)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#16419 (11) {
["term_id"]=>
int(305)
["name"]=>
string(8) "Moroccan"
["slug"]=>
string(8) "moroccan"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(305)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(69) "Exotic North African dishes that are big on flavour, aroma and spice."
["parent"]=>
int(0)
["count"]=>
int(41)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#16384 (11) {
["term_id"]=>
int(405)
["name"]=>
string(20) "Moroccan in Cuisines"
["slug"]=>
string(20) "moroccan-in-cuisines"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(405)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(53)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[8]=>
object(WP_Term)#16501 (11) {
["term_id"]=>
int(370)
["name"]=>
string(12) "Mother's Day"
["slug"]=>
string(11) "mothers-day"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(370)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(26) "Recipes to treat your mum."
["parent"]=>
int(0)
["count"]=>
int(54)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[9]=>
object(WP_Term)#16468 (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(59)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[10]=>
object(WP_Term)#16210 (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"
}
[11]=>
object(WP_Term)#16483 (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 ( 409, 41032753681253230540537010089654 ) OR rd.ingredients LIKE '%Chickpeas%' OR rd.ingredients LIKE '% Couscous%' OR rd.ingredients LIKE '% Lamb%' OR rd.ingredients LIKE '% Lamb shoulder%' OR rd.ingredients LIKE '% Ras el hanout%' OR rd.ingredients LIKE '% Slow-roast%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 30422 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16