widget should respect num_posts param