{"id":70802,"date":"2012-02-02T13:45:51","date_gmt":"2012-02-02T18:45:51","guid":{"rendered":"http:\/\/wpmu.org\/?p=70802"},"modified":"2012-11-20T15:08:31","modified_gmt":"2012-11-20T20:08:31","slug":"daily-tip-how-to-assign-wordpress-user-roles-at-registration","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/daily-tip-how-to-assign-wordpress-user-roles-at-registration\/","title":{"rendered":"How to Assign WordPress User Roles at Registration"},"content":{"rendered":"<p>Are you making use of WordPress roles to sort your site&#8217;s community of users and display different information? If your user determines his own role, it is helpful to allow him to select it at registration, rather than an administrator having to go through and manually assign user roles at a later time.<\/p>\n<p><a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-roles-at-registration\/faq\/\" rel=\"noopener\" target=\"_blank\">WP Roles at Registration<\/a> is a plugin that adds a dropdown select to your registration form. It gives you the ability to select the roles which will be displayed as options during registration.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-70803\" title=\"assign-user-roles\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2012\/02\/assign-user-roles.png\" alt=\"Post image\" aria-hidden=\"true\" width=\"600\" height=\"366\" \/><\/p>\n<p>Use this in combination with another plugin, such as <a href=\"http:\/\/wordpress.org\/extend\/plugins\/user-role-editor\/\" rel=\"noopener\" target=\"_blank\">User Role Editor<\/a> or <a href=\"http:\/\/wordpress.org\/extend\/plugins\/role-scoper\/\" rel=\"noopener\" target=\"_blank\">Role Scoper<\/a>, for managing custom roles and capabilities and you&#8217;ll have a winning solution for getting users sorted correctly at registration. It even works with BuddyPress! Download <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-roles-at-registration\/faq\/\" rel=\"noopener\" target=\"_blank\">WP Roles at Registration<\/a> from the WordPress plugin repository.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Add a user role dropdown select box to your WordPress or BuddyPress registration form.<\/p>\n","protected":false},"author":4099,"featured_media":70810,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[4],"tags":[300],"tutorials_categories":[],"class_list":["post-70802","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-plugins","tag-users"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/70802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/4099"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=70802"}],"version-history":[{"count":1,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/70802\/revisions"}],"predecessor-version":[{"id":216621,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/70802\/revisions\/216621"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media\/70810"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=70802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=70802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=70802"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=70802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}