-
Notifications
You must be signed in to change notification settings - Fork 0
Available Shortcodes
Yusuf Fauzan edited this page Dec 4, 2022
·
7 revisions
Return the login link based on the given id parameter.
Arguments:
-
id = 0: login page ID
Return the logout link.
Arguments:
-
goto = null: page ID or link redirect after being logout
Return the user icon SVG.
Arguments:
-
size = 16: icon size
Return the current logged-in points balance.
Arguments: None
Display form templates.
It has the following templates:
- Register
- Login
- Forgot Password
- Change Password
Arguments:
register_id = ''login_id = ''forgot_id = ''-
type = '': acceptregister,login,forgot, andchange class = ''-
goto = null: page ID or link redirect after form success
A wrapper of the mycred_buy shortcode to display a single top up link button.
Arguments:
gateway = 'paypal-standard'ctype = 'mycred_default'amount = ''cost = nullgift_to = ''class = 'authcred-buy mycred-buy-link btn btn-primary btn-lg mt-4 no-underline text-black dark:text-white'-
login = $mycredDefaultLoginMessage: show to non-logged-in user. title = ''btn_label => ''
Recreation of the mycred_buy_form shortcode to display a single top up dynamic amount input
Arguments:
gateway = 'paypal-standard'ctype = 'mycred_default'amount = ''gift_to = ''class = 'authcred-buy myCRED-buy-form mt-4 no-underline text-black dark:text-white'-
login = $mycredDefaultLoginMessage: show to non-logged-in user. title = ''btn_label = ''e_rate = ''
Display a list of posts you want to do.
Arguments:
post_type = 'post'post_status = array('publish', 'future')-
category = 'uncategorized': Only use category or taxonomy, you can't use both. -
taxonomy = null: Only use category or taxonomy, you can't use both. -
term = null: Required if you're using taxonomy. -
limit = -1: Limit how many posts to show in the list. -
replace = array(): This can be a single word/string or array that will be removed. -
replace_num = 0: Remove the first number of string characters. -
prepend = '': Add something before the post title. -
append = '': Add something after the post title. -
lock = null: Display a locked text, acceptplainfor "(Locked)",iconfor the lock icon, and you can put your own custom text. -
unlock = null: Display an unlocked text, acceptplainfor "(Unlocked)",iconfor the lock icon, and you can put your own custom text. -
bullet = 'dot': Acceptdot/disc,number/decimal, andnone`.
Documentation