Codex (category)

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

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

Conditional Tags in WordPress

The article explains Conditional Tags in WordPress and lists various condition checks with their detailed explanations and usage examples.