This is a script that will allow you to set up a plugin to change the native WordPress new user registration email (the one that comes from WordPress when a new user is registered) to use the WP-Members new user registration email. Continue Reading →
Blog
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 →
Replace “you must be logged in to comment” link
That’s actually part of your theme’s comments.php template. You can make an easy modification to the theme comments.php file at the end where it generates the comments form with comment_form() – replace the comment_form(); call with this: Continue Reading →
Load a custom stylesheet with wp_enqueue_scripts
Setting up a custom stylesheet for the plugin gives your site a more polished and professional look as you can better integrate the look of the plugin’s forms to the look of your theme.
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 →