Category: Back-End Development
WordPress Shortcode Tutorial: How to Create Shortcodes, and Why They’re Super-Useful
This article is an in-depth WordPress shortcode tutorial. We cover what shortcodes are, when to use them, and how to register your own, with full-code custom shortcode examples.
Working With WordPress User Roles and Capabilities
There are a few things that you must understand about user roles and capabilities to be an effective administrator of a WordPress site: things like what a user is, how you make a new one, and what you’d make users for. There’s lots of value in covering those things, but our goal today is to really get a solid understanding of how the whole WordPress user management and role system works conceptually, and to cover a few of the most important ways of modifying it.
A Rational Approach to Updating Your WordPress Install
The ability to update WordPress core, themes and plugins from within the Dashboard is quite amazing. It has taken a process that was at one time tedious and made it incredibly simple. Anyone can do it. All it takes is a few clicks and you’re running the latest versions of everything.
Working with the WordPress HTTP API
This article explains how to use WordPress’s HTTP API, a set of PHP functions from within WordPress’s function library, to make remote HTTP requests to external resources, such as JSON REST APIs.
WP_Query: Understand it, Love it!
This free WPShout Course is a step-by-step introduction to WP_Query, one of the most powerful systems in WordPess. By the end of the course, you’ll know what a WP_Query is, and how and why to use your own custom WP_Querys for theme and plugin development. It really is a revolutionary and powerful tool for every WordPress theme and plugin developer to master 🙂
Getting to Know WP_Query
The WP_Query class is an exceptionally powerful tool in WordPress. As you may know, every WordPress site contains a database that stores many posts (of many post types) that make up the bulk of that site’s content, and WP_Query is the best way to fetch or retrieve a given selection of those posts for processing. So your theme files use it on regular basis, and a lot of plugins on your WordPress site will it.
WordPress Hooks, Actions, and Filters: What They Do and How They Work
This article introduces one of the most important topics in WordPress development: WordPress hooks, including action hooks and filter hooks. Hooks are at the core not only of how WordPress plugins work, but nearly all code in the WordPress ecosystem: most WordPress themes use hooks heavily, as does “WordPress core” itself. WordPress hooks are absolutely a must-know topic in WordPress development.
8 Things I Learned Building a WordPress Site without Code
How to Search Through a WordPress Plugin’s Files with Sublime Text
This Quick Guide walks you through searching through all the files in a WordPress plugin using the Sublime Text code editor. This process works not only for searching through WordPress plugin folders, but for searching the contents of any folder using Sublime Text.
A Story of WP Option Autoload: A wp_options Cleanup
Today I want to dive into a kind of esoteric topic: WP option autoloading. It’s not something a lot of WordPress developers are likely to hit or to need. But vague knowledge of this topic saved me a bunch of time and confusion on a client project, so I want to help you understand how casual use of the update_option function without understanding WordPress’s autoload options feature can cause you pain and heartache.