Put links to your legal pages where visitors and other plugins look for them
Link each published TermsFeed AutoTerms legal page from the footer, a menu, or a widget, and choose it in the settings of WordPress and WooCommerce. A published legal page has its own web address from the moment you publish it. Visitors reach it only through a link. The plugin adds the first link for you through its footer legal links kit.
The web address of each legal page
With pretty permalinks, a legal page opens at /termsfeed/<slug>/ on your WordPress website, such as https://example.com/termsfeed/privacy-policy/. The termsfeed part is the legal pages slug, which you change in TermsFeed > Settings.
Use these address forms to link a legal page, a child page, or the archive.
| Address | What it shows |
|---|---|
/termsfeed/privacy-policy/ |
The legal page with the slug privacy-policy |
/termsfeed/<parent>/<child>/ |
A child legal page, under the address of its parent |
/termsfeed/ |
The archive of published legal pages, displayed with your theme archive template |
/?wpautoterms_page=privacy-policy |
The same legal page on a site with plain permalinks |
Find the exact address of a page above its row actions in TermsFeed > All Legal Pages, or with View Legal Page in the editor. Change the termsfeed part of every address with WordPress Legal Page Settings.
How the footer legal links kit lists your legal pages
The Links to Legal Pages kit prints a link to every published legal page at the bottom of every page of your WordPress website. The kit is on after install, so a legal page appears there once you publish it and clear your page cache.
A new legal page joins the end of the order you saved for the links. Change the order, the colors, the separator, and the font of the footer legal links with Add Legal Links to the WordPress Footer.
How to add a legal page to a navigation menu
Add a legal page to a classic theme menu from Appearance > Menus, in 5 steps and about 2 minutes. WordPress offers legal pages there in their own "Legal Pages" box, beside Pages and Posts.
- Open Appearance > Menus and select the menu to edit.
- Open Screen Options at the top of the screen and tick Legal Pages if that box is missing from the left column.
- Open the Legal Pages box, tick the pages to add, and click Add to Menu.
- Click Save Menu.
- Clear your page cache, close every private window, open your WordPress website in a new one, and click the new menu item. The legal page opens at its
/termsfeed/address.
A menu item added from the Legal Pages box follows the page, so it keeps working after you change the slug. A block theme builds menus with the Navigation block in the Site Editor, and the page search of that block does not find legal pages. Add each legal page there as a custom link, with the full address from All Legal Pages.
How to show legal pages with the "Legal Pages" widget
The plugin adds a "Legal Pages" widget that lists your published legal pages in any widget area of your WordPress theme. The widget description in the widget list reads "Show TermsFeed AutoTerms Plugin Legal Pages list".
The widget has 3 fields, each with its own default.
| Field | Values | Default |
|---|---|---|
| Title: | Any text | Empty, so the site shows "TermsFeed AutoTerms Plugin Legal Pages" |
| Sort by: | Page title, Page order, Page ID | Page order, then the title |
| Exclude: | Page IDs, separated by commas | Empty |
Set Page Attributes > Order on each legal page to control "Page order". Take a page ID for the Exclude: field from the post= part of the edit screen address.
The block widgets editor lists the widget as "Legal Pages" in the block inserter and shows its 3 fields inside the block. A block theme without widget areas has no Appearance > Widgets screen and no Legal Pages widget.
Add the widget, then check it on your site.
- Open Appearance > Widgets and add the Legal Pages widget to a widget area.
- Fill in its fields and save the widget.
- Clear your page cache.
- Close every private window and open your WordPress website in a new one. Confirm that the widget shows its title and a link to each published legal page you did not exclude.
The widget prints a list of links with the classes WordPress gives the Pages widget: page_item, page-item-<ID> with the page ID, and current_page_item on the page being viewed. Child legal pages sit in a nested ul.children list, and the widget prints nothing while no legal page is published. Style the list with these classes in your theme, and change the title in code with the widget_title filter in TermsFeed AutoTerms Action Hooks and Filters.
How to list legal pages in the WordPress "Pages" widget
Add your legal pages to the WordPress Pages widget with a setting on the General tab of TermsFeed > Settings. Tick "Show legal pages in Pages Widget" and click the "Save Changes" button. The setting is off after install, and the Pages widget then lists regular pages only.
With the setting on, the Pages widget lists the legal pages after the regular pages, in the same widget. Use the Legal Pages widget instead to show the legal pages in a widget of their own. Find the setting with WordPress Legal Page Settings.
How to choose a legal page as the WordPress Privacy Policy page
Choose your Privacy Policy legal page in Settings > Privacy, so WordPress and the plugins that read that setting link to it. The setting takes 4 steps and about 1 minute.
- Open Settings > Privacy.
- Open the list under "Change your Privacy Policy page". The plugin adds your legal pages to the regular pages in that list.
- Select your published Privacy Policy legal page and click Use This Page.
- Close every private window, open
wp-login.phpof your WordPress website in a new one, and check that the Privacy Policy link at the bottom opens your legal page.
The list shows draft legal pages too, so check the status of the page you pick in TermsFeed > All Legal Pages. WordPress links a Privacy Policy page only while that page is published.
How to choose legal pages in WooCommerce
Choose your Terms and Conditions legal page as the WooCommerce terms page in the Customizer, so the checkout links to it. The AutoTerms plugin adds your legal pages to the "Privacy policy page" and "Terms and conditions page" lists there.
- Open Appearance > Customize > WooCommerce > Checkout.
- Select the legal page in the "Terms and conditions page" list.
- Click Publish.
- Close every private window, add a product to the cart in a new one, open the checkout, and check that the terms link opens your Terms and Conditions page.
With the Checkout block, WooCommerce grays out the Customizer Checkout section, and its lists stay out of reach. Ask your developer to run wp option update woocommerce_terms_page_id <ID> with the legal page ID in that case.
The "Terms and conditions" search in WooCommerce > Settings > Advanced finds regular pages only. WooCommerce takes its privacy policy page from the WordPress setting in Settings > Privacy.
How to choose a page template for a legal page
Choose a page template from your WordPress theme in the legal page editor. The Page Attributes > Template list holds every page template your theme offers. With the default template, your theme displays the legal page with its own templates for single posts. Generated legal pages do not hold a heading for the title, because your theme prints the title above the content. Build a template of your own for legal pages with Query Legal Pages in WordPress Themes.
Set the template on each legal page that needs a layout of its own.
- Select the template in Page Attributes > Template.
- Click Update.
- Clear your page cache, then open the page and confirm that it shows the layout of the template.
Legal pages never appear in site search results
The WordPress site search skips legal pages on every site, so a visitor who searches for "privacy" does not find a legal page. The plugin does not offer a setting that adds legal pages to the search results.
Give visitors a link on every page instead: the footer legal links kit, a menu item, or a widget. The archive at /termsfeed/ lists every published legal page for visitors who reach it from a link.