How to Fix WordPress Critical Error: “Allowed memory size…exhausted in wp-includes/class-wpdb.php”

WordPress white screen of death

Recently, a client of mine reported the dreaded “white screen of death” critical error on one of my sites. On the front end, the error message was simply “There has been a critical error on this website.” In the error log, I saw this: Unfortunately, this line was in WP core, not in my custom … Read more

How to Fix Kadence Parallax by Setting Background Speed and Direction

Kadence parallax setting in the Row block

Like most modern WordPress builders, Kadence Blocks has the ability to display backgrounds with the parallax effect; that is, when scrolling, the background will scroll at a different rate than the rest of the page. Usually, the background scrolls in the same direction as the foreground, but slower, to mimic real life where things that … Read more

Use Gmail or Microsoft 365 to Reliably Send Email from Your WordPress Site

Laptop and mobile phone

2025 UPDATE I no longer recommend using a Google or Microsoft email account for sending transactional email from a website. The main reason is that I’ve seen these accounts get disconnected for various reasons (i.e., the client changed the password) or sometimes for no apparent reason at all, resulting in no email from the site … Read more

Globally Disable Commenting in WordPress Without a Plugin

Microphone

Surprisingly, I wasn’t able to find a native solution online to globally disable commenting on a WordPress website. WordPress doesn’t have a checkbox called “Globally Disable All Comments”. But, a quick and easy solution does exist which does not require a plugin! To be clear, I’m talking about still showing the existing comments, but not … Read more

How to Hide Taxonomy Meta Boxes from the WordPress Editor Sidebar

Remove WordPress meta fields from the editor

Here’s the situation: You’ve created some custom Taxonomies and custom Post Types using the Custom Post Type UI Plugin (or using PHP code). You’re using Advanced Custom Fields (or another plugin) to manage your Taxonomy settings, so you do NOT want those meta boxes to appear in the sidebar of the WordPress editor. I found … Read more

How to Give a WordPress Popup Maker Popup its Own URL for Sharing

Web development clients seem to love popups. They’re always asking me to add popups to websites. My “go to” solution for WordPress popups is the popular Popup Maker plugin. But, as explained in this article, WordPress Popup Maker has had its “popup” custom post type set to “private” since version 1.7. While there are cases … Read more

Make Any WordPress Theme Responsive (Mobile-Friendly)

WordPress structure

Here is the scenario: You’ve searched high and low and found the perfect WordPress theme for yourself or your client. But, there’s one big problem: it’s not mobile-friendly. With mobile web traffic soon expected to exceed desktop web traffic, being mobile-friendly is critical. I often have to go through the exercise of converting a non … Read more