by Molly Roberts | Jun 10, 2022 | WordPress Code Snippets
If you work with clients, you might want to replace the WordPress logo in the admin bar with your own custom logo. This code will also work for multisite WordPress installations. Place this code in your theme’s functions.php file to replace the default WordPress...
by Molly Roberts | Jun 6, 2022 | WordPress Code Snippets
If you don’t want WordPress to get updated on its own, you can disable the automatic updates using one line of code. But before you do it, you should know that disabling automatic updates in WordPress is a huge security risk. It will put your website at risk of...
by Molly Roberts | Jun 5, 2022 | WordPress Code Snippets
There’s an easy way you can load theme template files in your content. You can display theme template contents using a shortcode. You might have template files in your theme that you want to load inside your content. This shortcode will allow you to load any...
by Molly Roberts | Jun 2, 2022 | WordPress Code Snippets
If you update your blog regularly, you might want to display the Last Update date under your posts instead of the posted date. Displaying the last updated date also tells Google your content is fresh and updated. Place this snippet where you want to display the Last...
by Molly Roberts | Jun 1, 2022 | WordPress Code Snippets
Do you want to change the default FROM Email Address WordPress sends emails from? You can change the default email address and name that WordPress uses to send emails from. Here’s a simple script you can use to change the default FROM Email Address in WordPress:...
by Molly Roberts | Jun 1, 2022 | WordPress Code Snippets
Do you want to change the default FROM Name WordPress uses in the emails? This includes notification emails WordPress sends you and all other users on your website. It also includes the FROM name WordPress might use in a contact form. Add this code to your...