WP Manifestindependent plugin directory
manifest / developer / htmxpress

HTMXpress

WIP plugin to power WordPress with HTMX

by Sander van Dragt <sander@vandragt.com> · github.com/svandragt/htmxpress · website

139stars
7forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/svandragt/htmxpress/archive/refs/heads/main.zip

From the readme

HTMXpress HTMX for WordPress! By using the Rewrite Endpoints API to create a custom endpoint; and a bit of custom template logic, we can output a serverside partial or custom theme template. Using this setup, WordPress can leverage HTML over the wire solutions such as HTMX. HTMX then allows us to do dynamic serverside based rendering; live search and other features without the overhead and complexity of reactive JavaScript frameworks, whilst benefiting from trusted object and full page caching solutions. This repository is exploring the opportunities. Demo 1. Activate plugin (or run wp-env start to spin up a WP environment with the plugin activated). 2. go to /htmx (Endpoint test) 3. go to /htmx/ascii and /html/partial-ascii (template loader test) 4. Inspect html source of theme (enqueued script test) 5. go to /htmx/demo What else can you do? - CSS Transitions https://htmx.org/docs/#csstransitions - Boosting https://htmx.org/docs/#boosting - Polling + Server Sent Events https://htmx.org/docs/#sse - Progressbars (eg serverside file upload processing) https://htmx.org/examples/progress-bar/ - More examples https://htmx.org/examples/ Screencast of Demo https://user-images.gi

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
0.1.1Jun 4, 2025
0.1.0Jun 23, 2023