Is WordPress Object-Oriented? A Thorough Exploration
Here at WPShout, we’ve got some thorough tutorials on using object-orientation as a WordPress developer. We’ve hopefully convincingly explained that it’s pretty common and easy for a developer to write...
View ArticleHow to Use WordPress Conditional Tags
One of the most straightforward, dependable, and useful things in WordPress is what the Codex calls “Conditional Tags.” In her interview for Up and Running, Helen Hou-Sandí said WordPress conditional...
View ArticleLearning PHP for WordPress Development: Introduction to PHP Functions
This article is an accessible dive into one of the bedrock concepts of modern programming: functions.We’re writing our guide to PHP for WordPress developers, and it’s exciting times! PHP knowledge...
View ArticleLearning PHP for WordPress Development: Understanding PHP’s echo
Welcome to this rundown on echo in PHP! This article is part of our series explaining the fundamentals of PHP for WordPress development, so that you can start learning the language of WordPress “under...
View ArticleThe Four Languages You Must Know to Understand WordPress
Learning WordPress development starts with a lot of key questions, including this one: “What language is WordPress written in?” Another common one is “Should I learn PHP or JavaScript first?” WordPress...
View ArticleLearning PHP for WordPress Development: Understanding PHP’s return
Welcome to this rundown on return in PHP! This article continues our series explaining the basics of PHP for WordPress development.Our discussion of PHP’s return builds on two topics we’ve covered in...
View ArticleWordPress’s get_template_part() function: What and Why
This article introduces an important concept in WordPress themes: the WordPress get_template_part function. It’s one of the many important concepts of WordPress theme development. Mastering WordPress...
View ArticleLearning PHP for WordPress Development: How to Include PHP in HTML
Welcome to this article on how to use PHP in HTML! Here, we try to get specific about exactly how PHP and HTML interact, at the level of a specific .php file. In other words, how do you actually...
View ArticleUnderstanding PHP Globals and Variable Scope in WordPress
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...
View ArticleLearning PHP for WordPress Development: Control Flow Basics
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...
View ArticleLearning PHP for WordPress Development: while() Loops
Welcome to this discussion of PHP loops: what loops are, whey they’re important, and how to use PHP while() loops. This article continues our series explaining the basics of PHP for WordPress...
View ArticleCool New PHP 7 Features for WordPress Developers
PHP has changed a lot in the last few years. And even before that, it had changed a lot. In short, modern PHP is a great and cool language, with only a few of the worst problems that people who last...
View ArticleProperly Add Custom JavaScripts and Styles to Pages in In WordPress
This article covers how to include custom JavaScript and CSS files in WordPress. It’s a chapter from our outstanding WordPress course, Up and Running. If you want to become a knowledgeable WordPress...
View ArticleLearning PHP: Concatenate Strings and Variables Efficiently
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...
View Articleget_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.get_queried_object() has been...
View ArticleChanging 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...
View ArticleA Thorough Introduction to PHP Arrays
The goal of this article is for you to thoroughly understand PHP arrays. We’ll cover what they are, and highlight a few less-known things that even experienced PHP developers may not have known or...
View ArticleHow 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.When and Why to Use FTP to Disable a WordPress PluginWhy would you need to disable a WordPress plugin via...
View ArticleHow 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...
View ArticleThree 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.Surprises are great in some areas of life, but rarely so in...
View Article