extract path creation for posts