POST-ID:26865 array(25) { [0]=> object(WP_Term)#12830 (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" } [1]=> object(WP_Term)#12831 (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" } [2]=> object(WP_Term)#12832 (11) { ["term_id"]=> int(343) ["name"]=> string(13) "Batch cooking" ["slug"]=> string(13) "batch-cooking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(343) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(49) "Pack your freezer full of homemade midweek meals." ["parent"]=> int(0) ["count"]=> int(48) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#12833 (11) { ["term_id"]=> int(422) ["name"]=> string(10) "BBQ dishes" ["slug"]=> string(10) "bbq-dishes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(422) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(51) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#12834 (11) { ["term_id"]=> int(142) ["name"]=> string(7) "BBQ fun" ["slug"]=> string(24) "barbecue-or-oven-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(142) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(40) "Cater for your crowd come rain or shine." ["parent"]=> int(0) ["count"]=> int(30) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#12835 (11) { ["term_id"]=> int(352) ["name"]=> string(13) "Bonfire Night" ["slug"]=> string(13) "bonfire-night" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(352) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(38) "Remember remember the 5th of November." ["parent"]=> int(0) ["count"]=> int(48) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#12836 (11) { ["term_id"]=> int(68) ["name"]=> string(6) "Buffet" ["slug"]=> string(6) "buffet" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(68) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(31) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#12837 (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" } [8]=> object(WP_Term)#12838 (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(105) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#12839 (11) { ["term_id"]=> int(415) ["name"]=> string(7) "Chicken" ["slug"]=> string(7) "chicken" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(415) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(84) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#12840 (11) { ["term_id"]=> int(170) ["name"]=> string(12) "Clean eating" ["slug"]=> string(20) "clean-eating-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(170) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(95) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#12841 (11) { ["term_id"]=> int(67) ["name"]=> string(7) "Courses" ["slug"]=> string(7) "courses" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(67) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(25) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#12842 (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(178) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#12843 (11) { ["term_id"]=> int(196) ["name"]=> string(15) "Healthier roast" ["slug"]=> string(15) "healthier-roast" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(196) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(22) "Better-for-you roasts." ["parent"]=> int(0) ["count"]=> int(25) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#12844 (11) { ["term_id"]=> int(197) ["name"]=> string(7) "Healthy" ["slug"]=> string(7) "healthy" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(197) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(52) "Packed with the good stuff to get you feeling great." ["parent"]=> int(0) ["count"]=> int(108) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#12845 (11) { ["term_id"]=> int(211) ["name"]=> string(14) "Healthy winter" ["slug"]=> string(14) "healthy-winter" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(211) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(54) "Healthy and hearty winter warmers for colder nights..." ["parent"]=> int(0) ["count"]=> int(65) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [16]=> object(WP_Term)#12846 (11) { ["term_id"]=> int(143) ["name"]=> string(14) "Hearty lunches" ["slug"]=> string(21) "healthy-lunch-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(143) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(51) "Keep your healthy eating regime on the right track." ["parent"]=> int(0) ["count"]=> int(76) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#12040 (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(27) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [18]=> object(WP_Term)#12043 (11) { ["term_id"]=> int(232) ["name"]=> string(14) "School holiday" ["slug"]=> string(14) "school-holiday" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(232) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(49) "Fun recipes to keep kids occupied over the break." ["parent"]=> int(0) ["count"]=> int(50) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [19]=> object(WP_Term)#12042 (11) { ["term_id"]=> int(52) ["name"]=> string(18) "Seasonal September" ["slug"]=> string(8) "seasonal" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(52) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(47) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [20]=> object(WP_Term)#12041 (11) { ["term_id"]=> int(172) ["name"]=> string(15) "Sharing recipes" ["slug"]=> string(7) "sharing" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(172) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(53) "Platters and dig-in dinners for relaxed entertaining." ["parent"]=> int(0) ["count"]=> int(46) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [21]=> object(WP_Term)#12063 (11) { ["term_id"]=> int(144) ["name"]=> string(26) "Sharing-style dinner party" ["slug"]=> string(26) "sharing-style-dinner-party" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(144) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(105) "Spend less time at the stove-top and more time entertaining, with these easy-to-make dinner party dishes." ["parent"]=> int(0) ["count"]=> int(114) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [22]=> object(WP_Term)#12077 (11) { ["term_id"]=> int(418) ["name"]=> string(13) "Smoked dishes" ["slug"]=> string(13) "smoked-dishes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(418) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(57) "Try your hand at smoked food with these delicious recipes" ["parent"]=> int(0) ["count"]=> int(24) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [23]=> object(WP_Term)#12003 (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(55) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [24]=> object(WP_Term)#12828 (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" } }
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 ( 99, 102343422142352689817741517067419619721114390523252172144418904896 ) OR rd.ingredients LIKE '%alfresco dining%' OR rd.ingredients LIKE '% Barbecue%' OR rd.ingredients LIKE '% Chicken%' OR rd.ingredients LIKE '% Kebab%' OR rd.ingredients LIKE '% summer foods%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 26865 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16