Suppose you have some additional form fields that are not required for registration and you don’t want to show those as part of the registration process; but you would like them to be included when a user updates their registration info. Here is an elegant way of doing that without resorting so hiding the fields with CSS. Continue Reading →
Filters
Customize the reCAPTCHA style
For CAPTCHA during the registration process, WP-Members uses reCAPTCHA. The plugin settings allow you to choose from the basic default themes that are offered by reCAPTCHA: red, white, black glass, and clean. But suppose you would like to customize the style that is used? This tutorial is a basic framework to get you started. Continue Reading →
Remove the login form from completed registration
In the case of moderated registration, where the user may not receive access to the site right away, you may find that you want to show the successful registration message, but eliminate the login form that shows below it by default. Here is a method to do that using the wpmem_login_form
filter.
Bootstrap icons for the login form
This example shows how to add some bootstrap icons to the login form inputs. If you look at the screenshot to the left, this is what we will be making. Note: this example assumes that the user has applied WP-Members Bootstrap stylesheet, and has a theme that is using the Bootstrap css.
Even if you are not using Bootstrap, this is a good demo of how to filter the login form for more control over the look and feel. You can still use the example code, even if you are not using Bootstrap. You won’t get the form to look exactly like the example, but you will get a good idea of what you can do for customizing form elements.
As bonus, we’ll add a little twist to filter the login button as well, using the bootstrap button styles. That’s what makes that pretty blue button. Continue Reading →
Remove the login form from the main content area
You should already know how to remove the registration form from the main content area – it’s one of the plugin’s settings. But what if you want to remove the login form? Or, what if you want to remove both forms?
This is a little filter trick that will show you how to remove the login form. Continue Reading →