number of posts could be 'all' if config value is -1