Set maxItemsPerPost from settings