Web Development Tutorials
//

Tag: WordPress

Programming

Modify the Main Query With pre_get_posts

WordPress builds a query for every page before it runs, and pre_get_posts hands you that query while it is still being built. Change how…

August 12, 2026

Programming

Schedule Recurring Tasks With WP-Cron

Schedule recurring tasks with WP-Cron, WordPress's built-in scheduler. This tutorial hooks a task to a custom action, adds a five-minute interval through cron_schedules, schedules…

August 11, 2026

Programming

Cache Data With the WordPress Transients API

The Transients API is WordPress's built-in cache for expensive results — a slow query, a remote call, a heavy calculation. Store a value with…

August 5, 2026

Programming

Handle AJAX Requests in WordPress

Handling AJAX requests lets the browser talk to your server without reloading the page. Route requests through admin-ajax.php, verify them with a nonce, and…

August 4, 2026