WordPress at Your Fingertips

WordPress (category)

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

Bug with moving uploads folder

Seems I've run into a bug in WordPress, which is related to the wp-content/uploads directory. Although I will not claim that this is a bug, but the logic is...

Must-Use plugins in WordPress

Must-use plugins (mu-plugins) - mandatory plugins that are installed in a special /wp-content/mu-plugins folder. They are always active for the site and all sites...

Kama_Cron

A small class for easily adding WP Cron tasks (jobs).

This Class allow you to create WordPress Cron tasks in a quick and simple way. In order not to confuse anything,...

How to revert to Classic Editor in WordPress (disable Gutenberg using code or plugin)

In WordPress 5.0 new content editor Gutenberg was added into the core. It completely changed post editing admin-page and the way the content was written. On some sites,...

Do plugins slow down the WordPress?

This short article is my attempt to answer the common question — what is better: install a plugin to add desired functionality or add custom code in functions.php?...

Get several adjacent posts in one query

There are number of functions in WordPress to get one of the adjacent (neighboring) posts to the current one: get_previous_post() and...

Emails In WordPress

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

How Allow to Upload Forbidden File Types

WordPress does not allow to upload to the library any type of file you want - there are limitations. Files of non-standard (not allowed, forbidden) types cannot be...

Hooks on Edit Post Admin Page

There are hooks that allow you to display any content in a particular place on the admin page of adding or editing any type of post.

Thanks to hooks below, you can...

Date and Time Formats in WordPress

WordPress has functions that get the date or time of a post, comment, or something else: the_date(), the_time(),...

Theme Files Hierarchy

This post is about the names of the WordPress theme files. And it also reviews which file to include for showing the content of a specific page. This is very important,...

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