Attach a custom user meta field to all of them – for e.g. a checkbox. Then, in your template, simply query the user meta field and if it is checked, just output the shared user name instead of the user profile field you would use for other users.
If you want to make sure that users can not attach themselves to that “group”, you will have to wrap the addition of that profile field with
if ( current_user_can( 'manage_options' ) ) { ... }
to restrict it to “top” users like those which have the administrator role assigned.
Related Posts:
- How to let user set password on registration
- Get user input from a form
- Front end user meta options for users
- How to get the Role Name of the current user? (WordPress)
- Creating a Front-end based User Search
- Delete user from frontend
- Front End Registration Form Code – Password Field Not Saving
- Register new user in the frontend
- How to add a user profile page to frontend?
- How to export bbPress (forums, topics, replies) and all users?
- Force user to change their password on the frontend at the first login and password policy
- Redirect user after successful email change
- Delete User via Frontend
- Should I setup frontend-only users as CPT or use a plug-in?
- Assigning multiple or additional capabilities to specific users or how to create additional roles like bbpress roles?
- Using my own user table
- Disabling user capability to edit_posts or delete_posts in the front-end
- Browser extension to allow users to submit posts front end
- Add an ‘edit profile’ page with Genesis
- User count only for role frontend vendor
- Let admin users edit member profiles from front end
- Cant edit profile from frontend
- Editor can create any new user except administrator
- Confirmation required on email change
- get_current_user_id() returns 0?
- List users by last name in WP_User_Query
- How to redirect a specific user after log-in?
- How to Prevent deleting user accounts in WordPress Back-end?
- Upload gravatar in WP profile?
- How to stop a user from updating the post date
- Recover the user that have been deleted
- determining if the user is logged in
- Adding a photo to each WP user
- WordPress edit_user_profile_update update secondary role
- how to get recent registered author id?
- set_role has no effect
- Get users only if Gravatar is specified
- WordPress to use Drupal users’ credentials
- Authenticate with a Rails app?
- How do I list in the backend all users that were assigned to a custom role?
- Suddenly all emails in User have [email protected]
- *wpupdateuser* user_login in my WordPress database
- Updating user meta
- Upgrade Nightmare – No Posts, Permissions Issues and Can’t Create a new post
- Max no of simultaneous active sessions for a single user
- Favorite taxonomy archive page?
- Removing all trace of member profiles
- WordPress API for search
- Fix permissions for users role
- Redirect subscribers to last viewed page after log-in
- User Meta Data in a Sortable Table
- Are there mutiple ways to get usernames (as a hacker)
- Rest api return all users (even without content) to all users
- Column Sorting Code on users.php
- How can I allow an User to publish only 5 posts per month?
- search users using user name and user meta in wordpress
- WordPress Login Customization for External Authentication
- How to allow registered users to submit the form only 5 times per day?
- Is there any action /filter hook I can use to disable login for some user role?
- Create a “user log”
- WP_User_Query combining role and ids
- WordPress current month users
- Front end post and upload file, image for users without plugin
- Make new users automatically approved
- Adding fields to the “Add New User” but the form data not saved into DB
- Admin approval for editing user profile
- Using a custom field value as current users name [closed]
- What does “link” refer to when you delete a user?
- WP Create User – Preventing repeated information
- Editor role can only create/edit/delete users who have one of two roles
- Can’t add user- wrong message “this user name is invalid because it uses illegal characters”
- set automatically email address for WordPress users
- WordPress 5.8 – Hide or Remove personal fields from admin Profile page
- hide user is currently editing warning in admin post page
- change user password REST API
- Append USER ID to an outbound link?
- How do I add profile fields in specific section?
- fine-grained capabilities for user related capabilities
- How to destroy all user sessions via WP-CLI
- Is a list of user names or IDs in a custom profile field the best way to create a followers list?
- Custom User Role: Can Edit Own Page, Cannot Create New
- How to restrict Admin from creating new users from Add new user screen in dashboard to only of one domain?
- Get meta key with value for user
- Redirect current user
- Display Users and user url’s
- custom login form, guide me
- Edit dashboard based on user ID
- is_user_logged_in() not working after domain change
- Get the author registration date in the header.php file
- Front end login and page restriction
- How i will get the images of highest scored users?
- Showing wordpress theme demo at front end
- i need to let a user to add a role from a frontend form
- Integrating Facebook Registration (and Login) on a WordPress page
- WordPress C# User Login
- Why does a super admin on multi site get a rest_user_invalid_id error code when requesting user details through REST?
- WordPress – Security Question at Login from User’s Meta Data
- determine active user browser at the same time
- Set a minimal number for next user_id
- Remove My Account Menu items in Woocommerce based on user roles