
Learn to build a WordPress plugin to add custom codes instead of using the theme's functions, keeping code safe from theme updates and gaining a foundation for more complex plugins.
Learn to create a custom plugin to add codes instead of the theme's functions.php, so theme updates won't wipe changes. See example changing the logo and url via the plugin.
Learn to build a custom WordPress plugin by defining header fields, creating and packaging the plugin, then uploading, activating, and updating it to change the logo and URL.
Discover how to hide a custom WordPress plugin by renaming the plugins folder and plugin name, updating the file, and using the plugin editor and browser inspection.
Organize your WordPress plugin code by creating folders, adding PHP files in an includes structure, and referencing them from the main plugin to keep code modular and maintainable.
Learn to activate or deactivate a WordPress plugin via custom URLs and code, without logging into the dashboard, and use recovery links to manage plugins securely.
Hide the plugin and disable the editor by editing wp-config.php from the file manager, adding code above the line 'that's all, stop editing', and revert to re-enable.
Access all website files with the WP file manager plugin even when the editor is disabled, edit carefully, and revert via the WP Desk config file to prevent errors.
Learn how to regain access to a WordPress site after a critical plugin error by using the file manager and wp-config to disable or revert faulty code, preventing dashboard lockout.
Learn to regain access after a critical error or 505 by fixing mistakes in .htaccess or functions.php, using WP File Manager or cPanel.
Protect your WordPress site with practical security steps, including blocking login access by country or IP and changing the default login name. Secure database files and other safeguards.
If you are using WordPress then you must be using custom codes on the theme’s functions to enhance the site’s functionality. But has there been a situation when you or your client updates the theme and that all codes are gone? Well to avoid this, we can build our own custom plugins and use them instead of fucntions.php.
Using custom plugins instead of functions.php will avoid losing your codes on any updates or whatsoever. You will also not have to set up a child theme. Additionally, you can organize codes on the plugin and also hide them if required.
Like you would add the codes to functions.php using the Theme Editor, you can do so by using the plugin editor too. This is very easy and most importantly there’s no need to create a child theme or have any fear of losing the codes if anything is updated. Additionally, you can take this plugin and use it on any other sites requiring similar functionality.
The tutorial is short and to the point, and with precise explanations. Please feel free to get back to me for any confusion.
I really hope you will learn something valuable out of this course and protect your WordPress website.
Thanks,
Saujan