Is there any way to display different data in an author.phpauthor.php
profile template depending on the role of the profile displayed? (NOT of the person viewing it, but the author that particular profile refers to).
If a profile is being displayed of an author with role editoreditor
, then some content would be displayed, and if the profile belongs to an author with role contributorcontributor
, then some other stuff would be displayed.
I haven't found an answer for this anywhere yet. Can it be done?