WordPress Tutorials
How to Change the WordPress Admin Login Logo
There are numerous content management systems that thrive these days but none are as prolific as WordPress. Every client wants the ability to change their website at a moment's notice and they want to do it themselves, and again, WordPress is the best fit for that.
How to Change the WordPress Media Upload Directory
One thing I've always missed about the "old" way of web development was the simplicity of FTP. No deploy scripts, no fuss: simple drag and drop of files and the files are there. I've used FTP for assets on this blog for over a decade but...
Add META Tags to WordPress Head
The reason that WordPress is so developer-friendly is their awesome hook system. Depending on a post category (or seemingly anything else), you can modify the contents of the page, the theme templates, and everything else. WordPress is amazing. One recent use case I had was wanting to modify...
WordPress Publish Post Hook
One of the best parts of WordPress is its hook/action system; this special hook system is WordPress' way of assigning callbacks when certain events occur. One event that there seems to be a lot of confusion over is which hook to use to detect when...
Using DOMDocument to Modify HTML with PHP
One of the first things you learn when wanting to implement a service worker on a website is that the site requires SSL (an
https
address). Ever since I saw the blinding speed service workers can provide a website, I've been obsessed with readying my site for...Add Custom CSS to WordPress Admin
Believe it or not, I spend an awful lot of time going through my blog's comments and correcting spelling issues, code formatting, etc.; yes, even the comments from way back to 2007. It's mostly for quality control purposes and ease of reading for my readers, especially the code...
Prevent WordPress from Loading “Next” Pages
I've been working to make this blog more performant by lazy loading everything I can think of, placing CSS and JavaScript into the HTML, and using data URIs; the common theme in these is reducing the number of requests on each page. One request I noticed (and hadn't anticipated) coming...
Serve a Directory with PHP
Many developers have a giggle at PHP, even looking down at the language, but let's be honest: most of our blogs are powered by it (WordPress) and it's a great language to dabble around with. I cut my teeth on PHP, though I prefer to avoid PHP these days. But...
Improving WordPress Commenting with Postmatic
We've set out to create a fantastic commenting plugin for WordPress. It's called Postmatic and what it does is a first for any blogging system: to allow synchronous 100% email and web-based commenting. The web folks can engage via the web. The email folks can stick...
Preventing Bot Attacks on WordPress using No Captcha reCaptcha
There are many different solutions to prevent bots from submitting web forms; one of the most popular solutions is reCaptcha. reCaptcha actually displays an image with some text in it and user has to enter the text to submit the form successfully. It was difficult for...