The three ways to add categories to pages in WordPress: with a plugin, by editing your theme’s functions.php, and by creating a custom plugin for the job.
Remove special characters from any string with the String.replace() method and well-written RegEx. We show you how!
A web developer’s introduction to the data layer, a must-have for advertising and marketing on websites and web applications.
How to use CSS to remove the underlines from all links, groups of links, or specific links in your HTML document.
Learn how to get the class of any, or specific, DOM element that the user clicks by creating an event listener.
Learn how to get the id of any, or specific, DOM element that the user clicks by creating an event listener.
This is the best way to listen to click events for a button element.
You asked for it, we delivered. We explain nested arrays in a way that anyone, from beginner to expert, can understand.
These are the two best ways to initialize an empty array in PHP.
ReferenceErrors are annoying. These common mistakes and clues to look for will help you get to the meat of it.
The best way to check if a variable is a string or not in PHP.
We explore some of the best ways to add a line break to a string in your PHP code.
Everything you need to know about editing categories in WordPress, from simple to advanced use cases.
So you want to remove the dates on your posts because you’re publishing evergreen content? I show you how.
Don’t want the “Leave a Reply” section under the posts on your blog? Here’s how to get rid of it.
The best way to check if a file or directory exists in your PHP application.
Adding a domain name to your cart and hitting that “Buy” button is easy. Switching from an ill-picked domain name after you’ve built a site on it isn’t.
The fact that you can build a website from scratch doesn’t mean you should. Here are a few reasons why—and why not to—consider WordPress.
WordPress updates keep your website stable, secure, and performant. But can they break it? And, if that happens, what can you do about it?
I’ve been building websites with WordPress since it came out in 2003. Here’s what I consider to be its biggest disadvantages.
No, WordPress won’t replace web developers. If nothing else, it will create opportunities and work for WordPress developers.
Yes, WordPress requires hosting to power your website. Without it, it’s just a bunch of files in a folder on your computer.
Here’s how I managed to change the Yoast SEO breadcrumb of a WordPress post that had already been published.