--- title: Add a live blog to WordPress description: 24LiveBlog left the WordPress directory. A small plugin runs a live-updating feed of timestamped posts from your own database, with no service. source: https://steem.dev/blog/wordpress-live-blog-plugin published: 2026-09-06 updated: 2026-10-31 alternative_to: 24LiveBlog site: Steem — AI WordPress plugin generator --- # Add a live blog to WordPress Live blogging sounds simple until you build it. You need a stream of timestamped posts, a page that updates without the reader refreshing, and an admin screen where you can fire off a quick update mid-game or mid-meeting without leaving the tab. General WordPress plugins do not attempt it, and the dedicated options have thinned out. 24LiveBlog was the most-used dedicated plugin in the directory until it was removed in June 2026 over security concerns. Arena, which many sites moved to, works, but it means embedding an iframe from a third-party service with its own account, branding and terms. For a small news site or a local sports blog, neither is satisfying. This plugin keeps everything in your WordPress database, refreshes the page by polling a lightweight endpoint, and needs no account anywhere. ## What one build covers - Custom post type for live events with a title and live/ended status - Admin meta box for posting and removing updates in real time without a page reload - Shortcode to embed the live blog on any page or post - Automatic front-end refresh every thirty seconds when the event is live - All updates stored in your own WordPress database as post meta ## What it does not cover - Multiple simultaneous editors contributing to the same event - Push notifications or browser alerts when new updates are posted - Rich media in updates: embedded tweets, video clips, or scoreboards - Visitor comments or reactions on the live blog - Paid or restricted access to live coverage ## The prompt ```text Build a WordPress plugin for live blogging. Register a custom post type live_event with the label Live Events, publicly queryable, supporting title and editor. Add a meta box labeled Live Updates to the live_event edit screen containing: a select field for live_status with options live and ended, saved to post meta on the standard save_post hook; a textarea for drafting a new update; a Post Update button that saves the new update to the front of the live_updates post meta array via an AJAX call without reloading the page; and a display of all current updates in reverse chronological order, each showing its formatted timestamp and text and a Remove button that removes that entry via AJAX and refreshes the list. Store live_updates as a JSON-encoded array in post meta, each entry an object with keys id (a uniqid string generated at save time), text, and timestamp. Register a shortcode live_blog that accepts an id attribute matching a live_event post ID and outputs the event title, a live or ended status badge, and all current updates in reverse chronological order each showing the formatted timestamp and text. Include a JavaScript block in the shortcode output that, when live_status is live, polls the AJAX endpoint every thirty seconds, compares the first id in the returned array to the first id currently rendered, and replaces the updates list without a full page reload if they differ. Register all hooks inside a function attached to plugins_loaded. ``` ## Why live blog plugins are hard to find Most plugins deal in forms, taxonomies or displaying content, none of which change after the page loads. A live blog has to change while the reader watches. That needs either a push connection or JavaScript polling an endpoint every few seconds; both work in WordPress, and polling is simpler and reliable enough for text coverage. Hosted services fill the gap by running the infrastructure themselves and letting you embed the result. That works until the service changes its terms, starts charging or disappears, and you are left with a dependency you do not control. Post meta and a WordPress AJAX endpoint keep it all in your own database. It is less sophisticated than a dedicated platform, and for a local sports blog or a council meeting thread, that is the right size. ## Updates from a meta box, polled every thirty seconds A live event is a post of its own type. Its edit screen, in the block editor or the classic one, has a meta box showing whether it is live or ended and a textarea for the next update. Post Update saves it immediately without a reload, and the updates list underneath, newest first, has a Remove button on each. `[live_blog id="123"]` renders the event title, a status badge and every update in reverse order, on any page, in a sidebar or inside an article, and the same event can appear in several places. While the event is live, the page polls every thirty seconds and swaps in the new list if anything changed, so readers see an update within thirty seconds at most. Mark it ended and polling stops. Updates are stored on the event as a JSON-encoded array in post meta, each with a unique ID, the text and a timestamp. Polling compares the newest ID with what is on screen and only replaces the list when something is new, so the page does not flicker on every tick. Any standard backup plugin backs them up with the rest of the site. ## Council meetings, local games and elections Local news coverage is the fit: a match, an election count, a council meeting, a public hearing. One editor posts short updates from a laptop or phone, and readers see them arrive. It suits small publications that want live coverage without a subscription or someone else's branded iframe, and sites that ran 24LiveBlog and want a replacement that keeps the data on their own server. ## Newsrooms, push alerts and rich embeds Several people writing into one live blog at once is not handled: there is no protection against conflicting edits and no permissions scoped to individual events. Polling every thirty seconds cannot deliver push notifications, browser alerts or updates to a mobile app. If real-time delivery matters to your readers, a hosted service does that and is worth paying for. Updates are plain text, so embedded tweets, video clips and scoreboards are out. A follow-up message can add a bold headline to each update, basic HTML for links and emphasis, or oEmbed support. ## Questions ### Can more than one person post updates to the same event? Anyone who can edit the live event post can add updates. Contributor accounts limited to particular events would need the plugin extending. --- Source: https://steem.dev/blog/wordpress-live-blog-plugin Build this plugin: https://steem.dev/app