Simple WP_Query Example: Using a Shortcode to Display Post Titles
In this video and text Quick Guide, we present a basic use of WP_Query inside a WordPress shortcode, to show the post titles of the five most recently published posts. We’ve designed this Quick Guide to be a simple intro to using WP_Query in general, as well as to using WP_Query to display post titles and other post data inside a shortcode specifically.
How to Create WordPress Shortcodes, and Why I Love Them
Before we look at how to register WordPress custom shortcodes, let’s be clear: If there’s one thing Gutenberg is about to kill, it’s the use of WordPress shortcodes in content creation.
The Many Uses of PHP Output Buffering in WordPress
This introduction to PHP output buffering and its uses in WordPress contains a few helpful resources:
Making your First WordPress Plugin (From Scratch): Live Training Tomorrow
We’re doing a WordPress development training session tomorrow!
Making Your First WordPress Shortcode
One of my favorite features of WordPress (as a developer) is shortcodes. I think they’re not super great to hand off to end users, but I find they’re fantastic for both:
Classic Do-It-Yourself WordPress Mistakes To Avoid
As a very powerful, well-documented, and relatively user-friendly CMS, WordPress attracts a lot of do-it-yourself energy.
Write Faster With WordPress’ Shortcodes
WordPress has many somewhat hidden features and one of my favourites are shortcodes. In this post we’ll learn exactly what they are, when to use them, why they’re so brilliant and how to use them.