Category: WordPress
WordPress was a blogging platform earlier, but time has changed and it’s not only that anymore. Online Store, News Site, Professional Portfolio, Business Site, Social Network, Affiliate Network, Community, Forum, Membership Website anything can be done with WordPress. And nothing of these required any kind of programming knowledge. Get involve and explore yourself.
-
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 reading. On the next, the list is empty. Both are the same root cause: the list does not know which post it is sitting on, and you have to tell it.…
-
Log WordPress outgoing HTTP requests
WordPress makes HTTP requests you never see — update checks, API calls, webhooks. Here is the one core hook that captures all of them, and the three problems you hit the moment you use it.
-
W4 Post List 3.0: AJAX pagination now works on block themes
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 drops jQuery from the front end and fixes it.
-
W4 Post List 2.11: Pick a layout, watch it live, never guess again
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 and user directories easy.
-
Give AI a Key, Not the Master Key – a Locked-Down MCP Server for WordPress
Every guide connects Claude to WordPress with an admin application password. Here is the safe way instead: a dedicated role, abilities gated by a purpose-made capability, and a scoped MCP server – then we prove the lock with real requests.
-
From wp_ajax to Abilities API – Make Your WordPress Functions Discoverable
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 by step – validation, permissions and a REST endpoint included. Every snippet tested on WP 7.0.
-
How WordPress Plugin Auto Update Works
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.
-
Extend WooCommerce Registration form fields
Add First name and Last name fields to the WooCommerce registration form, validate them, save them, and generate the username from them instead of the email prefix.
-
Categories, Tags, Terms Custom Order
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 orders.
-
WordPress Plugin page without showing in admin menu
Register a WordPress plugin admin page without showing it in the admin menu, by leaving the parent menu slug empty. The load hook and template callback still work.
-
WordPress Multiple Post Type Loop & Pagination by Shortcode
A shortcode that renders multiple independent post type loops on one page, each with its own working pagination.
-
WordPress Page Add Custom Endpoint
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
-
Extending WordPress Registration Fields
Add First name, Last name and Display name fields to the default WordPress registration form, validate them and save them, without a plugin.
-
Displaying WordPress Future Posts
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 – WordPress function to hook on events
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 sense, add_action is similar method to JavaScript’s on event binding mechanism – on(‘event’)
-
Create WordPress Plugin
Creating a WordPress Plugin is very simple if you have a basic PHP knowledge. A single PHP file can be used as a WordPress Plugin having some structured information. Lets try creating your first WordPress Plugin.
-
WooCommerce Custom Pricing Method for Products
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, no plugin needed.
-
Wp Ajax – WordPress Hook to Handle Ajax Request
Basic usage of wp_ajax and wp_ajax_nopriv on your WordPress. Add ajaxurl variable on any of your front pages.
-
Remove Featured image meta box from WordPress Admin
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.