I need a function that returns true when the author is an admin or an editor or of a certain role.
I can’t use is_single because I have set up a forum and there are a million singles out there and I need a different layout for THE posts (the ones written in the blog by admins and editors) than from the forum entries
author_can()
seems to fit.Example: