BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
HXSE — Code-First Search icon
Actively maintained Tested with WP 7.1

HXSE — Code-First Search

Code-first search & filter for WordPress. Define filters with PHP arrays, output with a shortcode. Powered by htmx — no page reloads.

Active installs<10New
Downloads · 30d61▼ -50.4% vs prev. 30d
Rating—0 reviews
Health score60/100Fair
All-time downloads706Since Jun 2026
Support resolved—No recent threads
RequiresWP 6.0PHP 7.4+
Downloads · 7d16▲ +33.3% week over week
Our verdict

Use with caution

HXSE — Code-First Search works, but test it on a staging site before relying on it in 2026. Was last updated 1 month ago, and scores 60/100 on our health check.

  • Tested with the latest WordPress (7.1)
  • Small user base (<10 active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

91928Jul 4Aug 17Oct 1
Yesterday5
Daily average (1y)7
Peak day98Jun 21, 2026
Last 12 months707

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where HXSE — Code-First Search stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
ajax >100 8,214 Best ajax plugins →
custom post type >100 10,000 Best custom post type plugins →
filter >100 10,000 Best filter plugins →
search >100 10,000 Best search plugins →
shortcode >100 10,000 Best shortcode plugins →

About HXSE — Code-First Search

From the official readme · v2.2.0

Description

HXSE — Code-First Search lets you define search filters with PHP arrays and output them with a simple shortcode. No JavaScript configuration required. Powered by htmx for seamless, no-reload filtering.

Why HXSE?

  • Code-first — Define everything in PHP arrays. Version-control friendly.
  • No page reloads — htmx handles all filtering and pagination seamlessly.
  • AI-friendly — Simple, consistent schema structure that AI agents can read and write.
  • No dependencies — htmx is bundled. No jQuery required.
  • Fully customizable — All styles use CSS custom properties (design tokens). Ships with DESIGN.md for a complete variable reference and customization examples.

Filter Types

  • search — Keyword search
  • taxonomy — Filter by taxonomy / category
  • meta — Filter by custom field value or range
  • date — Filter by year
  • relation — Filter by related post
  • select — Filter external-source data by field value (api / rss / xml, v1.8.0+)

UI Types

  • select — Dropdown
  • radio — Radio buttons
  • checkbox — Multiple selection
  • range — Min/max slider (for numeric meta fields)

Pagination Modes

  • pager — Numbered page links with count display
  • loadmore — “Load more” button

Basic Usage

Define a schema in your theme’s functions.php:

add_filter( 'hxse_schemas', function( $schemas ) {
    $schemas['staff_search'] = [
        'post_type' => 'staff',
        'filters'   => [
            ['key' => 'keyword',    'type' => 'search',   'label' => 'キーワード'],
            ['key' => 'department', 'type' => 'taxonomy',  'label' => '部署',
                'taxonomy' => 'department',
                'ui'       => 'checkbox',
            ],
        ],
        'pagination' => [
            'mode'     => 'pager',
            'per_page' => 12,
        ],
        'template' => 'hxse-staff.php',
    ];
    return $schemas;
} );

Then place the shortcode on any page:

[hxse id="staff_search"]

External Services

This plugin bundles htmx (https://htmx.org/) for handling AJAX requests without page reloads. htmx is included locally within the plugin and does not make any external network requests. It is licensed under the BSD 2-Clause License.

  • htmx: https://htmx.org/
  • htmx License: https://github.com/bigskysoftware/htmx/blob/master/LICENSE

Installation

  1. Upload the hxse-code-first-search folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Add hxse_schemas filter to your theme’s functions.php or a custom plugin.
  4. Add [hxse id="your_schema_id"] shortcode to any page.

Frequently asked questions

Do I need to write JavaScript?

No. HXSE handles all htmx configuration automatically. You only write PHP to define your filters.

Can I use multiple search instances on one page?

Yes. Use the prefix option in url_params to avoid parameter conflicts.

How do I customize the result template?

Create hxse/your-template.php in your theme directory and specify it in the schema’s template key.

Does it work with custom fields from ACF?

Yes. Use type: 'meta' with the appropriate meta_key.

Changelog

2.2.0

  • Added: Sort in static (Distan) mode — the sort schema (wp_query keys date_desc / date_asc / title_asc / title_desc / menu_order) is reproduced client-side; composes with filters and pagination, resets to page 1 on change
  • Docs: Documented static-site mode, client-side pagination, and sort across the bundled reference docs (ai-reference.md, llms.txt, HXSE-manual.md, DESIGN.md)

2.1.0

  • Added: Client-side pagination in static (Distan) mode — honors the schema’s pagination settings (per_page, range, prev/next/first/last labels, count_format); no server or REST needed
  • Added: Pagination works with or without filters — filters narrow the set first, then results are paged, and the page resets to 1 when a filter changes
  • Note: Set pagination.mode to none (or per_page to 0) to render all items on a single page, as in 2.0.0; above hxse_static_max_items the plain-list fallback still applies

2.0.0

  • Added: Static-site (Distan) mode — when a page is rendered by a static site generator, HXSE now serves a self-contained, htmx/REST-free variant so search keeps working after WordPress is removed from production
  • Added: Auto-detection of Distan generation via the X-Distan-Render request header (no configuration); force it per schema with 'static' => true|false, or globally via the hxse_static_active filter
  • Added: Client-side filtering over the baked result set for wp_query sources — search, taxonomy, and non-range meta filters run in the browser against data-* attributes; live count and no-results are updated without a server
  • Added: hxse_static_max_items filter (default 500) — above the cap, static mode degrades to a plain paged list instead of shipping an oversized dataset to the browser
  • Note: In static mode htmx and hxse.js are not enqueued (they depend on the REST endpoint that a static site does not have); only the stylesheet is loaded
  • Note: range / date / relation filters, sort, and the table display are not reproduced client-side in this release; external api / rss / xml / sources are baked as a filter-less snapshot

1.9.1

  • Security: Remote API/RSS fetch now uses reject_unsafe_urls to block requests to internal IPs and unsafe ports (SSRF hardening, series-wide rollout of the fix introduced in HXFE 1.4.6)

1.9.0

  • Added: Filter, sort, and pagination support for merged mode (sources) — the v1.8.0 external-source filter UI now works on merged multi-source data (opt-in: enabled when filters, sort, or pagination is present in the schema)
  • Added: REST endpoint handling for merged-mode schemas — filter interactions and pager navigation now update results without page reloads, same as other modes
  • Note: Merged items are normalized to a common shape (title / link / date / excerpt / source), so filters and sort definitions target these fields — e.g. a select filter on source lets visitors narrow results to one feed
  • Note: All filtering runs in memory against merged cached data. No remote re-fetches on filter interactions. Schemas without filters / sort / pagination behave exactly as before.

1.8.0

  • Added: Filter UI for external sources (api / rss / xml) — search and select filter types now work on fetched data (opt-in: enabled when filters, sort, or pagination is present in the schema)
  • Added: select filter type — exact-match filtering on any item field, with 'options' => 'auto' to generate choices from the data automatically
  • Added: sort support for external sources — sort definitions accept field, order, and compare (‘string’ / ‘numeric’ / ‘date’)
  • Added: Pagination for external sources — per_page, show_count, and show_pages work on fetched data via in-memory slicing (pager mode only; loadmore is not supported for external sources)
  • Added: items_key schema key — extract the item list from wrapped JSON payloads (dot notation supported, e.g. connpass’s events)
  • Added: Bundled default template templates/api.php — external-source schemas without a custom template now render a clean list instead of raw JSON debug output
  • Note: All filtering, sorting, and pagination run in memory against cached data. Filter interactions never trigger remote re-fetches.
  • Note: Fully backward compatible — schemas without filters / sort / pagination behave exactly as before, and custom templates keep receiving data unchanged.

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best HXSE — Code-First Search alternatives

All ajax plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 zipaddr-jp zipaddr-jp zipaddr-jp is a collaborative tool that automatically inputs addresses from postal codes. by ta_terunuma 50K+ ★★★★★★★★★★ 5 (6) 2 months ago 77
2 SearchWP Live Ajax Search SearchWP Live Ajax Search Template powered live search for any WordPress theme. Does not require SearchWP, but will… by Syed Balkhi 50K+ ★★★★★★★★★★ 4.7 (36) 2 months ago 85
3 WP-Polls WP-Polls Adds an AJAX poll system to your WordPress blog. You can also easily add a poll into your… by Lester Chan 40K+ ★★★★★★★★★★ 4.2 (136) 1 month ago 87
4 WP-PostRatings WP-PostRatings Adds an AJAX rating system for your WordPress site's content. by Lester Chan 20K+ ★★★★★★★★★★ 4.3 (179) 1 month ago 87
5 WPC AJAX Add to Cart for WooCommerce WPC AJAX Add to Cart for WooCommerce It is a highly effective plugin for helping online stores cut down the site’s loading time… by WPClever 10K+ ★★★★★★★★★★ 4.4 (18) 2 weeks ago 83
6 Ajax Cart AutoUpdate for WooCommerce Ajax Cart AutoUpdate for WooCommerce A light plugin that automatically updates cart page and mini-cart when product quantity is… by taisho 7K+ ★★★★★★★★★★ 5 (214) 6 years ago 46
7 Relevanssi Live Ajax Search Relevanssi Live Ajax Search Template powered live search for any WordPress theme. Compatible with Relevanssi search! by Christoph Vielgrader 7K+ ★★★★★★★★★★ 5 (9) 5 months ago 58
8 Enable CORS Enable CORS Please read the plugin description before installing to ensure compatibility and avoid… by Dev Kabir 6K+ ★★★★★★★★★★ 3.7 (3) 3 months ago 66
9 Load More Anything Load More Anything Add Load More button for your blog post, custom type, Comments, page, Category, Recent… by Akhtarujjaman Shuvo 5K+ ★★★★★★★★★★ 4.5 (73) 11 months ago 59
10 YMC Filter YMC Filter A powerful and flexible plugin to filter and display posts, custom post types, and other… by YMC 4K+ ★★★★★★★★★★ 4.8 (34) 1 day ago 92

FAQ

HXSE — Code-First Search: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Oct 2, 2026

Is HXSE — Code-First Search free?

Yes. HXSE — Code-First Search is free to download and use from the official WordPress.org plugin directory.

Is HXSE — Code-First Search safe to use in 2026?

HXSE — Code-First Search works, but test it on a staging site before relying on it in 2026. Was last updated 1 month ago, and scores 60/100 on our health check.

How many websites use HXSE — Code-First Search?

HXSE — Code-First Search is active on <10 WordPress websites and has been downloaded 706 times since it launched in June 2026. It was downloaded 61 times in the last 30 days.

Does HXSE — Code-First Search work with WordPress 7.1?

Yes. The developer has tested HXSE — Code-First Search up to WordPress 7.1.2, the latest release. It requires WordPress 6.0 or newer.

What PHP version does HXSE — Code-First Search need?

HXSE — Code-First Search requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was HXSE — Code-First Search last updated?

The latest version, 2.2.0, was released on August 20, 2026 (1 month ago).

Who makes HXSE — Code-First Search?

HXSE — Code-First Search is developed and maintained by youheiokubo.

What are the best alternatives to HXSE — Code-First Search?

The most popular alternatives to HXSE — Code-First Search are zipaddr-jp (50K+ installs), SearchWP Live Ajax Search (50K+ installs) and WP-Polls (40K+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.