How to Add Night Mode to Your WordPress Site with JavaScript & CSS

May 6, 2019

Lately, I’ve been thinking a lot readability and information retention. I firmly believe that people have an easier time comprehending dark text on a light background. However, there are certainly times when light text on a dark background is a valid design choice. For example, staring at a white background when reading late at night is terrible for your eyes.

To address this issue, I added a “night mode” to my website that automatically turns on after 5 PM and stays active until 5 AM. I decided to forgo the typical night/light mode button because there’s nowhere obvious to put such a button on my website. Here’s how I added the automatic night mode feature.

Continue Reading →


The Difference Between WP_MEMORY_LIMIT and WP_MAX_MEMORY_LIMIT

May 5, 2019

By default, WordPress enforces a memory limit of 40 MB. This means a single PHP script is allowed to use up to 40 MB of RAM. In certain cases, you may need to increase WordPress’ memory limit to run heavier plugins like WooCommerce or bbPress. To increase WordPress’ memory limit, you can define WP_MEMORY_LIMIT in your wp-config.php file using the line below.

Continue Reading →



Kinsta Managed WordPress Hosting Review

April 29, 2019

The managed WordPress hosting industry can be accurately described with one word–overcrowded. As with other overcrowded industries, leaders tend to emerge over time, and that’s exactly what Kinsta has done since it was founded in 2013. Over the past six years, Kinsta has grown from a small boutique hosting company into a globally recognized industry leader, all while maintaining unparalleled customer satisfaction and a quality user experience.

Today, Kinsta offers a premium containerized WordPress hosting platform, “for everyone, small or large”, built on top of Google Cloud Platform utilizing the latest technologies like NGINX, LXD, MariaDB, and PHP 7 to guarantee super fast load times. In this review, we’ll take an in-depth look at Kinsta’s WordPress hosting offering so you can decide if it’s the right solution for you.

Continue Reading →


Substratum Removes Team Page and Whitepaper From Its Website

April 28, 2019

Following up on a post from last week, it appears Substratum has completely removed the team page from its website – it now resolves to a 404 error. Substratum has also removed its whitepaper from the website, leaving only the technical paper available for download. In response to questions surrounding this sudden development, Substratum CIO Abram Cookson posted the following explanation on Telegram.

Continue Reading →



Questions?

Find me on Twitter, or send me an email.