WordPress (category)

Caching Min and Max Prices for All Product Categories (Woocommerce)

Caching mechanism for retrieving and storing minimum and maximum product prices for each category, enhancing performance.

Bulk Actions in Tables: Posts, Pages, Users, Comments...

How to add custom bulk actions to WordPress admin tables and process them using hooks.

How to Prevent Deactivation of Important Plugins?

Tutorial on how to prevent deactivation of important plugins in WordPress and remove the "deactivate" button and checkbox for specific plugins.

jQuery AJAX file upload to server

This article explains how to upload files to a server using AJAX and jQuery, with examples for both general use and WordPress integration.

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

How do I enable links (bookmarks) in WordPress?

Before version 3.5, WordPress had a so-called "blogroll", "bookmarks", "links" - these were entries that had their own separate menu in the admin-panel, just like...

Anonymous PHP functions in WordPress hooks

Exploring the use of anonymous PHP functions, also known as closures or lambda functions, in WordPress hooks and discussing their advantages and disadvantages.

How Allow to Upload Forbidden File Types

WordPress does not allow uploading just anything to the media library—it protects itself. Files of non-standard (not allowed) types cannot be uploaded because WP has a...

Settings API for Network Sites (Multisite)

This article explains how to create a settings page for a plugin in the WordPress Multisite network admin using the Options API, highlighting the differences from...

ThickBox API: Modal Window in WordPress Admin

This article explains the usage of the ThickBox API for creating modal windows in the WordPress admin area, including examples and parameters for customization.

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

Speeding up the WordPress admin panel — disabling aggressive update checks

This article explains how to speed up the WordPress admin panel by disabling aggressive update checks, which often cause slowdowns and performance issues. It provides a...

@import Styles of a Child Theme via PHP

Using child themes in Wordpress is a valid way to modify an existing theme, but the CSS @import directive is slow, so it's worth avoiding.

It takes 200ms to load...

Pagination for WordPress Single Post (Post Content)

Not everyone knows that in WordPress a single post or page can be divided into several parts, thus organizing the pagination for the post. To do this you need to use...

Creating New Fields for WordPress Comments

There are cases when it is necessary to add custom fields to the WordPress comment form, for example, a field for entering a phone number, address, rating, mood, and so...