---
title: "PostSocket"
description: "Live blogs and articles that update in every reader's browser as you publish: entries written in the block editor, edits that land in place. A WordSocket extension."
url: https://wpsignal.io/extensions/postsocket/
---

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

[Get PostSocket](https://github.com/wpsignal/wordsocket-extensions/releases) [Get started](https://api.wpsignal.io/dashboard/signup)

## 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.

```html
<!-- wp:postsocket/live-feed /-->
```

```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 );
} );
```

```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

-   ### Entries land as you publish

    Each entry is a post of its own, written in the block editor with any block you like. The moment it is published, every reader on the page has it, newest first.

-   ### Edits replace in place

    Fix a typo, add a line, change a score: the entry a reader is looking at becomes the new version, without the page moving under them.

-   ### Pinned, ended, removed

    Pin the entry that matters above the rest, mark the coverage ended when it is over, and an entry you trash or unpublish leaves every open page.

-   ### A pill, not a jump

    A reader who has scrolled down gets a quiet "3 new updates" pill. Nothing moves until they ask for it.

-   ### Living articles

    Choose the post types whose saved edits readers should see land in place. Blocks that did not change, an embedded video for example, are left exactly as they were.

-   ### Built for search

    LiveBlogPosting structured data for Google's live coverage features, and every entry links to its place on the one coverage page, so nothing is split across thin URLs.

## 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.

## 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](https://api.wpsignal.io/dashboard/signup) [About WordSocket](https://wpsignal.io/wordsocket/)
