View Profile

This shortcode will display the user’s profile, like this example.

How to Embed This Shortcode in Editor

[userpro template=view]

How to Embed This Shortcode with PHP

<?php echo do_shortcode('[userpro template=view]'); ?>

Shortcode Options


Options are used to customize the shortcode and can be assigned as a pair option=value in your shortcode like this.

[userpro template=view option=value]

  • profile_thumb_size – This will change profile image width and height. Default: width & height is 80
  • header_only – If enabled,this shows the only header of the UserPro profile. Default: 0
  • logout_redirect – Redirect the URL after successfull logout.For example,enter the “” Default: Login template

Was this article helpful?

Related Articles

Leave A Comment?