Review, publish, and keep your legal pages up to date in WordPress
Publish a TermsFeed AutoTerms legal page from the classic WordPress editor once you have read the draft the questionnaire created. Visitors see none of the draft until you click Publish.
How to review and publish a new legal page
- Open TermsFeed > All Legal Pages and click the title of the draft.
- Read the text from the "Last updated" line to the end, and correct anything that does not match your business. Keep each
[wpautoterms ...]shortcode as it is. - Click Publish in the Publish box.
- Open TermsFeed > All Legal Pages and confirm that the row shows the status
publish, the shortcode of the page, and a Last Effective Date. - Close every private window and open the permalink above the row actions in a new one to see the page as a visitor sees it.
What the "All Legal Pages" list shows
The Status column tells you whether a page is live, because All Legal Pages does not print a "Draft" or "Private" label after the title.
| Column | What it shows | Sortable |
|---|---|---|
| Title | The title of the legal page | Yes |
| Status | The status of the page as WordPress names it, such as publish or draft |
No |
| Shortcode | [wpautoterms page="<slug>"] for a published page, with the path parent/child for a child page; "N/A" with the hint "Publish page to get shortcode." otherwise |
Yes, by slug |
| Last Effective Date | The date of the last save, in the site date format, for published pages only | Yes |
| Date | The publish date, or the last change of a draft | Yes |
Which legal page details update themselves and which stay fixed
The shortcodes in a legal page print their current value, and the rest of the text stays as it was generated. A cached copy of the page keeps the old value until you clear your page cache.
- Website name and URL. They follow General Settings wherever your answer equaled the setting or was left blank.
- Shortcodes you add. Every
[wpautoterms]shortcode you type into the page prints its current value. - The "Last updated" date. The "Last updated" line and the Last Effective Date column follow every save, a typo fix included, in the date format, time zone, and language of Settings > General.
- Links to the page. The footer legal links, menu items added from the Legal Pages box, and widgets follow the page permalink, including a new slug.
The company name and address, the country and state, the contact details, and every section an answer added are plain text, so edit them in the page.
How to change your questionnaire answers after the legal page exists
The plugin does not keep questionnaire answers, so change a generated page by editing its text or by creating a new page. Edit the text for a small change, such as a new contact email. For a change that adds or removes several sections, such as GDPR wording, create a new page and copy its text into the old one. The old page then keeps its address and its post ID, which menu items, Settings > Privacy, and the WooCommerce terms page point to.
- Create the new page from TermsFeed > Add Legal Page.
- Select the "Text" tab of the editor, select all the content of the draft, and copy it.
- Open the old page, select its "Text" tab, replace its content with the copied text, and click the "Update" button.
- Move the draft to the Trash from its row in TermsFeed > All Legal Pages.
- Clear your page cache. Close every private window, open the old page in a new one, and check that it shows the new sections and the current "Last updated" date.
To swap pages instead, move the old page to the Trash before you publish the new one, so the new page takes the slug of the type. Shortcodes and the footer legal links follow the new page, and so do custom links to the page address. Every selection made by post ID still points to the trashed page.
- Move the old page to the Trash in TermsFeed > All Legal Pages, then click Publish on the new draft.
- Replace the menu item of the old page in Appearance > Menus, and click the "Save Menu" button.
- Choose the new page again, and save, in Settings > Privacy, in Appearance > Customize > WooCommerce > Checkout, and in every other plugin that asked for a legal page. A store with the Checkout block needs the command in How to choose legal pages in WooCommerce.
- Drag the new page into place in the "Links Order" list of the Links to Legal Pages kit, and save.
- Clear your page cache. Close every private window and open your WordPress website in a new one. Confirm that the menu link, the footer legal link, and, on a WooCommerce store, the checkout terms link open the new page.
How to tell visitors that a legal page changed
Turn on the Update Notices of Legal Pages kit to show a bar that names each recently changed page with a link and the date. Set up the bar, its messages, and its period with Announce Legal Page Updates in WordPress.
How to restore an earlier version of a legal page from "Revisions"
- Open the page in the editor and click Browse next to "Revisions" in the Publish box.
- Move the slider to the version you want and compare it with the current text.
- Click Restore This Revision. The "Last updated" date moves to the day you restore.
How to change the slug, parent, order, and template of a legal page
Each change takes effect when you click Update in the editor.
- Slug. Click Edit next to the permalink under the title.
- Parent. Choose another legal page in Page Attributes > Parent, and the page moves under the address of that parent, such as
/termsfeed/policies/privacy-policy/. - Order. Type a number in Page Attributes > Order, which the Legal Pages widget uses while its "Sort by:" field reads "Page order".
- Template. Choose a page template from your theme in Page Attributes > Template.
WordPress does not redirect the old address of a renamed legal page. Update every link you typed by hand, and every shortcode that names the old slug, such as [wpautoterms page="privacy-policy"].
How to let an Editor create and edit legal pages
Give an Editor the role "Editor + WPAutoTerms Pages Editor" on the user profile screen. On a single site this role holds unfiltered_html, so the user opens Compliance Kits and Settings too, and the kit fields print scripts and HTML on every page. On a multisite network it opens the legal pages only.
- Open Users in your WordPress admin and click the name of the Editor.
- Choose "Editor + WPAutoTerms Pages Editor" in the "Role" select and click the "Update User" button.
- Close every private window, log in as that user in a new one, and confirm that the TermsFeed menu shows All Legal Pages and Add Legal Page.
A user who keeps another main role, such as Author, gets the legal pages from "WPAutoTerms Pages Editor (additional)" as a second role. Add it with a role editor plugin, or with these WP-CLI commands, replacing jane with the user login.
wp user add-role jane manage_wpautoterms_pages
wp user get jane --field=roles
Give the additional role only beside a main role: alone, it does not hold the read capability, so WordPress sends the user to the home page after login. Compare the capabilities of each role in TermsFeed AutoTerms Capabilities and Roles.
How to unpublish or delete a legal page
Unpublish a legal page from the Publish box in the editor.
- Click Edit next to "Status" in the Publish box.
- Choose Draft and click Update.
- Clear the page cache of your caching plugin.
Delete it instead with Move to Trash, then clear the page cache. Once the page is no longer published, it leaves the footer legal links, the Legal Pages widget, and Update Notices, and every shortcode that names its slug prints nothing. Custom links to the page address, in a menu or a Navigation block, lead to a missing page, so remove them by hand.
A page in the Trash stays restorable until you delete it permanently, or until WordPress empties the Trash after 30 days by default. Read what removing the plugin deletes in Install the TermsFeed AutoTerms Plugin on WordPress.