CSS Variables in Pure CSS – Getting Started in 5 Minutes or Less

CSS variables in pure CSS are a huge time saver. 92% of all users have browsers that support them. Using CSS variables doesn’t require any significant changes in existing stylesheets or new tools and can be easily applied to old projects. Instead of having a hex color code written down in hundreds of places in a file, you can have it defined in just one place – in a CSS variable.

Read more

Transactional Email Service Providers Comparison

If you want your emails delivered, opened, read and clicked you can’t send them from any old random server. You need a dedicated, specialized service for sending transactional emails. Like it or not, it’s a must. Those services bring a lot of benefits like advanced stats and high reliability, so they’re far from “wasted money”. We gathered 15 to see how they fare features & price wise.

Read more

How to Add The CodeMirror Code Editor to any WordPress Plugin or Theme

CodeMirror is a versatile JavaScript component that turns any HTML textarea into a full-featured code editor. It comes with WP and vastly improves the code editing experience; specifically, syntax highlighting, linting, and code competition. If your plugin or theme has a field where users enter any type of code (HTML, CSS, PHP) you need to implement CodeMirror today!

Read more

People Who Don’t Build Email Lists Die at Early Age

If you open any website for the first time, it’ll greet you with a minimum of two chores. One is to close the cookie / GDPR consent box, and the other is to enter your email. By the end of your session, you’ll be asked for the email another 5 times. On an average day, you’ll be prompted for your email at least a hundred times. Do you like that? No, you don’t, and neither do your visitors, but people collect emails, so they don’t die!

Read more

Various Tools & Services I Use Daily That Keep Me Sane

We all have our little private toolboxes. A set of services, plugins, and tools we use every day. They are far from perfect, but if we use something every day it can’t be all that bad, right? This is a part of my toolbox. Nothing more than that. It’s a set of tools that save me time and money on a daily basis. Hopefully, they’ll help you too.

Read more

How to Determine What Changes a Plugin or Theme Made to the Site After Activation

Installing a plugin (or theme) means that you are entirely trusting your site into the hands of their developers. There are no restrictions on what the code you’re putting on the site can do. Regardless of where you’re installing plugins from, official WP repository or some shady site, you’ll be left wondering – what changes did a plugin make to my site? Database snapshots can answer that question with ease.

Read more

JavaScript console.log Tricks (From a Lazy Developer)

Developers often underestimate the time it takes to debug something. Consequently, we are too lazy (and proud) to get a proper debugging environment going because, well, it’s a simple problem & will only take “a few minutes” to fix. This is where console.log() comes into play. It might be dirty debugging, but it works. Years of experience have thought me a few tricks with console that save serious amounts of time & nerves.

Read more

PHP Namespaces in WordPress – a No Nonsense Guide

PHP namespaces are almost ten years old (yes, you’re getting old). Despite a decade passing by since PHP v5.3 was released many developers still don’t have a basic understanding of namespaces. Truth be told WordPress doesn’t use namespaces so “you don’t need to know how to use namespaces.” You don’t need to be a namespace ninja but getting a grasp on the basics is simple and will do you good.

Read more

Force Reload Even the Most Stubbornly Cached CSS Files

There’s nothing more frustrating than a machine that refuses to do what you tell it. “Reload the page” – a simple action, that can cause so much frustration because it just doesn’t work. CSS files often don’t get reloaded. Yes, we all know cache is to blame but how to get around it without drastic measures? Years of frustration have led me to this simple one-click solution that always works.

Read more

How to Regain Access to WordPress Admin Without a Username or Password

It’s a nightmare not being able to login to your WordPress site. You’re sure you have the right password, you even tried resetting the password, but nothing works. You’re locked out of your site. Thankfully there are fast methods of regaining access by modifying a few database records or a few files via FTP. As long as you have some access to the underlying server resources, you’ll be back in WP admin in no time.

Read more