Tell visitors when you change your Privacy Policy or another legal page
The Update Notices kit in TermsFeed AutoTerms shows a bar that names each legal page you recently changed, with a link and the date of the change. The bar announces a change only after you save it. The section "Changes to this Privacy Policy" of the generated Privacy Policy promises an email or a prominent notice before a change takes effect. Give that advance notice another way. Setup takes 4 steps and about 15 minutes.
Which legal page updates the Update Notices bar announces
The bar announces a published legal page whose last modified date falls within the period set in "How long to keep the announcement bar", which is 3 days by default. Every save with the "Update" button counts, a typo fix included.
The bar leaves out these pages.
- A page you only published and never edited afterward has no change to announce.
- A page saved again only within 60 seconds of publishing counts as unchanged.
- A scheduled page does not get a notice when it goes live.
- A draft, a private page, or a page in the trash does not get a notice.
Pages changed on the same date share "Message for multiple updated pages" while 2 or more of them have open notices. The bar uses "Message" when only one is left.
Step 1: Turn on the Update Notices kit
- Open TermsFeed > Compliance Kits in your WordPress admin.
- Click the "Enable" button in the Update Notices of Legal Pages box. The setting saves at once, and a page cache shows the bar once you clear it.
- Click the "Configure" button in the same box to open the "Update Notices of Legal Pages" settings screen.
Step 2: Set the Update Notices options
Click the "Save Changes" button after you change the fields.
| Field | Values | Default | Effect |
|---|---|---|---|
| "Enabled" | Checkbox | Off | Turns the kit on or off |
| "Announcement bar position" | "top", "bottom" | "top" | The edge of the page the bar sits at |
| "Announcement bar type" | "static", "fixed" | "static" | Whether the bar scrolls with the page or stays at the edge of the window |
| "Disable for logged-in users" | "yes", "no" | "yes" | Hides the bar from visitors who are logged in to WordPress |
| "How long to keep the announcement bar" | "24 hours", "3 days", "10 days", "30 days" | "3 days" | How long after a change the bar announces it |
| "Message" | Rich text | A sentence with a link to the page and the date of the change | The text for a single changed page |
| "Message for multiple updated pages" | Rich text | A sentence with links to the pages and the date of the change | The text for 2 or more pages changed on the same date |
| "Message for close button" | Text | "Close" | The text of the link that hides a message, printed as plain text, so HTML in it shows as typed |

Position and type place the bar as they place the Cookie Notice bar, and where both bars have the same position and type, the Update Notices bar prints first. Compare static and fixed bars in How position and type place the Cookie Notice bar.
Step 3: Write the Update Notices messages
The "Message" and "Message for multiple updated pages" editors hold these defaults.
Our <a href="[wpautoterms page_link]">[wpautoterms page_title]</a> has been updated on [wpautoterms last_updated_date].
Our [wpautoterms page_links] have been updated on [wpautoterms last_updated_date].
The "Insert shortcode:" links under each editor add these shortcodes, and "revert message to the default one" restores the default text.
| Link under the editor | Shortcode it inserts | What it prints |
|---|---|---|
| "title" | [wpautoterms page_title] |
The title of the changed page |
| "link" | <a href="[wpautoterms page_link]">[wpautoterms page_title]</a> |
The title as a link to the page |
| "href" | [wpautoterms page_link] |
The web address of the page |
| "titles" | [wpautoterms page_titles] |
The titles of every page in the message, as "A, B and C" |
| "links" | [wpautoterms page_links] |
Those titles as links, as "A, B and C" |
| "last effective date" | [wpautoterms last_updated_date] |
The date of the change, in the date format and language of your WordPress website |
The "titles" and "links" shortcodes print only inside Update Notices messages. Without the WordPress unfiltered_html capability, a message keeps only the HTML that WordPress allows in posts. Look up every option of these shortcodes in Legal Page Shortcodes for WordPress.
How the Update Notices "Close" link hides a message
A click on the "Close" link hides that message until one of the pages it names changes again. After 7 days, the message returns only while the change still falls within a period of "10 days" or "30 days". The click writes 1 cookie for each page, named wpautoterms-update-notice- followed by the page ID. Each site of a WordPress multisite network, and a site installed in a subdirectory, keeps its own cookies.
How the Update Notices bar works with page caching
A bar at the bottom appears on cached and uncached pages, and each visitor sees only the changes that visitor has not closed. A bar at the top appears on cached pages only under a page cache that stores it with the page, such as WP Super Cache or Cache Enabler. "Caching plugins compatibility mode" in TermsFeed > Settings shows it under any page cache. On a cached page the bar asks your WordPress website for the current notices through admin-ajax.php, a request that logged-out visitors send with no login.
A firewall or a security plugin that blocks admin-ajax.php for visitors stops the bar on cached pages. Set up the cache with WordPress Caching Plugins.
Style the Update Notices bar on your WordPress website
The bar takes the fields "Background color", "Font", "Font size", "Text color", "Links color", and "Additional CSS", which only an account with unfiltered_html saves. An empty color field or a "default" font field does not print a rule, and the bar takes that color or font from your WordPress theme. Check the values each field accepts in the style fields of the notice and Endorsements kits.
Write rules for each message and its close link in "Additional CSS". Find every selector of the bar in TermsFeed AutoTerms CSS Classes and Containers. A saved font that does not show has its causes in Colors or Fonts Not Showing in WordPress.
Step 4: Test the Update Notices bar with a real edit
Test with a page you published earlier, not one you published a minute ago, and as a logged-out visitor.
- Open a published legal page in the editor, change a word, and click the "Update" button.
- Clear your page cache, with "Caching plugins compatibility mode" on for a top bar.
- Close every private window, then open a new one, open Chrome DevTools, select the Network tab, and type
admin-ajaxin the filter box. - Load your WordPress website in that window, select the
admin-ajax.phprequest, and check on the Payload tab that it sendsaction=wpautoterms_check_updates. - Check that the bar names the page you changed, with the current date.
- Click the "Close" link, select the Application tab, open Cookies for your domain, and check that a cookie named
wpautoterms-update-notice-followed by the page ID exists. - Reload the page and check that the message stays hidden. Find the cause of a bar that stays hidden in Update Notice Not Appearing in WordPress.