Following

This shortcode will display the following of user profile in a list way. See live example

How to Embed This Shortcode in Editor

[userpro template=following]

How to Embed This Shortcode with PHP

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

Shortcode Options

Example

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

[userpro template=following option=value]

  • user – If you want to display following list for specific user (outside the following frontend page) you can use this option to embed the following of any user anywhere on your blog. The value can be “author” or “loggedin” or “USERNAME”. e.g. author will show following list of post author, loggedin will show following list for current logged user, and USERNAME will show the following list for any custom user you specify.
  • following_per_page – To display the pagination with specified number of followings. Specify any integer value.

Was this article helpful?

Related Articles

Leave A Comment?