Need shortcode or function to display verified badge in template
-
Hello,
I’m building some custom templates using Elementor that include author info displayed in a box/card layout, complete with the profile type, bio, and a follow button. I’d love to add the verified badge in front of the author name for any authors who are verified on the platform.
I need a shortcode that will display the badge if the user in question (determined by providing a user ID) is verified, or output nothing if the user isn’t verified.
If such a shortcode isn’t available, I can create it myself, if you can provide a function to check if a user (determined by providing a user ID) is verified or not. If the function can also output the badge, even better, but at bare minimum, the function should return true if the user in question is verified.
Please help.
- The topic ‘Need shortcode or function to display verified badge in template’ is closed to new replies.