Tag: basics
-
Create a Custom 404 Page
WP-Members offers the ability to “hide” content from non-registered users. When content is hidden, it is as if the content does not exist if the user is not logged in. That results in a 404 – which basically is a “not found” message. But a generic 404 message like “Oops! That page can’t be found”…
-
How to reset your WordPress password with WP-CLI
It happens to all of us at some point or another – especially when doing development work – you find yourself locked out of your WordPress site with no way to change or reset your admin password. What do you do in that situation? Here is a way you can update your password (and other…
-
How to reset your WordPress password from phpMyAdmin
It happens to all of us at some point or another – especially when doing development work – you find yourself locked out of your WordPress site with no way to change or reset your admin password. What do you do in that situation?
-
How the plugin handles blocking content
The plugin filters what is in WP’s $content variable during The Loop based on whether or not the user is logged in. In its most basic form, if the user is logged in, it allows the content to be displayed. If the user is not logged in, it empties this value and replaces it with…
-
Do not modify plugin files
This is an important best practice – never, ever modify plugin files directly. Rule 1: there is never a good reason to do this. Rule 2: refer to rule 1.