After migrating your site to a new host, you might need to replace the site domain name. You can do it before the site migration, as WordPress documentation suggest. Or you can do this with SQL query, directly changing the domain in the database. I prefer the last solution, I find it quick and easy
Continue reading “Change the WordPress domain after moving to a new host, using phpMyAdmin”

Leave a Comment on Change the WordPress domain after moving to a new host, using phpMyAdmin

The 500 Internal Server error it is the most common and general error, that will be shown when there’s a problem with the server or with the WordPress file system. It is the most unhelpful and nondescript bane of web developers everywhere. It’s a catchall error message that can literally mean anything. Let’s have a look how
Continue reading “How to Fix the 500 internal server error on WordPress”

Leave a Comment on How to Fix the 500 internal server error on WordPress

Hey there! It has been a long long time since my last post! So here is my gem of the day 😉 Personally, I use this code very frequently and it has saved me from a lot of trouble many times. There are times when I do not have access to a site’s with administrator
Continue reading “Create New Admin Account With PHP Code”

Leave a Comment on Create New Admin Account With PHP Code

A must-use plugin (also called a ‘mu-plugin’) is a plugin that will always be activated by default, without you needing to do it yourself. To activate a mu-plugin, you just have to upload it in the right directory, and WordPress will automatically know that this plugin must be used. Moreover, a mu-plugin cannot be deactivated:
Continue reading “How To Add CSS Code In MU Plugin”

3 Comments on How To Add CSS Code In MU Plugin

If you are looking at how to insert a featured image inside a post, you can try the following solution.  Add the following code inside the functions.php of your theme: Control the features images with the shortcode: The side can be changed to small, medium and large values and/or align can be none, center, right or left.
Continue reading “Show the Featured Image Inside A Post On A Site Using Shortcode”

Leave a Comment on Show the Featured Image Inside A Post On A Site Using Shortcode