A word or clause coming between the subject and verb doesn't change the subject-verb agreement. Such word or clause is called an "intervening word" or "intervening phrase". Examples of intervening words or phrases include:
The subject still determines whether the verb is singular or plural in order to adhere to the subject-verb agreement: