If there is an editor instead of an author, you would simply insert the editor's name in the place where the author's name is now, followed by (Ed.). The rest of the format would remain the same.
You can also name the author in your sentence. If you do this, there is no need to repeat it in the in-text citation. Be sure to provide the year (in parentheses) immedately following the author's name. If you are quoting the author instead of paraphrasing, be sure to also include the specific page number after the quotation.
Grammar expert Geraldine Woods (2001) reminds writers that they can't rely completely on compter spelling and grammar checkers.
Geraldine Woods (2011) reminds writers that "no program can catch all of your mistakes, and most programs identify errors that aren't actually wrong" (p. 15).