Academic Help: Punctuating In-Text Citations
The period always goes after the last closing parenthesis in an in-text citation.
According to cycling coach Jonah Smith, “chocolate milk is the perfect recovery drink after a long ride” (34).
The author is “Johan Smith,” and he is mentioned in the signal phrase; what he said is the quoted material; what follows is the citation–notice the page number is within parenthesis, and the period ENDS the sentence. The source IS part of the sentence.