Add a changelog widget to WordPress

Lytmark is an in-app changelog, public roadmap and feature-voting widget for SaaS products and web apps. Add a “What’s new” panel, an ideas box and roadmap voting to your product with one line of code, for a flat monthly price with no per-user limits.

This guide adds it to a WordPress site with the free WPCode plugin, or without a plugin through your child theme’s functions.php. You’ll get a “What’s new” panel with an unread badge and one-tap reactions on every update. On Pro, the same widget also gets Roadmap and Ideas tabs.

Before you start

  • A free Lytmark accountSign up at app.lytmark.com. No card needed.
  • Your project IDIt’s on the Install page of your dashboard, already filled into the snippet.
  • About 5 minutesOne line of code, pasted once for the whole site.

Install steps

PathPluginsAdd NewWPCodeCode SnippetsHeader & FooterFooter→ pasteSave

Using a page builder with its own footer code field? That works too.

  1. Copy your snippet

    In your Lytmark dashboard, open Install and copy the snippet. Your project ID is already filled in there; in the examples on this page it’s YOUR_PROJECT_ID.

    Your snippet
    <script src="https://api.lytmark.com/widget.js" data-id="YOUR_PROJECT_ID"></script>
  2. Install WPCode

    Plugins → Add New, search “WPCode”, Install and Activate. It’s free.

  3. Paste into Footer

    Code Snippets → Header & Footer, paste the line into the Footer box.

  4. Save

    Click Save Changes, then open your site once.

Without a plugin

No plugin? Add this to your child theme’s functions.php instead. Using a caching plugin? Clear its cache afterwards.

functions.php
// functions.php (child theme)
add_action('wp_footer', function () { ?>
<script src="https://api.lytmark.com/widget.js" data-id="YOUR_PROJECT_ID"></script>
<?php });

Use your own button

Prefer a link in your menu over the round button? Add the attribute data-lytmark-trigger to any button, link or menu item. If your theme or page builder doesn’t let you add an attribute to that element, add an HTML or embed block with this button:

HTML
<button data-lytmark-trigger>What's new</button>

On pages that have a trigger the round button hides by itself. To hide it on every page, add data-position="none" to the snippet in your Footer box. While there are unread posts, the widget sets data-lytmark-unread on your element, so you can style your own dot.

Check that it works

Open the Install page in your Lytmark dashboard. The first time the widget loads on your site, its status turns green: Live on followed by your site’s host. On your site, the round button appears in the corner you picked in the dashboard (bottom right by default); click it to open the “What’s new” panel.

Using data-consent="pending" or data-track="false"? Then the check waits too: the widget reports your host only once tracking is allowed.

Not showing up?

You saved, but didn’t publish

WordPress only shows custom code on the live site. Publish, then open the live URL, not the editor preview.

Your browser shows an old version

Hard-refresh (Ctrl/⌘ + Shift + R) or open the site in a private window. If you use a CDN or cache plugin, purge it.

The code is only on one page

Put it in the shared layout, footer or site-wide settings so every page loads it. The status turns green as soon as any page with the code is opened.

An ad blocker or privacy extension hides it

Try a private window with extensions off. Most visitors don’t block it; this mostly affects your own browser.

Your site has a Content Security Policy

Allow https://api.lytmark.com in script-src and connect-src. Post images come from api.lytmark.com and media.lytmark.com.

CSP
script-src 'self' https://api.lytmark.com;
connect-src 'self' https://api.lytmark.com;
img-src 'self' https://api.lytmark.com https://media.lytmark.com;

Videos in posts also need frame-src; see the full list.

WordPress changelog widget FAQ

Do I need a plugin?

There’s no Lytmark plugin, and you don’t need one. The free WPCode plugin adds the line to your site’s footer. Without a plugin, add it to your child theme’s functions.php with the wp_footer hook.

Why a child theme for functions.php?

A theme update replaces the parent theme’s files, including its functions.php, and your line would be gone. A child theme keeps it.

I added it but don’t see it. I use a caching plugin.

Clear the caching plugin’s cache, and your CDN’s if you use one, then reload the page.

Does it work with page builders?

Yes. If your page builder or theme has its own footer code field, you can paste the snippet there instead of using WPCode.

Add Lytmark to WordPress today.

Free plan, no card. Live in about five minutes.