Quantcast
Channel: Back-End Development - WPShout
Browsing all 159 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

PHP Math Functions: Understanding the Basics

Our focus today is PHP math. Or “PHP maths,” if you prefer British English. We’re not going to teach you the basics of mathematics itself, but just explore some of the common ways we use math in our...

View Article


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...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

How to Create and Use WordPress User Metadata (User Meta)

In this article, we explore WordPress user metadata, usually called simply WordPress user meta.We’ll explain, among other things:How to add custom user meta fields in WordPress,How to get user meta...

View Article

Image may be NSFW.
Clik here to view.

Understand WordPress Scheduled Tasks: WP Cron Makes Sense

Sometimes you’ll hear, at a meetup for example, this word “cron” (or is it kron? “Chron”?!) around WordPress. Today we’ll understand what the heck it is and what it helps us do. WordPress scheduled...

View Article


Image may be NSFW.
Clik here to view.

How to Properly Modify JavaScript Files in a Parent Theme

I recently needed to modify a JavaScript file in a WordPress parent theme. The script was doing almost what I wanted, but not quite, so I wanted to make minor changes. In your case, you might want to...

View Article

Image may be NSFW.
Clik here to view.

WP Cron in Practice: wp_schedule_event Examples + More

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...

View Article

Image may be NSFW.
Clik here to view.

PHP Foreach: All You Need to Know

One of the most-used functions in my life with PHP is foreach. Partly, this is because it’s just an exquisitely named function, and it maps well to how I think. Partly this is because it’s kind of the...

View Article


Image may be NSFW.
Clik here to view.

Making Your First WordPress Shortcode

This video and text Quick Guide covers how to create a WordPress shortcode. If you want to learn the basics of WordPress shortcode creation, or if you want a refresher on shortcodes, you’re in the...

View Article


Image may be NSFW.
Clik here to view.

Learn WordPress Development: The Basic Course

So You Want to Learn WordPress DevelopmentWordPress development is a hugely useful skill, but it’s also tricky to learn—especially if you learn things out-of-order and try to tackle advanced topics...

View Article

Image may be NSFW.
Clik here to view.

See Your WordPress Scheduled Tasks

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...

View Article

Image may be NSFW.
Clik here to view.

Writing a WordPress Plugin From Scratch: A Step-by-Step Tutorial

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...

View Article

Image may be NSFW.
Clik here to view.

A Story of WP Option Autoload: A wp_options Cleanup

Today I want to dive into a kind of esoteric topic: WP option autoloading. It’s not something a lot of WordPress developers are likely to hit or to need. But vague knowledge of this topic saved me a...

View Article


Image may be NSFW.
Clik here to view.

How to Search Through a WordPress Plugin’s Files with Sublime Text

This Quick Guide walks you through searching through all the files in a WordPress plugin using the Sublime Text code editor. This process works not only for searching through WordPress plugin folders,...

View Article

Image may be NSFW.
Clik here to view.

8 Things I Learned Building a WordPress Site without Code

About a month ago, I read a headline in the Post Status newsletter called “Let’s No-Code This Thing and All Go Home.” It linked to an article that stated:Tools to build complex full-stack products...

View Article


Image may be NSFW.
Clik here to view.

WordPress Hooks, Actions, and Filters: What They Do and How They Work

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,...

View Article

Image may be NSFW.
Clik here to view.

Getting to Know WP_Query

The WP_Query class is an exceptionally powerful tool in WordPress. As you may know, every WordPress site contains a database that stores many posts (of many post types) that make up the bulk of that...

View Article


Image may be NSFW.
Clik here to view.

WP_Query: Understand it, Love it!

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...

View Article

Image may be NSFW.
Clik here to view.

Working with the WordPress HTTP API

This article explains how to use WordPress’s HTTP API, a set of PHP functions from within WordPress’s function library, to make remote HTTP requests to external resources, such as JSON REST APIs. We...

View Article

Image may be NSFW.
Clik here to view.

A Rational Approach to Updating Your WordPress Install

The ability to update WordPress core, themes and plugins from within the Dashboard is quite amazing. It has taken a process that was at one time tedious and made it incredibly simple. Anyone can do it....

View Article
Browsing all 159 articles
Browse latest View live