POST-ID:30418
array(14) {
[0]=>
object(WP_Term)#16181 (11) {
["term_id"]=>
int(158)
["name"]=>
string(15) "20-minute meals"
["slug"]=>
string(15) "20-minute-meals"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(158)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(90) "Super-quick and easy to make, these meals are great for preparing after a long day at work"
["parent"]=>
int(0)
["count"]=>
int(164)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#16176 (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(211)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16178 (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(531)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16180 (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"
}
[4]=>
object(WP_Term)#16175 (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"
}
[5]=>
object(WP_Term)#16184 (11) {
["term_id"]=>
int(358)
["name"]=>
string(13) "Fabulous fish"
["slug"]=>
string(13) "fabulous-fish"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(358)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(65) "Tantalise your tastebuds with spicy seafood and flavoursome fish."
["parent"]=>
int(0)
["count"]=>
int(74)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#16177 (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(318)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#16179 (11) {
["term_id"]=>
int(44)
["name"]=>
string(4) "Fish"
["slug"]=>
string(4) "fish"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(44)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(111)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[8]=>
object(WP_Term)#16117 (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(45) "Guilt-free options for the conscientious host"
["parent"]=>
int(0)
["count"]=>
int(120)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[9]=>
object(WP_Term)#16082 (11) {
["term_id"]=>
int(200)
["name"]=>
string(12) "Healthy fish"
["slug"]=>
string(12) "healthy-fish"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(200)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(109) "From lighter pies to makeover fish & chips, nothing's off the menu with our healthier fish dishes..."
["parent"]=>
int(0)
["count"]=>
int(52)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[10]=>
object(WP_Term)#16199 (11) {
["term_id"]=>
int(216)
["name"]=>
string(18) "Low-calorie dinner"
["slug"]=>
string(18) "low-calorie-dinner"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(216)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(41) "Delicious dinners all under 400 calories."
["parent"]=>
int(0)
["count"]=>
int(84)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[11]=>
object(WP_Term)#16160 (11) {
["term_id"]=>
int(225)
["name"]=>
string(15) "Low-salt dinner"
["slug"]=>
string(15) "low-salt-dinner"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(225)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(57) "Skipping the sodium doesn't mean losing any flavour."
["parent"]=>
int(0)
["count"]=>
int(41)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[12]=>
object(WP_Term)#15916 (11) {
["term_id"]=>
int(11591)
["name"]=>
string(6) "salmon"
["slug"]=>
string(6) "salmon"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(11591)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(10)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[13]=>
object(WP_Term)#16173 (11) {
["term_id"]=>
int(163)
["name"]=>
string(19) "Scrumptious seafood"
["slug"]=>
string(18) "let-s-have-lobster"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(163)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(71) "From crustaceans to cod, we've compiled some tasty recipes for you"
["parent"]=>
int(0)
["count"]=>
int(70)
["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 ( 158, 8954094103235844419920021622511591163 ) OR rd.ingredients LIKE '%Little Gem%' OR rd.ingredients LIKE '% Omega 3%' OR rd.ingredients LIKE '% Peas%' OR rd.ingredients LIKE '% quick dishes%' OR rd.ingredients LIKE '% Salmon%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 30418 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16