I would like to hide some portion in view post base on author.
My requirement is that I have an job board theme and user can post the job. So there is "How to Apply" section in detail page.
Now, I want to auto post from other job site feed by using a author called "Aggregator". He has a role called "Aggregator".
So I want to hide "How To Apply" section, if post author role is "Aggregator".
May I know How to get and check post author role?