WordPress at a glance

Home

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, such drastic changes can break the current functionality, so there this editor ...

Do plugins slow down WordPress?

This short article is my attempt to answer the common question — what is better: install the plugin or add custom code in functions.php?. And it destroys the claims of laymen that plugins are evil by themselves because they slows down WordPress. ...

Get several adjacent posts in one query

There are functions in WordPress that receive one of the adjacent (neighboring) post get_previous_post() and get_next_post(). But they can only get one post. And what to do when we need to ...

Emails In WordPress

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

List of File Extensions and Their MIME Types

When uploading a file to a WordPress site, WP will check the MIME type of the file. Sometimes it is useful to know exact names of mime-type of the file with particular extension. For example, zip file can be of different MIME types, it depends ...

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 uploaded because WP has a list of valid file formats, i.e. a whitelist of files mime ...

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 make the publication more convenient. All depends on your programming skills and ...

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(), mysql2date() etc. You can pass a format to each of these functions ...

Kama Click Counter: Counting Clicks on Any Link

I present you my new plugin. It counts the number of clicks on a certain link and clicks on file download blocks. It is a more usable alternative to once widely known as «Downloads Manager»

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 and at the same time simple knowledge. Every WordPress developer should know how ...

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 been limited to the page post type. However, with WordPress version 4.7 this ...

3 Ways of Creating a 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 'Page' term and its difference from Posts.

WordPress allows the creation of both ...

Register a Taxonomy without attaching it to any Post Type

As I found out, WordPress does not allow the creation of taxonomies independently, without binding to any post type. I mean, we can register a taxonomy without binding it to any post type, but when we go to the page for creating new terms (elements) ...