{"id":2667,"date":"2026-10-20T08:35:26","date_gmt":"2026-10-20T07:35:26","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/let-users-choose-a-user-role-when-they-register\/"},"modified":"2026-10-20T08:40:41","modified_gmt":"2026-10-20T07:40:41","slug":"let-users-choose-a-user-role-when-they-register","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/how-tos\/let-users-choose-a-user-role-when-they-register\/","title":{"rendered":"How to let users choose a user role when they register"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">GeoDirectory uses normal WordPress user accounts and doesn&#8217;t have a registration form of its own. To let people choose what kind of account they&#8217;re signing up for, use UsersWP, our free registration and profile plugin that works with GeoDirectory. UsersWP has user types: each type has its own registration form and assigns its own WordPress role.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Set up a user type for each role<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Install and activate UsersWP from Plugins &gt; Add New.<\/li>\n\n\n\n<li>Go to UsersWP &gt; User Types and add a user type for each kind of account, for example Business Owner and Visitor.<\/li>\n\n\n\n<li>For each user type, pick the role in User Role to Assign. Administrator isn&#8217;t offered.<\/li>\n\n\n\n<li>Add or remove fields on each type&#8217;s form if the accounts need different details.<\/li>\n\n\n\n<li>Go to UsersWP &gt; Settings &gt; General &gt; Register and select the forms in Register Form(s).<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">With more than one form selected, the registration page shows a choice of user type above the form. User Type Selector Style, on the same screen, shows that choice as buttons or as a dropdown.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Only add roles you&#8217;re happy for anyone to have, since the visitor gets the role of the type they choose as soon as they register.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Showing particular forms<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To show a set of forms on one page, give their IDs to the register shortcode:<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-markup\">&#091;uwp_register limit=&quot;1,2&quot;&#093;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Plugins that add a role picker to the default WordPress form at wp-login.php only change that form. They don&#8217;t change front end forms such as UsersWP&#8217;s, so use the user types above instead.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GeoDirectory uses normal WordPress user accounts and doesn&#8217;t have a registration form of its own. To let people choose what kind of account they&#8217;re signing up for, use UsersWP, our free registration and profile plugin that works with GeoDirectory. UsersWP has user types: each type has its own registration form and assigns its own WordPress [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[211,432],"class_list":["post-2667","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-tips-tricks-more","gd_placecategory-how-tos"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2667","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=2667"}],"version-history":[{"count":1,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2667\/revisions"}],"predecessor-version":[{"id":2810,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2667\/revisions\/2810"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2667"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2667"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}