Codex (category)

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

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

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

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.

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

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

Auto-updates in WordPress

In October 2013, WordPress version 3.7 was released, and along with it came a new feature - automatic updates.

Autoupdate became the brightest, most useful, and...

SHORTINIT constant: WordPress environment with minimal load

I was worried about a question: how can I use $wpdb object and site database with which I work, but with minimal loading of WP environment. Sometimes it is...

Constants of WordPress

WordPress is configurable in the admin panel or using hooks (filters, events), and WordPress can also be configured using PHP constants.

You've probably used constants...

How to Use the "offset" Parameter Without Breaking Pagination

This article explains how to use the offset parameter in WordPress queries without disrupting pagination, ensuring that the pagination functions correctly.

Ajax in WordPress

This article explains how to use AJAX in WordPress for creating themes and plugins. It covers adding JavaScript, creating PHP functions, using AJAX on the frontend,...

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

Custom Menu in WP 3.0+ (wp_nav_menu)

This article explains the process of creating and customizing custom menus in WordPress 3.0 and above using the wp_nav_menu function, enabling support, and controlling...

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

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