
Show related posts by tag with W4 Post List
You add a “related posts” list under each article. On the first post you check, the top item is the post you are already…
W4DEV JOURNAL
Plugin guides, development patterns, release notes, and clear answers for people building with WordPress.
LATEST ARTICLES
New tutorials, product updates, and technical deep dives.

You add a “related posts” list under each article. On the first post you check, the top item is the post you are already…

WordPress makes HTTP requests you never see — update checks, API calls, webhooks. Here is the one core hook that captures all of them,…
If you run a block theme and W4 Post List’s AJAX pagination never seemed to do anything, you were not imagining it. Version 3.0.0…

Starter templates, live preview, and an editor that catches your mistakes: W4 Post List 2.11 is the release that makes grouped lists, term indexes…

Fifteen years after wp_ajax, the Abilities API in WordPress 6.9 gives custom endpoints a discoverable home. Migrate an admin-ajax handler to an ability step…

A walk through WordPress core to see how plugin auto updates actually run – from the wp_version_check cron event to WP_Automatic_Updater and Plugin_Upgrader.

Add First name and Last name fields to the WooCommerce registration form, validate them, save them, and generate the username from them instead of…

Order WordPress terms by the ids you pass to get_terms(). Core supports orderby=include since WP 4.7, and the terms_clauses / get_terms_orderby hooks handle custom…

Register a WordPress plugin admin page without showing it in the admin menu, by leaving the parent menu slug empty. The load hook and…

A shortcode that renders multiple independent post type loops on one page, each with its own working pagination.

Extend WordPress Page with Custom Query Variable. Set or get parameter variables using set_query_var & get_query_var. Use parse_request to filter values

Add First name, Last name and Display name fields to the default WordPress registration form, validate them and save them, without a plugin.
List scheduled (future) posts with a shortcode showing when each will publish, and optionally let visitors view a future post on its single page.

add_action is an extremely used WordPress function, constructed using of PHP’s native function call_user_func_array, widely used in WP core, plugin & theme. In other…

Creating a WordPress Plugin is very simple if you have a basic PHP knowledge. A single PHP file can be used as a WordPress…

Add a Wholesale Price field to WooCommerce simple and variable products and apply it to a specific user role. Updated for WooCommerce 3.0+ hooks,…

Basic usage of wp_ajax and wp_ajax_nopriv on your WordPress. Add ajaxurl variable on any of your front pages.
Hide the Featured image box from users who can’t publish posts. Works in both the classic and block editor using remove_post_type_support.

Fetch content from behind the WordPress login with PHP cURL, plus the modern alternative – Application Passwords with the REST API (WordPress 5.6+).