Forums
-
- Forum
- Posts
-
- Installation
- 28,528
- Troubleshooting
- 62,960
- Themes
- 10,453
- Plugins
- 15,405
- Requests & Feedback
- 15,045
- Showcase
- 3,250
-
Why don’t you just use the code from the snippet you have? Just replace the printf() that outputs the role name with an echo(‘<img src=..) to output your badge instead.
With all the time you spent bumping this topic and being a condescending prat; you could easily have learned the required single line of PHP.