Last active
March 24, 2023 19:59
-
-
Save travislima/e4b4618aa4141f911a3ba84bd24d9f67 to your computer and use it in GitHub Desktop.
Hide the Paid Memberships Pro Username field using CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* The following CSS code will hide the PMPro username field, label and the required asterisk. | |
* Add this CSS to your WordPress Customizer's Additional CSS section (WP Dashboard > Appearance > Customizer > Additional CSS) | |
* Code Recipe intended to be used along with the following gist: https://gist.github.com/travislima/4d599cc0b6169ef7ee7514442f289123 | |
* | |
*/ | |
.pmpro_checkout-field-username { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This recipe is included in the blog post on "Customizing Usernames on Your Membership Site" at Paid Memberships Pro here: https://www.paidmembershipspro.com/customizing-usernames-for-your-membership-site/