How to Create and Use WordPress User Metadata (User Meta)
In this article, we explore WordPress user metadata, usually called simply WordPress user meta.
How to Create and Use WordPress Custom Fields
This article describes how to work with WordPress custom fields, also called post meta. In it, we describe how to use WordPress’s post meta PHP functions, especially get_post_meta() and update_post_meta(), and provide in-depth code demos as well as practical advice for working with custom fields tools like Pods and Advanced Custom Fields.
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.
Three Tips for Writing Airtight PHP Conditions
In PHP, conditions are the core of conditional statements such as if-statements, and of certain other control structures like while() loops.
How to Change WordPress Password in phpMyAdmin (a cPanel tool)
In this Quick Guide, we’ll walk you through how to change a WordPress user’s password using phpMyAdmin, a tool found in most webhosting cPanels. To change WordPress passwords from phpMyAdmin is simple (it takes less than a minute front-to-back) and it’s a very useful trick to know—one we use at least a couple times every single month in our work with our clients.
How to Prevent Browser Caching of a CSS Stylesheet in WordPress
This video and text Quick Guide explains how to prevent browser caching of CSS files in WordPress. The CSS cache busting tricks here will work outside WordPress, too: you’ll just need your own method of adding query strings.
How to Use FTP to Deactivate a Plugin That’s Breaking Your WordPress Site
In this text and video Quick Guide, we’ll explain how to deactivate a WordPress plugin via FTP.
Changing How Your WordPress Post Titles Appear: A First Filter Hook Tutorial
This Quick Guide covers how to use code to change your WordPress post titles. This is separate from manually changing one or more WordPress post titles, which you can do without code. Instead, it’s the kind of thing you’d want to use to change something about a lot of post titles at once, like adding “(Sale!)” in front of all 200 products in a product category.
get_queried_object(): How and Why to Use It
WordPress’s get_queried_object() function has the distinction of being, I think, the most useful core function in WordPress that I didn’t know about for the longest time.
How To Fix a WordPress Site Stuck in Maintenance Mode
This quick guide walks you through fixing a WordPress site that’s stuck in maintenance mode. This problem shows up as both the front-end and admin area of your site displaying nothing but “Briefly unavailable for scheduled maintenance. Check back in a minute.”