WordPress at Your Fingertips

Theory (basic knowledge) (tag)

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

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

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

3 ways to Create Loop in WordPress - WP_Query{} get_posts() query_posts()

An article for beginners and those who are already a little familiar with WordPress, which should debunk all the myths about the different types of loops in...

The Loop in WordPress

The Loop in WordPress is processing posts one by one that are in the current global data and output information about each post. The Loop gets an array of objects...

The functions.php theme file in WordPress

Everyone familiar with WordPress has heard of the functions.php theme (template) file. However, not everyone understands its purpose, seeing in it only a file that...

Emails In WordPress

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

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

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