POST-ID:24455 array(14) { [0]=> object(WP_Term)#13087 (11) { ["term_id"]=> int(133) ["name"]=> string(11) "A cut above" ["slug"]=> string(11) "a-cut-above" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(133) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(145) "Take some care and attention when cooking with meat- whether slow-roasting a joint or flash frying a steak. Check out our favourite meat recipes." ["parent"]=> int(0) ["count"]=> int(78) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#13086 (11) { ["term_id"]=> int(99) ["name"]=> string(8) "Barbecue" ["slug"]=> string(8) "barbecue" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(99) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(104) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#13085 (11) { ["term_id"]=> int(102) ["name"]=> string(14) "Barbecue bites" ["slug"]=> string(14) "barbecue-bites" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(102) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(54) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#12290 (11) { ["term_id"]=> int(98) ["name"]=> string(15) "Camping recipes" ["slug"]=> string(7) "camping" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(98) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(22) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#12287 (11) { ["term_id"]=> int(902) ["name"]=> string(11) "Celebration" ["slug"]=> string(11) "celebration" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(902) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(48) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#12294 (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(180) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#12288 (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" } [7]=> object(WP_Term)#12293 (11) { ["term_id"]=> int(34) ["name"]=> string(12) "Friday lunch" ["slug"]=> string(12) "friday-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(34) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(62) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#12291 (11) { ["term_id"]=> int(212) ["name"]=> string(12) "High-protein" ["slug"]=> string(12) "high-protein" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(212) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(98) "These high-protein picks are perfect for those who want to boost their intake from time to time..." ["parent"]=> int(0) ["count"]=> int(33) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#12285 (11) { ["term_id"]=> int(135) ["name"]=> string(18) "Make-ahead lunches" ["slug"]=> string(18) "make-ahead-lunches" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(135) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(190) "If you’re guilty of last-minute lunch buys that leave your wallet flatter than a soggy pre-packed sandwich, make-ahead some tempting treats to take you through the day in style…" ["parent"]=> int(0) ["count"]=> int(22) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#12289 (11) { ["term_id"]=> int(43) ["name"]=> string(4) "Meat" ["slug"]=> string(4) "meat" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(43) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(62) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#12282 (11) { ["term_id"]=> int(904) ["name"]=> string(12) "Sunday lunch" ["slug"]=> string(12) "sunday-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(904) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(56) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#12236 (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(97) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#13083 (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 ( 133, 99102989024368342121354390489654 ) OR rd.ingredients LIKE '%Beef brisket%' OR rd.ingredients LIKE '% Brisket%' OR rd.ingredients LIKE '% Iron%' OR rd.ingredients LIKE '% Sharing platter%' OR rd.ingredients LIKE '% smoked food%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 24455 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16