Available Shortcodes

Estimated reading: 1 minute 1401 views

Available Shortcodes

Once the add-on is enabled, a set of custom shortcodes will become available for your website:

ShortcodeDescription
mycred_sell_thisThis shortcode can be used to sell parts of the content field instead of the entire thing.
mycred_sales_historyThis shortcode will show a list of content that a given user has purchased.
mycred_content_sale_countThis shortcode will render the number of times a particular post has been bought. Must be used inside the loop.
mycred_content_buyer_countThis shortcode will render the number of users that has purchased a particular post that is set for sale. Must be used inside the loop.
mycred_content_buyer_avatarsThis shortcode will render a given number of avatars of buyers of a particular post.