Using the following snippet, you will be able to add nofollow attribute to category specific links in WordPress.

Snippet Source/Credit: WPRecipes