Skip to content

Instantly share code, notes, and snippets.

@michaelbeil
Forked from travislima/hide-pmpro-username.css
Last active March 24, 2023 20:06
Show Gist options
  • Save michaelbeil/793b8e5417931654e55b013b0df70c54 to your computer and use it in GitHub Desktop.
Save michaelbeil/793b8e5417931654e55b013b0df70c54 to your computer and use it in GitHub Desktop.
Hide the Paid Memberships Pro Username field using CSS
/*
*
* The following CSS code will hide the PMPro username field.
* Add this CSS to Simple Custom CSS and JS: https://wordpress.org/plugins/custom-css-js/
* Code Recipe intended to be used along with the following gist: https://github.com/strangerstudios/pmpro-snippets-library/blob/dev/checkout/name-email-only-checkout.php
*
*/
.pmpro_checkout-field-username {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment