ACF | Building WordPress Custom Themes From The Ground Up
Discover how to create unique WordPress themes from scratch. Our guide covers structure, responsive layouts, and leveraging WordPress functions for full customization.
Passing arguments to template files in WordPress 5.5
For years, theme developers wishing to pass data to template files have had to use less than ideal workarounds. This included the use of global variables, set_query_var(), the include( locate_…
Working with WP_Query: The Complete User's Guide | WPShout
This complete course covers a range of topics to get you up to speed on the most effective uses of wp_query from the essentials to advanced implementations.
WordPress Plugin Development Best Practices: Template Files
Can you override WordPress plugin template files? In this article, we answer this and go over implementing templates in your own plugin that can be customized.
I’m cleaning up a website with a lot of old shortcodes. Before removing a shortcode, we wanted to be sure all pages that used it were updated. So I wrote a shortcode to help 🙂…
Retrieveing data using get_posts or WP_Query can be challenging when we need to include custom tables in the query. In this tutorial, we will learn how to include our custom tables to create custom queries. The idea for this tutorial […]
Custom Rewrite Rules for Custom Post Types and Taxonomies
Creating WordPress custom rewrite rules can be confusing. Here's a simple way to add taxonomy terms into custom post type URLs & even add date archive URLs.
Building Efficient WordPress Queries with WP_Query
In this tutorial, we'll show you how to use the WP_Query class specifically to optimize the SQL queries, reducing execution time and resource consumption.
WordPress Cookies and PHP Sessions - Everything You Need to Know
Diving into the topic of cookies and PHP sessions. Learn what they are, how WordPress uses them, and issues that arise with caching and dynamic requests.
WP-CLI is loved by WordPress developers, power-users & admins. If you want more such users adding WP-CLI support to a plugin is a smart & easy thing to do.
I'm using the following to generate the thumbnail from a Vimeo video in Wordpress via the functions.php file: function get_vimeo_thumb($id, $size = 'thumbnail_small') { if(get_transient('vimeo_'...
WordPress developers often enqueue scripts or styles for their themes or plugins. When creating a widget or shortcode, they aren't needed unless on the page
Creating a Better WordPress Loop Using PHP Generators - WP Scholar
The WordPress loop is ubiquitous. It is one of the first things you learn as a WordPress developer and it is something you must know the intricacies of in order to avoid causing problems. Learn how simple PHP generator can be used to simplify things and create a better WordPress loop...
How to Conditionally Enqueue a JavaScript File in WordPress - WPShout
Enqueuing is the WordPress way to add a stylesheet or JavaScript file on a page. We already published a Quick Guide about including your JavaScript in WordPress. This time, though, we’re adding an extra wrinkle: how do you only enqueue a JavaScript file on certain pages of your WordPress site. That’s the focus of this here Quick Guide.
WordPress Local Development For Beginners: From Setup To Deployment
Is there a better way to make direct changes to your WordPress website? Yes, there is! Learn how to build a local WordPress environment with XAMPP and how to get your website online once it’s ready to see the light of day.
Getting started with continuous integration and WordPress | The Man in the Arena
I gave an introduction to continuous integration with WordPress at WordCamp San Diego 2018. This is the companion article that I wrote for it. If you’re just looking for the slides, click here.
FooGallery Developer 101 - FooPlugins Knowledge Base
FooGallery was designed to be the most Developer-friendly gallery there is. As a freelancer, developer, or web development agency you have a lot of clients
Taking Over a WordPress Website: The Ultimate Checklist
As simple as WordPress is to get up and running, taking over a WordPress website from someone else is anything but. It’s not hard to take control of a WP install, but there are a lot of moving...
Don’t use template_redirect to load an alternative template file
template_redirect is a popular WordPress hook, for good reason. When it runs, WordPress has made its main query. All objects have been instantiated, but no output has been sent to the browser. It i…
setup_postdata(): The Template Tags You Need, the Custom WP_Post Arrays You Crave | WPShout
setup_postdata() lets you treat any bundle of posts the way you would normally treat the results of a WP_Query. setup_postdata() is a function I really lov
How to enable WordPress Extensions in your Plugin - Igor Benić
When working on WordPress Plugins that are going to be used by others, you may want to enable other developers to create their WordPress extensions for your plugin. That will make your plugin grow even more. Previously I have written […]