Output a list of achievements.
Preview:
Attributes:
- type – Single or comma-separated list of achievement type(s) to display. Accepts:
all
or any slug of any achievement type. Default:all
- columns – Columns to divide achievements. Accepts:
1
,2
,3
,4
,5
or6
Default:1
- filter – Display filter controls. Default:
yes
- filter_value – Set filter initial value. If you hide the filter, user won’t be able to change this value. Accepts:
all
,completed
ornot-completed
Default:all
- search – Display a search input. Default:
yes
- load_more – Display the load more button. Default:
yes
- limit – Number of achievements to display. Default:
10
- orderby – Parameter to use for sorting. Accepts:
menu_order
,ID
,title
,date
,modified
,author
,rand
,points_awarded
,points_to_unlock
Default:menu_order
- order – Sort order. Accepts:
ASC
,DESC
Default:ASC
- current_user – Show achievements of current logged in user. Accepts:
yes
orno
Default:no
- user_id – Show only achievements earned by a specific user.
- include – Comma-separated list of specific achievement IDs to include.
- exclude – Comma-separated list of specific achievement IDs to exclude.
- wpms – Show achievements from all network sites.
- This shortcode accepts all attributes of [gamipress_achievement] to setup the achievement display.
Example:
[gamipress_achievements type="all" filter="yes" search="yes" limit="10" orderby="menu_order" order="ASC" user_id="1" include="1,2,3" exclude="4,5,6" wpms="no"]