Documentation / Guide
How to embed a live blog in WordPress
The LiveblogAI WordPress plugin displays your published coverage inside an existing WordPress post or page. Your reporters publish updates in LiveblogAI while readers follow them…
liveblog.ai2 min read
The LiveblogAI WordPress plugin displays your published coverage inside an existing WordPress post or page. Your reporters publish updates in LiveblogAI while readers follow them at the same WordPress URL.
Install the plugin and get the public ID
In WordPress, open Plugins and select Add New Plugin. Search for LiveblogAI, check that the author is LiveblogAI, then install and activate it. You can also download the official plugin and upload its ZIP. In your LiveblogAI workspace, open the liveblog settings and copy the public liveblog ID from the WordPress embed option. Use a liveblog with a published update so you have something to preview.
Embed with a block or shortcode
In the WordPress block editor, add a LiveblogAI block to the post and paste the ID into it. Select Preview LiveblogAI to check the feed. In the Classic Editor, paste [liveblog id="YOUR_ID"] on its own line and replace YOUR_ID with your public ID.
Choose a rendering mode for your cache
If full-page caching is enabled, choose JavaScript mode in Settings → LiveblogAI or use [liveblog id="YOUR_ID" mode="js"] on that page. For server rendering, exclude the article URL from your WordPress cache, hosting cache and CDN, then purge the cached copies before publishing.
Preview and check updates
Publish the WordPress page and open it in a signed-out browser. Check that the latest published update is visible. Leave it open as a new update is published in LiveblogAI and check that the feed updates. For an example of how scores and match updates can appear together, see the sports coverage demo.
Still preparing the coverage? Follow the first live blog guide.