Usefulness (category)

WP_Query: How to Compare Meta Fields values in meta_query Request

How to compare meta fields in WP_Query using meta_query; Universal method for comparing meta fields in WP_Query.

Additional fields for WP_Nav_Menu

In WordPress 5.4 there are new hooks that allow you to more flexibly customize the WordPress menu (WP Nav Menu). In particular, it's now possible to easily add custom...

Hiding Notifications of New WordPress Version in Admin Panel

Tutorial on how to hide notifications of new WordPress version updates in the admin panel.

Disabling update/download of new versions of default themes and plugins

This article explains how to disable the update and download of new versions of default themes and plugins in WordPress.

Meta tags: dns-prefetch, preconnect, prefetch, prerender, preload

Explanation of meta tags such as dns-prefetch, preconnect, prefetch, prerender, and preload for the browser and their usage.

Adding User Rights on the Fly

This article explains how to dynamically add user rights and capabilities in WordPress using the user_has_cap hook, allowing for immediate changes without modifying...

How to upload SVG in WordPress

By default, in WordPress you can't upload SVG files for security reasons. But what to do when you really need to? There is a solution!

How to revert to the WordPress Classic Editor (original editor) - disable Gutenberg Block Editor completely or for a post type

How to revert to the old WordPress editor (completely disable Gutenberg or for a post type). This article explains how to disable the Gutenberg editor in WordPress...

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

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

SEO Meta Tags Without Plugins: Title, Description, Robots, Open Graph

The article provides a method to implement SEO meta tags (metadata) for a WordPress website without using plugins, focusing on creating title, description, robots, and...

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.

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