Infrakinetic Developers

WordPress plugin

The Infrakinetic Pages plugin shows your pages inside your active WordPress theme, at addresses you confirm. No code needed.

Download the plugin (zip)

Set it up

  1. In WordPress, open Plugins, Add New, Upload Plugin, choose the zip and activate it.
  2. Open Settings, Infrakinetic Pages and paste your server key. The plugin saves it in wp-config.php when it can, otherwise encrypted in the database. It is never shown again in full.
  3. The plugin proposes addresses for each area you set to "On your own website", such as /careers and /careers/jobs/{job}. Tick the ones you want and press Use these addresses.
  4. Back in Infrakinetic, press Check on my site.

What it does

How changes reach your site

Every five minutes the plugin asks Infrakinetic what changed since it last asked, and clears exactly those pages (and the page cache's copies of them). Publish in Site Builder and your site follows within five minutes. Clear cached pages in the plugin's settings does it at once.

For your developer

Keys can be set in wp-config.php, above the "stop editing" line:

define( 'INFRAKINETIC_RENDER_KEY', 'iksr_…' );

The plugin also has a signed purge endpoint, POST /wp-json/infrakinetic/v1/purge, which checks Infrakinetic's webhook signature (see the API reference) and refuses anything unsigned, altered or older than five minutes. The plugin needs WordPress 6.3 or later and PHP 7.4 or later. It is licensed GPLv2 or later. Hook infrakinetic_pages_purged runs after every purge with the URLs and whether everything was cleared.