changes core sample from post to page