I would like to have registration and login page for my clients.by defining user and password and selecting their city. Now I using Theme My Login plugin for registration, but I want to do this without using plugins? Is it possible? If yes how Can I do this?

2 Answers 2


So you want a registration page for your site where they input their username, email, password, and city? If I'm understanding you correctly, do it like this:

I haven't used the Wordpress version, but it seems like it should be similar to the Drupal one - I create a profile in CiviCRM: http://www.yourdomain.com/civicrm/admin/uf/group?reset=1

In the settings for it, I choose it to be used for user registration and view/edit account. Username, email, and password you don't have to add to the profile because those are the minimum required elements for a user account.

Then any field you add there will be added to the registration page as well as their user account page (so they can view and update the information).

Add profile

UPDATE: Forgot one step - you will need to enable an option in WordPress for the option to show up under profiles: Turn on "anyone can register" under Settings > General.

  • Yes, you got it. but in WordPress, I can't find this options. For the profile, I can't add password option so it doesn't work for me.
    – raha
    Jan 1, 2018 at 18:09
  • I added an image above of what it looks like when I go to create a profile in Drupal. What does yours look like in Wordpress? You'll likely need to edit your original post and put the screenshot there. Because you should be able to create a profile that attaches to your WordPress user registration system like I do with Drupal. Which is why there's no password option - WP handles all of that. Jan 2, 2018 at 1:05
  • @raha You'll need to enable "Anyone can register" in WordPress "Settings --> General" for this option to appear. Jan 2, 2018 at 18:05
  • Thanks, I'll add that little bit to the answer above. It's been a little while since I used WP and didn't have access to an install at the moment. I was wondering if there was a little step in the middle I had forgotten. Jan 2, 2018 at 18:54

You can do this through a profile. Under advanced settings in the profile setup there is an option for WordPress account creation. You can make it required or optional. You will need to check the box 'Anyone can register' in the WordPress general settings and set a default role. This will insert the account creation fields into the profile if the user is not logged in. You can use this profile as part of an event registration, contribution page or insert the profile in 'add' mode with a short code on a WordPress page.

I would recommend installing a plugin that requires a reCaptcha when user accounts are created. This will prevent robots from creating junk users in your system.

Hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.