Category: Tips and Tricks
-
Add current password confirmation to change password form
Recently, a question came up about adding an additional field to the change password form for the user to confirm their current password as a requirement of changing the password. Adding the extra field is very easy with a filter. The trickier part is to handle validating the new form input and providing an error message.…
-
Login form honey pot
We’ve discussed building a honey pot for the registration form to prevent spam signups by bots. But what about the login form? With WordPress being so much more ubiquitous across the Internet today, there are many more attempts to hack and exploit it. Many of these attempts are automated by bots. Whether the login attempt…
-
Blocking Custom Post Types
Note: As of WP-Members 3.0, you can add custom post types to the plugin’s main blocking options. See the options documentation section on Custom Post Types. This is a new method of blocking custom post types. There are two main differences over the method described here and the original method. First, this method is a little…