POST-ID:24983
array(13) {
[0]=>
object(WP_Term)#15809 (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(159)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#15807 (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(35) "Our favourite low calorie dishes..."
["parent"]=>
int(0)
["count"]=>
int(292)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#15808 (11) {
["term_id"]=>
int(177)
["name"]=>
string(18) "Cheap family meals"
["slug"]=>
string(20) "cheap-family-suppers"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(177)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(47) "Wholesome, budget suppers for the whole family."
["parent"]=>
int(0)
["count"]=>
int(114)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#15806 (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(484)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#15810 (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(292)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#15811 (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"
}
[6]=>
object(WP_Term)#15815 (11) {
["term_id"]=>
int(205)
["name"]=>
string(16) "Healthy sandwich"
["slug"]=>
string(16) "healthy-sandwich"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(205)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(102) "Rolls, bagels, baps and wraps - make a lunchtime bite that's delicious, filling and nutritious..."
["parent"]=>
int(0)
["count"]=>
int(21)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#15733 (11) {
["term_id"]=>
int(213)
["name"]=>
string(12) "Light supper"
["slug"]=>
string(12) "light-supper"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(213)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(44) "Light on the stomach, light on the calories."
["parent"]=>
int(0)
["count"]=>
int(64)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[8]=>
object(WP_Term)#15734 (11) {
["term_id"]=>
int(95)
["name"]=>
string(15) "No cook suppers"
["slug"]=>
string(15) "no-cook-suppers"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(95)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(161) "Sick of the sight of your kitchen after the festive furore? These fuss-free suppers use ingredients that require no cooking at all. Assemble and sit back…"
["parent"]=>
int(0)
["count"]=>
int(23)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[9]=>
object(WP_Term)#15830 (11) {
["term_id"]=>
int(905)
["name"]=>
string(6) "Picnic"
["slug"]=>
string(6) "picnic"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(905)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(46)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[10]=>
object(WP_Term)#15838 (11) {
["term_id"]=>
int(11592)
["name"]=>
string(5) "prawn"
["slug"]=>
string(5) "prawn"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(11592)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(44)
["count"]=>
int(15)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[11]=>
object(WP_Term)#15723 (11) {
["term_id"]=>
int(333)
["name"]=>
string(8) "Sandwich"
["slug"]=>
string(8) "sandwich"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(333)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(20) "Fresh filling ideas."
["parent"]=>
int(0)
["count"]=>
int(42)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[12]=>
object(WP_Term)#15805 (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(68)
["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, 1691774094442052139590511592333163 ) OR rd.ingredients LIKE '%Cucumber%' OR rd.ingredients LIKE '% Family recipes%' OR rd.ingredients LIKE '% Lettuce%' OR rd.ingredients LIKE '% Picnic%' OR rd.ingredients LIKE '% Prawns%' OR rd.ingredients LIKE '% Sandwiches%' OR rd.ingredients LIKE '% sub rolls%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 24983 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16