How To Allow Admins To Upload SVG To WordPress

Scalable Vector Graphics (“SVG”) can be a great way to display line art on your site at a range of sizes without having to worry about file sizes. They’re particularly useful for a logo or for social media icons. However, due to the way they’re coded, uploading an infected SVG can be a potential security

How To Add An Item To WordPress Theme Customizer

If you’ve not worked with it before, the WordPress Theme Customizer can be frustrating. The documentation assumes you already understand how it works. I’ll save a long discussion on how everything works for another day and dive right into adding a super basic item. The basic default Theme Customizer looks like this: We’re going to

How To Change Footer Widget Title Heading Levels In Divi

For accessibility reasons, I needed to change the heading levels in the WordPress Divi footer widget titles on one of the sites I’m building. They are set to <h4> by default, but I needed them to be <h2>. The code to change the heading levels is: How This Works Divi’s setup for widget titles is

How To Add A Custom Class To Astra Search Form

A friend had a question on how to add a custom class to the header search box in Astra that was too complex to answer in a Facebook post, so I’ll put it here. Essentially, he wanted to add a class to the input field which already has the class “search-field”. The class he wanted

How To Find Which WordPress Database Belongs To Your Website

When you have multiple websites installed on your hosting account, it can be tricky to track which database belongs to which WordPress installation. Given that most of the unique information belonging to a website lives in the database, you don’t want to accidentally edit the wrong one. To find which WordPress database belongs to your

How To Create A New WordPress Admin User In phpMyAdmin

Sometimes a client will give you cPanel access to a WordPress website, but not the login details for an admin. Other times, you might find yourself locked out of WordPress, or the site got hacked and the password changed. Whatever the reason, you might need to manually create a new admin user through the database.

How To Disable WordPress Admin Email Verification

WordPress 5.3 introduced a screen that appears every six months to check if the administration email for the website is up to date. You’ve probably seen it. It looks like this: Thankfully it will only show to people with the “manage_options” capability, which generally means only website admins. For most of us, it’s annoying, but

How To Enable XML-RPC On WordPress

I needed to use XML-RPC on one of my sites to verify that I owned the site. Normally that’s not a problem with WordPress sites, because XML-RPC is enabled by default. However, I always turn it off and block access to it through iThemes Security. To enable XML-RPC on WordPress, go through your security, speed

How To Show Hidden Files In cPanel (Like .htaccess)

Every WordPress installation has at least one “dotfile” called .htaccess. Files usually have a file name, then an ending, like index.php. But .htaccess is just the ending. By default, cPanel’s File Manager doesn’t show dotfiles. You have to change a setting so that you can see them. To show hidden files in cPanel like .htaccess,