Theory (basic knowledge) (tag)

WP 6.3: async and defer attributes when registering scripts

WordPress 6.3 introduces support for registering scripts with the async and defer attributes, improving site performance and loading strategies.

Translations in JS Files

The article introduces enhanced JavaScript localization in WordPress 5.0, using wp_set_script_translations(). It covers creating translation JSON files from PO files...

The "-scaled" suffix for images, or what WP does with large images

Explanation of the "-scaled" suffix for images in WordPress and how it handles large images; instructions on modifying and disabling the creation of "-scaled" images.

wp.template — HTML templates for JavaScript in WordPress

This article explains the usage of wp.template in WordPress for creating HTML templates for JavaScript and provides examples of its implementation.

Emails In WordPress

This document lists all the situations where WordPress sends an email, along with how to filter or disable each email.

How Notifications Work in WordPress (Pings, Trackbacks) - xmlrpc.php File

Understanding how notifications (pings, trackbacks) work in WordPress and how to effectively manage them. Learn about the differences between trackbacks and pingbacks,...

Page Template for any Post Type in WP 4.7

Support for page templates ("page" post type) has been unchanged for 12 years. And it helped developers to conveniently create templates for pages, but it has always...

Global Variables of WordPress

We often use functions to retrieve some data on a page and are unaware that this data can be taken from global variables. For example, the name of the author on the...

Feeds (RSS) in WordPress

This article explains the concept of feeds (RSS) in WordPress, how they work, how to disable them, the types of content and feed formats, feed URLs, and the PHP...

WordPress Reserved Variables

Here you find reserved names which should not be used as variable names for POST, GET requests. Also it is not recommended to use them when creating custom post types,...

3 Ways of Creating a WordPress Page Template

The article shows the ways of creating templates for WordPress pages. Each way has its pros and cons, and before I start, allow me to introduce the meaning of the...

WP 4.0: WP_Query: fixes in the orderby parameter

Explanation of the orderby parameter fixes in WP_Query in WordPress 4.0.

Color Selection in WordPress: Iris Color Picker

This article explains the usage of Iris Color Picker in WordPress for color selection in both the admin panel and frontend, along with the necessary steps and code...

SHORTINIT constant: WordPress environment with minimal load

I was worried about a question: how can I use $wpdb object and site database with which I work, but with minimal loading of WP environment. Sometimes it is...

Constants of WordPress

WordPress is configurable in the admin panel or using hooks (filters, events), and WordPress can also be configured using PHP constants.

You've probably used constants...