Ajax Load More for Users
Query and display a list of WordPress users by role using a WP_User_Query and Ajax Load More. View Example Shortcode Parameters The following Ajax Load More shortcode parameters are available when the Advanced Custom Fields extension is activated. users – Enable compatibility with Users. (true/false
Query and display a list of WordPress users by role using a WP_User_Query and Ajax Load More.
View Example
Shortcode Parameters
The following Ajax Load More shortcode parameters are available when the Advanced Custom Fields extension is activated.
- users – Enable compatibility with Users. (true/false)
- users_role – The user role to display.
- users_include – Show specific users.
- users_exclude – Exclude specific users.
- users_per_page – The number of users to display with each query.
- users_order – The order of the displayed users.
- users_orderby – Sort retrieved users by parameter.
Example Shortcode
[ajax_load_more users="true" users_role="Subscriber" users_per_page="2"]
Uploading in WordPress Dashboard
- 01Navigate to the ‘Add New’ in the plugins dashboard
- 02Navigate to the ‘Upload’ area
- 03Select ajax-load-more-for-users.zip from your computer
- 04Click ‘Install Now’
- 05Activate the plugin in the Plugin dashboard
Using FTP
- 06Download ajax-load-more-users.zip .
- 07Extract the ajax-load-more-for-users directory to your computer.
- 08Upload the ajax-load-more-for-users directory to the /wp-content/plugins/ directory.