Beskrivning
Query and display a list of WordPress users by role using a WP_User_Query and Ajax Load More.
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"]
Installation
Uploading in WordPress Dashboard
- Navigate to the ’Add New’ in the plugins dashboard
- Navigate to the ’Upload’ area
- Select
ajax-load-more-for-users.zip
from your computer - Click ’Install Now’
- Activate the plugin in the Plugin dashboard
Using FTP
- Download
ajax-load-more-users.zip
. - Extract the
ajax-load-more-for-users
directory to your computer. - Upload the
ajax-load-more-for-users
directory to the/wp-content/plugins/
directory. - Ensure Ajax Load More is installed prior to activating the plugin.
- Activate the plugin in the WP plugin dashboard.
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”Ajax Load More for Users” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Ajax Load More for Users” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.1 – June 11, 2023
- UPDATE: Updated to add compatibility with Cache Add-on 2.0 and Ajax Load More 6.0.
1.0 – January 13, 2023
- Initial release.