POST-ID:51305 array(12) { [0]=> object(WP_Term)#16728 (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(546) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16724 (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(246) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#16721 (11) { ["term_id"]=> int(320) ["name"]=> string(3) "Jam" ["slug"]=> string(3) "jam" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(320) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(63) "A pot of your own fruity preserve will always beat shop-bought." ["parent"]=> int(0) ["count"]=> int(29) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16730 (11) { ["term_id"]=> int(321) ["name"]=> string(7) "Lasagne" ["slug"]=> string(7) "lasagne" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(321) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(43) "Cook up a classic just the way you like it." ["parent"]=> int(0) ["count"]=> int(26) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16725 (11) { ["term_id"]=> int(322) ["name"]=> string(8) "Meatball" ["slug"]=> string(8) "meatball" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(322) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(65) "Most cuisines have their very own version of these meaty patties." ["parent"]=> int(0) ["count"]=> int(38) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16726 (11) { ["term_id"]=> int(323) ["name"]=> string(6) "Noodle" ["slug"]=> string(6) "noodle" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(323) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(60) "Recipes for oodles of noodles, including soba, rice and egg." ["parent"]=> int(0) ["count"]=> int(46) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16618 (11) { ["term_id"]=> int(324) ["name"]=> string(8) "Omelette" ["slug"]=> string(8) "omelette" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(324) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(48) "Exciting ideas for fluffy and filling omelettes." ["parent"]=> int(0) ["count"]=> int(15) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#17553 (11) { ["term_id"]=> int(325) ["name"]=> string(7) "One-pot" ["slug"]=> string(7) "one-pot" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(325) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(62) "Create comfort in a pot with these filling, sumptuous recipes," ["parent"]=> int(0) ["count"]=> int(84) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#16739 (11) { ["term_id"]=> int(326) ["name"]=> string(5) "Pasta" ["slug"]=> string(5) "pasta" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(326) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(47) "Delicious pasta dishes from spaghetti to soups." ["parent"]=> int(0) ["count"]=> int(115) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16706 (11) { ["term_id"]=> int(327) ["name"]=> string(10) "Pasta bake" ["slug"]=> string(10) "pasta-bake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(327) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(39) "Serve up a hearty bake to feed a crowd." ["parent"]=> int(0) ["count"]=> int(55) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#16657 (11) { ["term_id"]=> int(328) ["name"]=> string(23) "Pickle, jam and chutney" ["slug"]=> string(25) "pickles-jams-and-chutneys" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(328) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(42) "Add relish to your cooking with preserves." ["parent"]=> int(0) ["count"]=> int(33) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#16723 (11) { ["term_id"]=> int(329) ["name"]=> string(3) "Pie" ["slug"]=> string(3) "pie" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(329) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(86) "Perfect pastry and delicious fillings, both sweet and savoury. Cut a slice and dig in." ["parent"]=> int(0) ["count"]=> int(57) ["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, 32320321322323324325326327328329 ) OR rd.ingredients LIKE '%Christmas canapes%' OR rd.ingredients LIKE '% Jalapeno%' OR rd.ingredients LIKE '% pinwheels%' OR rd.ingredients LIKE '% Puff pastry%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 51305 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16