The [wordpoints_points] shortcode displays a user’s points, formatted with the prefix and suffix (if these are set).

Basic Usage: #


The default usage of the shortcode displays the points of the current user. The default points type will be used if one is set. Otherwise you need to specify which points type to display:

[wordpoints_points points_type="credits"]

Specifying a User #

To display the points of a specific user, instead of the current user, you must use the user_id attribute:

[wordpoints_points user_id="5"]


[wordpoints_points points_type="credits" user_id="5"]

You can also choose to display the points of the author of a post by using the shortcode within the post’s content and specifying post_author as the value of the user_id attribute:

[wordpoints_points user_id="post_author"]