Apraksts
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"]
Uzstādīšana
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.
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Ajax Load More for Users” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Ajax Load More for Users” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.1.1 – November 11, 2024
- UPDATE: Readme, contributors, WordPress tested version
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.