extracted setAllPostsOpacity