Lock a WordPress user account to prevent login
A copy-and-paste tutorial that adds a “lock user account” function. Prevent individual users from logging in to your site.
Simple techniques and PHP snippets that will make your WordPress website more secure.
A copy-and-paste tutorial that adds a “lock user account” function. Prevent individual users from logging in to your site.
Learn how to create sharing links for Draft Posts in WordPress with some simple PHP code. These links can be used to share draft content with non-logged-in users. We’ll make a small meta box on the Edit Post page too, so it’s super easy to copy the draft post link.
It’s late February / early March 2023 and we’ve been tracking a big surge in brute force login attempts across the networks we work with.
Learn how to split the WooCommerce login and registration forms into two separate URLs without using a plugin. We’ll also make it easy to add custom fields to the registration form, so you can capture things like billing address when new users/customers register.
Learn how to record the date & time when users log in to your WordPress website. Display these login dates in the admin area so you can find inactive accounts. We’ll do this with a small amount of copy-and-paste PHP code, without installing any new plugins.
Create a popup menu with an Ajax login form so users can sign in to your WordPress site without leaving the current page. A neat little User Experience enhancement.
Improve your WordPress site’s security by requiring all users to have strong passwords. Learn how, without needing to install a plugin.
Hide your WordPress site’s wp-login.php page from bots. Redirect to your site’s 404 page, or to an alternative frontend login form.
By default, the WordPress REST API is enabled. This can cause your website to leak user contact data. Disable the REST API without a plugin.
A simple code snippet for WordPress 5.5. Update jQuery from 1.12.4 to jQuery 3.5.1 by making this small change to your theme’s functions.php.