Install, update, and remove the plugin on your WordPress website

Install TermsFeed AutoTerms from your WordPress admin, from its ZIP file, or with WP-CLI, then open any admin screen once to finish the setup. Each method installs the same plugin, with the slug auto-terms-of-service-and-privacy-policy.

WordPress and PHP requirements for the plugin

The plugin needs WordPress 5.0 or later and PHP 7.0 or later. The Cookie Consent kit needs the PHP DOM extension. Without it, a page that prints a vendor script with attributes, and the Vendor Scripts tab, stop with a PHP fatal error. Ask your host to add the extension where Tools > Site Health reports the dom module as missing.

Installing takes an Administrator account, or a Super Admin account on a multisite network. Install on a network with WordPress Multisite Legal Pages.

How to install the plugin from the WordPress admin

  1. Open Plugins > Add New Plugin in the WordPress admin.
  2. Type "TermsFeed AutoTerms" in the search field.
  3. Click the "Install Now" button on the "TermsFeed AutoTerms" card.
  4. Click the "Activate" button once the installation finishes.

WordPress returns to the Plugins screen with a TermsFeed item in the admin menu.

How to install the plugin from the ZIP file

Download the ZIP file from the plugin page on WordPress.org and leave it zipped.

  1. Open Plugins > Add New Plugin in the WordPress admin.
  2. Click the "Upload Plugin" button at the top of the screen.
  3. Select the ZIP file, and click the "Install Now" button.
  4. Click the "Activate Plugin" button.

How to install the plugin with WP-CLI

Run this command from your WordPress installation folder.

wp plugin install auto-terms-of-service-and-privacy-policy --activate

Then open any screen of your WordPress admin in a browser, so the default settings and the legal page addresses are in place before visitors arrive.

What a new installation starts with

A new installation stores the legal pages slug termsfeed, turns on only the Links to Legal Pages kit, and sets the Cookie Consent kit to express consent.

  • Settings. The website name, company name, and company address hold the WordPress Site Title until you change them in TermsFeed > Settings.
  • Legal page addresses. Legal pages take addresses such as /termsfeed/privacy-policy/ with pretty permalinks.
  • Consent preference. The Compliance preference of the Cookie Consent kit is "GDPR Directive (i.e. I Agree & I Decline buttons)".
  • Roles. The plugin adds "WPAutoTerms Pages Editor (additional)", and "Editor + WPAutoTerms Pages Editor" on sites with the Editor role.

A site upgraded from Auto Terms of Service and Privacy Policy 1.x keeps its old settings on a Legacy Auto TOS & PP screen. Keep the 3 old shortcodes working with Legal Page Shortcodes for WordPress.

How to confirm that the plugin is installed

  1. Check that the admin menu shows a TermsFeed item with Dashboard, All Legal Pages, Add Legal Page, Compliance Kits, Settings, and Help below it.
  2. Open Plugins > Installed Plugins and read "Version 3.0.8" under the plugin description, the release this manual describes.

WP-CLI prints the version with this command.

wp plugin get auto-terms-of-service-and-privacy-policy --field=version

The menu and the version show that the plugin is ready. Fill in your website and company details next with WordPress Legal Page Settings.

How to update the plugin

Update the plugin from Dashboard > Updates, the Plugins screen, automatic updates, or wp plugin update auto-terms-of-service-and-privacy-policy. Settings, vendor scripts, and legal pages stay as they are. Open your WordPress admin once after a background or WP-CLI update. Read the changelog on the plugin page on WordPress.org.

What deactivating the plugin keeps

Deactivating the plugin keeps every setting, vendor script, role, widget, and legal page. While the plugin is off, the Compliance Kits print nothing, legal page addresses stop working, and [wpautoterms] shortcodes show as plain text. Reactivate it from the Plugins screen, and everything works again.

What deleting the plugin removes and keeps

Deleting the plugin removes all its settings and keeps your legal pages, unless wp-config.php defines WPAUTOTERMS_UNINSTALL_DELETE_PAGES as true. Deactivate the plugin and click Delete under its name in Plugins > Installed Plugins, or run this command. On a multisite network, both act on every site.

wp plugin uninstall auto-terms-of-service-and-privacy-policy --deactivate

Do not use wp plugin delete for a removal: it deletes the plugin files only, and every setting, role, and Legal Pages widget stays in your WordPress database.

The deletion removes what the plugin added to your WordPress website.

  • Settings. Every setting of General Settings, the Advanced tab, the Compliance Kits, and the Legacy Auto TOS & PP screen goes, vendor scripts included.
  • Roles. Users with the "Editor + WPAutoTerms Pages Editor" role become Editors, and users who held only "WPAutoTerms Pages Editor (additional)" lose access to legal pages.
  • Widgets. Every Legal Pages widget leaves your sidebars.
  • Permalink rules. The deletion clears the stored permalink rules, and WordPress rebuilds them on the next request to each site.

The deletion keeps every legal page with its revisions, and the post tags you created from the Endorsements settings. The kept legal pages leave your WordPress admin, and their addresses stop working, until you install the plugin again. Installed again, the plugin shows those legal pages under the default slug termsfeed.

Add this line to wp-config.php before you delete the plugin to delete the legal pages too. The cleanup then deletes every legal page, with its revisions and custom fields, on every site of a network.

define( 'WPAUTOTERMS_UNINSTALL_DELETE_PAGES', true );

Copy the text of any legal page you want to keep first, because the deletion is permanent. Remove the line from wp-config.php after the plugin is gone.