WordSocket Extension ยท v0.1.0

PostSocket

Live blogging that reaches every reader as you publish.

Cover a match, an election night or a launch. Each entry is a post in the block editor; every reader on the page has it the moment it is published, and your edits land in place. No refresh, no polling.

  • WP 6.7+
  • PHP 8.2+
  • WordSocket 0.32+
  • GPL-2.0

Setup

Three steps, then write

PostSocket uses the connection WordSocket already holds. Activate it and the first live blog is a menu away.

  1. 1. Connect WordSocket

    Install WordSocket and connect it to your WPSignal account. PostSocket rides on that connection.

  2. 2. Activate PostSocket

    Install PostSocket and activate it. A Live Blogs menu opens the Live Desk, where every live blog and its entries are run.

  3. 3. Publish the first entry

    Create a live blog on the desk, place it on a page with Create page, then add entries. Each one is a post in the editor, so several writers can post at once.

One page.
Every reader, every update.

A live blog lives on any post or page you place it on. Its entries are posts of their own, written in the editor your team already knows. The page assembles itself for the reader.

Place the Live Feed block where you want the entries; the post around it keeps its own intro, schedule and SEO. On the page, the feed subscribes to its live blog's channel and inserts, replaces, pins and removes entries as they change.

Developers hear the same events: one channel per live blog, one per living article, and a filter for anything the defaults get wrong.

Live blog content
<!-- wp:postsocket/live-feed /-->
theme.js
// Every change to live blog 42, as the feed hears it.
WPS.subscribe( [ 'postsocket:liveblog:42' ] );
WPS.on( 'postsocket.entry.updated', ( entry ) => {
  console.log( entry.id, entry.pinned, entry.html );
} );
wp-content/themes/{theme}/functions.php
// "Create page" on the Live Desk starts a page, not a post.
add_filter( 'postsocket_host_post_type', fn() => 'page' );

Features

Built for newsrooms that move

Common questions

What does PostSocket need?

WordSocket 0.32 or newer and a WPSignal account. Everything realtime goes through the WordSocket connection your site already has; there is no second service to set up.

Can several editors post at once?

Yes. Every entry is its own post in the block editor, so your team works side by side instead of taking turns on one document.

Do entries show up on my home page or in search?

No. Entries are not public posts: they never appear in loops, archives, feeds, search or sitemaps. Each entry links to its place on the live blog page, which is the one page readers and search engines see.

Does it work with my cache or CDN?

Yes. A page served from a cache catches up on its own once it connects, and from then on hears every change live. Content fetched after a large edit is cacheable too, so a crowd of readers does not reach your server at once.

What do readers download?

A small edit travels inline over the WordSocket connection. A large one is fetched from a cacheable route once per reader, spread over a few seconds. Either way, only the blocks that changed are swapped on the page.

Which post types can be living articles?

Any public post type. A post showing a live blog is always live; everything else stays off until you switch it on under Settings, WordSocket, PostSocket. Posts built with Elementor or Divi are left alone.

Where is my data stored?

Live blogs and entries are ordinary posts in your WordPress database, kept and backed up like the rest of your content. Nothing is stored on WPSignal's servers beyond the moment it takes to relay a change.

Get started

Go live with your next story

Create a WPSignal account, connect WordSocket, and activate PostSocket. The first live blog takes a minute.

Create an account About WordSocket