Moved code for posts to one section only