PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchSome links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
WordPress does not document a built-in random-order argument for its user queries. The reliable pattern is to query an explicitly defined, bounded set of eligible users with WP_User_Query or get_users(), randomize that result in PHP, and render only the fields your visitors should see.
Choose who may appear before you randomize anything
A registered-user list is a privacy decision, not just a display setting. Decide which roles are eligible, which accounts must be excluded, and whether names, avatars or profile links are appropriate for public viewing. Do not expose email addresses, login names or other sensitive fields merely because the API can return them.
- Include only the roles that belong in the public list.
- Exclude administrator, service and test accounts where appropriate.
- Request only the fields required by the template.
- Set a maximum candidate count and a maximum number of displayed users.
Which WordPress API fits the job?
| Approach | What it does | Random display | Best use |
|---|---|---|---|
wp_list_users() |
Prints a basic user list with options such as orderby, order, number and exclude_admin. |
Not documented as a random-selection function; randomize separately if you use it. | A simple, largely default list. |
get_users() |
Returns users matching query criteria, with the returned data controlled by fields. |
Use the returned bounded set as input to application-level selection. | Small custom lists and straightforward templates. |
WP_User_Query |
Provides detailed role, include/exclude, ordering, field, limit and paging controls. | The documented query controls do not establish a random sort parameter. | Custom markup and precise eligibility rules. |
Recommended implementation with get_users()
This example collects up to 100 eligible users, shuffles that candidate array, then displays five. Replace the role and excluded IDs with rules that match your site.
<?php
$candidates = get_users( array(
'role' => 'subscriber',
'exclude' => array( 1 ), // Example: administrator account ID
'number' => 100,
'fields' => array( 'ID', 'display_name' ),
) );
shuffle( $candidates );
$random_users = array_slice( $candidates, 0, 5 );
if ( $random_users ) :
echo '<ul class="random-users">';
foreach ( $random_users as $user ) :
printf(
'<li>%s</li>',
esc_html( $user->display_name )
);
endforeach;
echo '</ul>';
else :
echo '<p>No eligible users were found.</p>';
endif;
?>
How the example works
rolelimits eligibility to the selected role.excluderemoves known account IDs; add any service or test accounts your site should never publish.numberbounds the database result instead of requesting every account.fieldsasks for only the ID and display name used by this markup.shuffle()randomizes the retrieved candidates, andarray_slice()limits the visible subset.esc_html()escapes the name before output.
This produces a random subset from the candidates fetched for that request. It is not a guarantee that every account has equal long-term exposure, and repeatedly loading the page may produce different results. For very large memberships, review a design suited to your scale rather than expanding the candidate limit without bound.
#1 Best Overall
- Ergonomic Posture Correction: Designed to elevate your laptop to the perfect eye level, this adjustable laptop stand significantly reduces neck, shoulder, and spinal fatigue. Transform your desk into a healthier workstation, ideal for long hours of typing, Zoom meetings, or gaming.
- Unshakable Dual-Rod Stability: Unlike single-hinge models, our stand features a highly engineered dual-support rod mechanism. It perfectly distributes weight to ensure a 100% wobble-free typing experience, safely supporting heavy-duty devices up to 22 lbs (10kg).
- Advanced Thermal Cooling Panel: Maximize your device's performance. The unique geometric heat-vent design on the upper panel provides superior airflow compared to standard solid stands. This continuous heat dissipation prevents your laptop from thermal throttling and hardware damage during intensive tasks.
- Universal 10-16” Compatibility: A versatile computer riser that seamlessly fits all 10 to 16-inch laptops. Broadly compatible with MacBook Pro/Air, Dell XPS, HP, Lenovo, ASUS, Chromebook, and large gaming laptops. The anti-slip silicone pads firmly grip your device and protect it from scratches.
- Foldable, Portable & Ready to Go: Maximize your productivity anywhere. The dual-foldable design allows the stand to collapse completely flat in seconds. Easily slip it into your backpack or briefcase, making it the ultimate portable office accessory for business trips, cafes, or hybrid work setups.
Using WP_User_Query for more control
Use the class when eligibility spans several roles or requires more explicit query arguments. The result can be handled with the same separate selection step.
<?php
$query = new WP_User_Query( array(
'role__in' => array( 'author', 'editor' ),
'exclude' => array( 1 ),
'number' => 100,
'fields' => array( 'ID', 'display_name' ),
) );
$candidates = $query->get_results();
shuffle( $candidates );
$random_users = array_slice( $candidates, 0, 5 );
foreach ( $random_users as $user ) {
echo '<span class="random-user">' . esc_html( $user->display_name ) . '</span>';
}
?>
WP_User_Query also supports include/exclude filters, ordering, limits and paging. Those controls narrow and shape the candidate set; the random choice remains application logic in this approach.
Rank #2
- Broad Compatibility: Besign LS03 Laptop Mount is compatible with all laptops from 10''-15.6'', such as Air 13, Pro 13 / 15 / 2018 / 2017 / 2016, Lenovo ThinkPad, Dell, HP, ASUS, Chromebook, and other notebooks.
- Ergonomic Design: This LS03 Laptop Stand could elevate your laptop by 6’’ to a perfect viewing level, help you improve your posture and reduce neck and shoulder pain. This laptop stand is super easy to detach and assemble.
- Stable And Protective: This laptop stand is made of premium Aluminum alloy, it is sturdy, support up to 8.8 lbs(4kg), no worry any wobble at all; the rubber on the holder hands sticks tightly, ensure your laptop stable on the stand and prevent any scratches.
- Keep Laptop Cool: the open aluminum design provides good ventilation and airflow to prevent your laptop from overheating. It folds flat if you need to store it, create extra space on your desk and keep your desk clean and organized.
- Easy to Use: thanks to the detachable design, you could assemble it very easily it 3 steps.
When wp_list_users() is enough
For a conventional list, you can let WordPress generate the markup:
<?php
wp_list_users( array(
'orderby' => 'display_name',
'order' => 'ASC',
'number' => 10,
'exclude_admin' => true,
) );
?>
These options provide ordinary ordering and limits, not a documented random order. Choose a custom query when random selection, role rules or bespoke markup are requirements.
Rank #3
- ✔️[Foldabe & Protable] - Foldable laptop stand for desk & Protable computer stand, It combines the advantages of market brackets, convenient travel laptop stand. Easy to use. Suitable for working at home, office and outdoor, improve comfort.
- ✔️[360°Rotation] - The computer stand with 360° rotating base, 360° rotation connected with the base is more flexible, the computer stand allows you to rotate the laptop to any angle.
- ✔️[Stable & Durable] - The Computer stand is made of one-piece fiber metal material, which is more durable and stable than ordinary aluminum alloy computer stands. The upgraded rotating base makes the stand performance more stable, and the non-slip silicone protects the laptop from sliding.Only supports laptops up to 16 inches.
- ✔️[Ergonmic Desing] - You can freely adjust the height and angle of the laptop stand to keep it at eye level, which helps to reduce the pressure on your body while working. Whether sitting or standing, there is a comfortable angle.
- ✔️[Wide Compatibility] - Our laptop stand is compatible with all laptops from 10-16 inches, such as MacBook Air/Pro, Google PixelBook, Dell XPS, HP, ASUS, Lenovo ThinkPad, Acer, Chromebook and Microsoft Surface, etc. It is an ideal companion for computer workers.
Performance and privacy safeguards
- Keep the candidate set bounded. The user-query documentation cautions against unbounded retrieval on larger sites; use
numberand, where appropriate, paging. - Do not fetch unnecessary data. Avoid fields such as email and login unless the feature genuinely requires them and your privacy policy permits publication.
- Cache deliberately. If the same random group should remain stable for a period, cache the selected IDs rather than querying and reshuffling on every request. Choose a duration that matches the feature’s purpose.
- Check empty results. Roles, exclusions or an empty membership can leave no candidates, so provide a fallback message or hide the component.
- Review access expectations. A user account existing in WordPress does not, by itself, establish consent to appear in a public directory.
Plugin and administration alternatives
A directory plugin can be appropriate when you need registration flows, profiles, cards and directory shortcodes in addition to a random widget. WP User Manager’s WordPress.org listing describes those broader directory features, but it does not establish a random-display feature, current compatibility, pricing or affiliate availability. Verify the plugin’s present documentation and test it with your theme before relying on it.
WP-CLI’s wp user list command is useful for administrators inspecting users and restricting output fields. It is an administrative tool, not a front-end random display mechanism.
Quick Recap
Best Value
- ✅【Adjustable & Ergonomic】:This laptop stand can be adjusted to a comfortable height and angle according to your actual needs, letting you fix posture and reduce your neck fatigue, back pain and eye strain. Very comfortable for working in home, office and outdoor.
- ✅【Sturdy & Protective】 :Made of sturdy metal, it can support up to 17.6 lbs (8kg) weight on top; With 2 rubber mats on the hook and anti-skid silicone pads on top & bottom, it can secure your laptop in place and maximum protect your device from scratches and sliding. Moreover, smooth edges will never hurt your hands.
- ✅【Heat Dissipation】 :The top of the laptop stand is designed with multiple ventilation holes. The open design offers greater ventilation and more airflow to cool your laptop during operation other than it just lays flat on the table.
- ✅【Portable & Foldable】:The foldable design allows you to easily slip it in your backpack. Ideal for people who travel for business a lot.
- ✅【Broad Compatibility】:Our laptop holder is compatible with all laptops from 10-17.3 inches, such as MacBook Air/ Pro, Google Pixelbook, Dell XPS, HP, ASUS, Lenovo ThinkPad, Acer, Chromebook and Microsoft Surface, etc.Be your ideal companion in Home, Office & Outdoor.
Rank #4
- 【Adjustable & Ergonomic】:This laptop stand can be adjusted to a comfortable height and angle according to your actual needs, letting you fix posture and reduce your neck fatigue, back pain and eye strain. Very comfortable for working in home, office and outdoor.
- 【Sturdy & Protective】 :Made of sturdy metal, it can support up to 17.6 lbs (8kg) weight on top; With 2 rubber mats on the hook and anti-skid silicone pads on top & bottom, it can secure your laptop in place and maximum protect your device from scratches and sliding. Moreover, smooth edges will never hurt your hands.
- 【Heat Dissipation】 :The top of the laptop stand is designed with multiple ventilation holes. The open design offers greater ventilation and more airflow to cool your laptop during operation other than it just lays flat on the table.
- 【Portable & Foldable】:The foldable design allows you to easily slip it in your backpack. Ideal for people who travel for business a lot.
- 【Broad Compatibility】:Our desktop book stand is compatible with all laptops from 10-15.6 inches, such as MacBook Air/ Pro, Google Pixelbook, Dell XPS, HP, ASUS, Lenovo ThinkPad, Acer, Chromebook and Microsoft Surface, etc.Be your ideal companion in Home, Office & Outdoor.
Troubleshooting checklist
- Everyone appears every time: confirm that you call
shuffle()beforearray_slice(), and that page or object caching is not serving one cached response. - Too few users appear: inspect the role and exclusion rules and ensure the candidate limit is at least as large as the requested display count.
- Sensitive data leaks: reduce
fieldsand escape output; never print an entireWP_Userobject into a template. - Large sites slow down: lower the bounded candidate set, use paging or a reviewed scalable selection design, and measure the result in your own environment.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.
Quick wins for a faster PC:
Scan for outdated or missing drivers - takes under a minuteDriver Scan →Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →

