Description
This shortcode renders the total number of users that have purchased the content. Must be used inside the loop, either in the content field or in your theme’s template files.
Shortcode Attributes
Attribute | Type | Required | Default | Description |
---|---|---|---|---|
wrapper |
string | No | - | The HTML element to use as the wrapper around the number. Should not be used if you do not want to use a wrapping element. |
post_id |
int | No | - | Option to provide a post ID. If not used, the current posts ID is used instead. |
CSS Styling
.mycred-sell-this-author-count { }
Example
Example 1: Default usage.
[mycred_content_buyer_count]