Back-End Development

25 Free Time-Saving Online Tools for WordPress Developers • WPShout – WordPress Website Design Article

As Fred wrote in an earlier post, learning WordPress development is hard. It’s not just a case of being able to write code. There’s a heap of associated skills: analysis, design, SEO, copywriting, user experience, maintenance and more.WordPress developers have to wear a number of hats, and can’t be experts in everything. It therefore helps to have tools to do some of the heavy lifting and speed up your workflow.This article introduces 25 online tools that are helpful in WordPress development.This article…

Read More

Working with WP_Query: The Complete User’s Guide – WordPress Website Design Article

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 🙂One thing before we dive in. If you want access to videos and additional code examples about WP_Query—and if…

Read More

How They Work – WPShout – WordPress Website Design Article

This article introduces one of the most important topics in WordPress development: WordPress hooks, including action hooks and filter hooks. They are at the core of not only how WordPress plugins work, but nearly all code throughout the WordPress ecosystem. By that I mean most WordPress themes also use them. As does “WordPress core” itself. WordPress hooks are kind of the *must know* topic in WordPress development.We’ve jam-packed this explanation of WordPress hooks with a helpful overview video, key points,…

Read More

A Step-by-Step Tutorial • WPShout – WordPress Website Design Article

This WordPress plugin development tutorial captures the steps I went through on a real project, including the mistakes I made and how I debugged them.This week’s article shows how to create a WordPress plugin from scratch. Rather than showing you only the finished code, I’ve written a step-by-step WordPress plugin development tutorial, capturing the steps I actually went through on a real plugin project, including the mistakes I made and how I debugged them.So this article is designed to give…

Read More

See Your WordPress Scheduled Tasks • WPShout – WordPress Website Design Article

Sometimes, a developer will want to know why a WordPress site gets slow at a particular time, why their WP-Cron scheduled task isn’t working, or want to force one to run at off time. For all of these problems, the WP Crontrol plugin is the perfect tool. It’s a WordPress plugin to quickly debug your WP-Cron issues, all in one convenient place.And a quick note before we dive it: while I find WP Crontrol super useful, I don’t think it’s…

Read More

wp_schedule_event Examples + More • WPShout – WordPress Website Design Article

A few weeks ago we talked about what “cron jobs” were in WordPress and beyond. That tutorial about what “WordPress scheduled tasks” are hopefully gave you a good understanding of some of the things that you might do with them. Today we’ll instead focus on how you’ll use wp_schedule_event to actually do them. That is, we’ll cover a number of WordPress cron job examples.At a high level, these means that we’ll come to understand the wp_schedule_event function, and see how…

Read More

Concatenate Strings and Variables Efficiently • WPShout – WordPress Website Design Article

A slightly weird term you’ll hear people use around PHP: “concatenate.” I still remember the first time I heard that word, having no earthly idea what it meant. It turns out it was a common and useful task in PHP: join two strings together so that we get a single string or something that we can echo to the screen. Today we’ll cover all the major areas of PHP string concatenation: how to do it, why you’ll do it, what…

Read More

Control Flow Basics • WPShout – WordPress Website Design Article

Welcome to this introduction to PHP control flow! This article continues our series explaining the basics of PHP for WordPress development. Our discussion of control flow in PHP relies on a basic understanding of a couple of topics we’ve covered in earlier articles: PHP functions, which are one of the main forms of controlling the flow of execution of PHP code. PHP’s return statement, which is an important element of control flow inside PHP functions. Now: What is control flow…

Read More

Understanding PHP Globals and Variable Scope in WordPress • WPShout – WordPress Website Design Article

One of the most maligned features of WordPress is the use of “PHP global variables.” Whether you love them or hate them, global variables probably aren’t leaving WordPress soon. So today we’ll cover all there is to know about them. How to think about them. How you, in PHP, make variables global, access WordPress’s global variables, and a little about the theory and debate about global state in software applications. Should You Use Global Variables in PHP? There are huge…

Read More