-
Hello, im tryna add “profile picture of 40px that also show the signed in user’s name color #ccc & badge(s) and a logout buttons” i am using the short code <?php echo do_shortcode(‘[userpro template=view profile_thumb_size=35 exclude_fields_by_name=”Profile Background” header_only=true layout=float align=left no_style=true ]’); ?> and this dosent work maybe im, doing something wrong, can you help or post the code i need to be using?
aslo i want to create the same section that is here http://userproplugin.com/userpro/profile/admin/ at the bottom left under the profile can you help?
Thanks in Advance
Hey,
You want do do something like this but use your own fields:
To put on profile page and change according to user URL.
[profile_by_url]Profession: [main_profession][/profile_by_url]
or
Anywhere on your site for the currently logged in user.
[userpro_loggedin]Profession: [main_profession] [/userpro_loggedin]@tberin [profile_by_url]Profession: [main_profession][/profile_by_url]
or [userpro_loggedin]Profession: [main_profession] [/userpro_loggedin]
doesnt work in “php”This shortcode works, tested on a page:
[userpro template=view profile_thumb_size=35 exclude_fields_by_name=”Profile Background” header_only=true layout=float align=left no_style=true]
What are you getting?
If you want to create the same ssection as in the demo profile, you need to do it with shortcodes. If you want to do it with php, you just need to do php integration (like gathering user data, profile pic etc) so you can have a fully customized look, here’s a starting guide
http://userproplugin.com/userpro/integration-guide/
If you need to know how to pull specififc user data, please ask , I am here to help and glad to!
The topic ‘[ Resolved ] Profile Pic..’ is closed to new replies.