Over the past 12 months, I’ve written a number of posts that focus on adding functionality to WordPress using custom fields. We’ve looked at creating custom post list templates, crafting the perfect travel blog and more. While plugins like CustomPress and Advanced Custom Fields make creating custom post type easy-peasy, if you want to really understand how they work you …
An Introduction to Object-Oriented Code for WordPress Plugins
Object-oriented programming can be difficult to wrap your head around but is important to learn and understand if you want to grow your skills in plugin development. Last year, I wrote about using object-oriented programming (OOP) in plugins through a specific example. Since that article contained a lot of advanced code, I thought it would be a good idea to write …
Is Replacing Default WordPress Scripts Like jQuery a Good Idea? (and How to Do It)
WordPress comes with a whole bunch of default scripts out-of-the-box that you can take advantage of to power your themes and plugins. jQuery is one commonly used script, as is TinyMCE. But what if you want to replace a built-in script with your own? We recently looked at how to add jQuery scripts properly to your install. WordPress uses the same mechanism …
How to Properly Add jQuery Scripts to WordPress
Despite the fact WordPress has been around for a while, and the method of adding scripts to themes and plugins has been the same for years, there is still some confusion around how exactly you’re supposed to add scripts. So let’s clear it up. Since jQuery is still the most commonly used Javascript framework, let’s take a look at how …
WordPress Multisite Masterclass: Activation and Configuration
Welcome back to our six-part WordPress Multisite masterclass. In part two of this series, you’ll learn how to activate Multisite and get your network up and running. I’ll walk you through the installation process, then show you how to create sites on your network, add users, install themes and plugins and configure your network settings. In this series, you’ll learn …
17 WordPress, Design and Development Email Newsletters You Want in Your Inbox
I read a lot of email newsletters. So many, in fact, that I’m resigned to the fact I’ll never reach inbox zero, and I’m totally fine with that. Why? Because newsletters are awesome, they really are, and I sign up for new ones all the time. I can’t get enough of them. What’s not to like about a curated collection …
Building Customized URLs in WordPress: Permalinks, Query Vars and URL Rewriting
The Rewrite API for WordPress is an important feature that you probably don’t read much about, yet you’re no doubt using without even realizing it. The API provides the functionality for creating your own unique links – permalinks – for your website. In this tutorial, I’ll explain permalinks in-depth – what they are, why they are permanent, their possible structures, …
Making Your WordPress Password Hashing Stronger with bcrypt
The WordPress core is secure but you can make the passwords stored in your site’s database even more secure by upgrading from MD5-based password hashing to bcrypt. While some may say otherwise, the WordPress core really is secure, and it’s not that hard to keep your WordPress website safe from most common attacks by using a unique admin username and …
Using Semantic Markup with WordPress to Improve Your Search Results
Search engines are always modifying how they do things. In just a few years’ time, we’ve gone through a strictly keyword-based search algorithm to a semantic search algorithm that prioritizes context over exact keyword matches. The days of keyword stuffing are long behind us now and if you want to make sure your website ranks as high as possible and …
What the WordPress REST API Means for Ordinary Users (and Not Developers)
Everyone’s talking about the REST API right now and some pretty grand claims are being made, including an ambition for WordPress to become a component of 100% of the internet, not as a CMS but as an application platform. This is all very exciting for developers, but the vast majority of people working with WordPress are users and not developers. So …