163 reputation
4
bio website mikebajur.com
location Poland
age 25
visits member for 2 years, 10 months
seen Jun 29 '13 at 11:38

Sep
28
awarded  Scholar
Sep
28
awarded  Supporter
Sep
28
accepted Overwrite category head title
Sep
28
asked Overwrite category head title
Feb
18
revised Plugin for TinyMCE to create reference to other posts
added 80 characters in body
Feb
18
answered Plugin for TinyMCE to create reference to other posts
Dec
24
awarded  Teacher
Dec
24
awarded  Editor
Dec
24
comment Problem displaying one post from each category
check out my answer, i've tested your code on my wordpress installation and fixed it. The working snippet is in original answer.
Dec
24
revised Problem displaying one post from each category
added 1161 characters in body
Dec
24
comment Problem displaying one post from each category
yes, that's true, that's why while using query_posts, you can add wp_reset_query() after your custom loop to avoid such problem. That's how i was allways doing custom loops, query_posts() + wp_query_reset() and it allways works :)
Dec
24
comment Problem displaying one post from each category
but have you tried using cat ? It might be a misstake in a get_posts() codex page because almost every other wordpress function (which is based on WP_Query) uses cat argument. You can also try using query_posts() instead of get_posts()
Dec
24
answered Problem displaying one post from each category