-
I know there is an author box shortcode; however, I am wondering if there is any combination of shortcode parameters that will give me something similar to the format in the image attached. I have tried a few and nothing seems to get that format.
Basic format I’m looking for. Avatar(with badges etc.) below it on the left with title(“About the Author”), name, bio, and a link to their full profile.
Any tips here would be much appreciated!
PS. This shortcode will be placed in an After Post widget area
Hi 🙂
UserPro does not have such template yet, but you could build it if you knew a bit of html and css, plus the UserPro API which gives you access to user data easily.
e.g. avatar can be returned with: echo get_avatar($user_id, $size=50);
User display name can be returned with: userpro_profile_data(‘display_name’, $user_id);
Description: userpro_profile_data(‘description’, $user_id);
Badges: userpro_show_badges($user_id, $inline=true);
And so on 🙂
Hey Ahmed,
Thanks for the reply!
I’m still just learning PHP, and it looks like I would need to know a bit of PHP for this as well? Maybe if I play around with it a bit I can get something working.
If you ever get a chance to add something like an author box for below all posts I think that would be a great addition to the already existing templates! 😀
Hi Siege,
any news about your proposal Author box ?Regards
If you can use the UserPro API with some css / php you can build the author box of your dreams easily. I’ve aready gave instructions how to gab author’s pic, name, bio for example. 🙂
You must be logged in to reply to this topic.