WordPress (category)

Passing Variables by Reference in apply_filters(), do_actions()

Passing variables by reference in WordPress filters and events, and passing objects by reference.

How to create your own demo/test content (dummy data) for WP?

The article explains how to create demo/test content for WordPress themes and provides step-by-step instructions for importing test data.

Feeds (RSS) in WordPress

This article explains the concept of feeds (RSS) in WordPress, how they work, how to disable them, the types of content and feed formats, feed URLs, and the PHP...

Kama_Post_Meta_Box — Create Posts Meta-fields (MetaBoxes)

In this article I'm going to share a Kama Post Meta Box class, with which you can quickly create meta-fields for posts, just by specifying them as an array. It's a kind...

Number of Elements per Page for WP_List_Table Tables

Tutorial on adding customizable pagination to tables created using WP_List_Table in WordPress admin.

11 Hacks for the WordPress Admin Bar (Toolbar)

This article provides 11 helpful hacks for customizing the WordPress Admin Bar (Toolbar), including adding, modifying, and removing elements to enhance the user...

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

jQuery Datepicker: Date Selection for Input Field in WordPress

This article provides a ready-made code for implementing the jQuery Datepicker for WordPress, allowing users to select dates in input fields with ease.

WordPress Reserved Variables

Here you find reserved names which should not be used as variable names for POST, GET requests. Also it is not recommended to use them when creating custom post types,...

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

WP 4.0: WP_Query: fixes in the orderby parameter

Explanation of the orderby parameter fixes in WP_Query in WordPress 4.0.

Redirect to a Random Post in WordPress

How to redirect users to a random post in WordPress using PHP code in the functions.php file and adding a link to the template.

Color Selection in WordPress: Iris Color Picker

This article explains the usage of Iris Color Picker in WordPress for color selection in both the admin panel and frontend, along with the necessary steps and code...

Connecting jQuery from Google CDN with Auto-detection of Version

This article explains the correct way to connect jQuery in WordPress and the advantages of using Google CDN for jQuery.

Disabling the creation of copies of images in WordPress

By default, WordPress generates four sizes for each original image we upload and another 2 copies when a huge image is uploaded. Also, themes and plugins can create...