Answers.Body: <p>Add the following to your wp-config.php file:</p>
  <pre><code>define( 'CIVICRM_WP_PROFILE_SYNC_BULK', true );
  </code></pre>
  <p>Then select some contacts and use the “Actions” dropdown to “Create WordPress Users from Contacts”.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-09T09:57:41.650Z
Answers.Text: For those (like me :-( ) that didn't read the question carefully enough and jumped to the answer... This setting is part of the "CiviCRM WordPress Profile Sync" plugin so that needs to be installed and activated before the action shows up.
Answers.UserDisplayName: Aidan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-10T21:20:47.457Z
Answers.Text: Thank you @christian-wach. It created the user in WP. One thing though, I thought the profile sync plugin kept the first name and last name of the civiccm contact as well as the email. It has created the username in WP (mrjoeblogs), it also filled in the Nickname (mrjoeblogs), has the correct Display name in the dropdown (Mr Joe Blogs), but the First Name and Last Name fields are blank. Is this the expected result or have I missed something?
Answers.UserDisplayName: Tracy Shorrock
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-10T22:12:56.500Z
Answers.Text: A thought: I installed profile sync via the WP plugin directory---version 0.3.2. Should I upload the 0.3.3 version from GitHub?
Answers.UserDisplayName: Tracy Shorrock
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-11T11:47:11.110Z
Answers.Text: @TracyShorrock Hmm, yes, you appear to be right about First Name and Last Name - it's a while since I looked at this functionality. I'll post a fix shortly.
Answers.UserDisplayName: Christian Wach
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-11T11:48:09.440Z
Answers.Text: In the meantime, just re-save any migrated Contacts in CiviCRM and their WordPress First Name and Last Name will be populated.
Answers.UserDisplayName: Christian Wach
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-11T12:54:17.510Z
Answers.Text: Okay, I've just released 0.3.3 on the WordPress Plugin Directory - should fix the issue.
Answers.UserDisplayName: Christian Wach
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-11T19:00:08.190Z
Answers.Text: Wow! That's above and beyond for a Friday :) I will update this evening. And thanks for the re-saving tip.
Answers.UserDisplayName: Tracy Shorrock
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-27T15:34:38.133Z
Answers.Text: I've also discovered that is doable per contact from the contact summary in the `Action` menu: User account. Great feature I was looking for. Thanks Christian
Answers.UserDisplayName: Guillaume Sorel
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-08-31T15:51:52.910Z
Answers.Text: This tip is great. 
  For a convenient usage, use the Advanced search form and list Contacts with "CMS user" attribute to "No".
  
  Then, use the bulk action.
Answers.UserDisplayName: Bastien Ho
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-09T09:22:10.070Z
Answers.LastActivityDate: 2020-09-09T09:22:10.070Z
Answers.UserDisplayName: Christian Wach
Body: <p>Our organisation has one Membership type in CiviCRM, and we have that syncing with a Group in Wordpress using the CiviCRM Wordpress Member Sync plugin. All is well.</p>
  <p>We also have a Guest sign-up form (using a Civi Profile with WP account creation required) which adds them as a Contact in Civi and a User in WP, they also get added to a Civi Group (Guests) which is synced to a WP Group (Guests). All is well. [Lapsed Members should also move to this WP Group (Guests) until they renew their membership when they should get removed. Yet to be tested]</p>
  <p>However, we sometimes need to manually add Contacts in CiviCRM ourselves (say VIP speaker for an event), and although we add these to the synced Guests group, they don't get added in WP, of course, as a WP User account is not created when we add the Contact manually in CiviCRM.</p>
  <p>Is there a box to tick / dropdown to select for a Contact or multiple Contacts along the lines of: 'Create WP User Account from Contact'?</p>
  <p>I have CiviCRM WordPress Profile Sync plugin installed.</p>
  <p>I truly hope this is not a stupid question...</p>
  <p>Cheers, Tracy</p>
  
Tags: <wordpress><civicontact>
Title: How do I add a CiviCRM Contact as a User in Wordpress without them being a Member and using the WP Member Sync Plugin?
ThreadText: # How do I add a CiviCRM Contact as a User in Wordpress without them being a Member and using the WP Member Sync Plugin?
  
  (Asked by: username_0 on 2020-09-09)
  
  Our organisation has one Membership type in CiviCRM, and we have that syncing with a Group in Wordpress using the CiviCRM Wordpress Member Sync plugin. All is well.
  
  We also have a Guest sign-up form (using a Civi Profile with WP account creation required) which adds them as a Contact in Civi and a User in WP, they also get added to a Civi Group (Guests) which is synced to a WP Group (Guests). All is well. [Lapsed Members should also move to this WP Group (Guests) until they renew their membership when they should get removed. Yet to be tested]
  
  However, we sometimes need to manually add Contacts in CiviCRM ourselves (say VIP speaker for an event), and although we add these to the synced Guests group, they don't get added in WP, of course, as a WP User account is not created when we add the Contact manually in CiviCRM.
  
  Is there a box to tick / dropdown to select for a Contact or multiple Contacts along the lines of: 'Create WP User Account from Contact'?
  
  I have CiviCRM WordPress Profile Sync plugin installed.
  
  I truly hope this is not a stupid question...
  
  Cheers, username_0
  
  **Tags:** wordpress, civicontact
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-09-09. Score: 5 | Accepted answer
  
  Add the following to your wp-config.php file:
  
  ```
  define( 'CIVICRM_WP_PROFILE_SYNC_BULK', true );
  
  ```
  
  Then select some contacts and use the “Actions” dropdown to “Create WordPress Users from Contacts”.
  
  > **Comments:**
  > **username_2**: For those (like me :-( ) that didn't read the question carefully enough and jumped to the answer... This setting is part of the "CiviCRM WordPress Profile Sync" plugin so that needs to be installed and activated before the action shows up.  
  > **username_0**: Thank you @username_1-username_1. It created the user in WP. One thing though, I thought the profile sync plugin kept the first name and last name of the civiccm contact as well as the email. It has created the username in WP (mrjoeblogs), it also filled in the Nickname (mrjoeblogs), has the correct Display name in the dropdown (Mr Joe Blogs), but the First Name and Last Name fields are blank. Is this the expected result or have I missed something?  
  > **username_0**: A thought: I installed profile sync via the WP plugin directory---version 0.3.2. Should I upload the 0.3.3 version from GitHub?  
  > **username_1**: @username_0 Hmm, yes, you appear to be right about First Name and Last Name - it's a while since I looked at this functionality. I'll post a fix shortly.  
  > **username_1**: In the meantime, just re-save any migrated Contacts in CiviCRM and their WordPress First Name and Last Name will be populated.  
  > **username_1**: Okay, I've just released 0.3.3 on the WordPress Plugin Directory - should fix the issue.  
  > **username_0**: Wow! That's above and beyond for a Friday :) I will update this evening. And thanks for the re-saving tip.  
  > **username_3**: I've also discovered that is doable per contact from the contact summary in the `Action` menu: User account. Great feature I was looking for. Thanks username_1  
  > **username_4**: This tip is great.  For a convenient usage, use the Advanced search form and list Contacts with "CMS user" attribute to "No".  Then, use the bulk action.  
  
  ---
  
  