Okay
  Print

How to import users in bulk in Doctreat Theme

How to import users in bulk in Doctreat Theme


Importing for bulk users (doctors, hospitals and regular users) need to create a excel file with the following formats :

  • user_id : It is optional field.If assigned user_id is available then it assign.
  • username : It is required field.It should be sanitize.please use without space and special character.
  • user_email : It is required field.
  • first_name : It is optional field.
  • last_name : It is optional field.
  • user_nicename : It is optional field.
  • display_name : It is required field.
  • show_admin_bar_front :It is required field. It should be FALSE
  • role : It is required field. It should be "doctors" or hospitals or regular_users.
  • gender :It is optional field. It would be male or female
  • tag_line :It is optional field.
  • country : It is optional field. First you need to add countries in Admin > Doctreat > Locations and copy the slug of country.


  • address :It is optional field.
  • latitude :It is optional field.
  • longitude :It is optional field.
  • profile_image_id :It is optional field. Upload the image in Admin > Media and get the image id.


  • languages :It is optional field.First you will need to add Language in Admin > Doctreat > Languages and copy the slug of language.To add multiple Languages we use comma(,) separated.


  • content :It is optional field.
  • short_description :It is optional field.
  • registration_number :It is optional field.