Updated references to identifiers with changed names
I declared these variables with the wrong syntax.  Also, the methods for
Post() have pointer receivers, so append the pointer of the specific
post type