WordPress Integration guide

This integration is in BETA. Please help us improve by providing feedback.

Contact us

Welcome to the documentation for integrating Yoti Age verification (AV) with WordPress.

Following are the integration steps:

  1. Download the plugin
  2. Install the plugin
  3. Add your keys and configure the plugin options
  4. Enable Age verification for relevant posts/pages

Download the plugin

Download the plugin installation file from this link.

Install the plugin

Head to your WordPress admin panel.

  • Open Plugins page from the left menu
  • Then, click the ‘Add New Plugin’ button
Settings > Plugins > Add New Plugin

Settings > Plugins > Add New Plugin

  • After, click the ‘Upload Plugin’ button
  • Click the ‘Choose file’ button and select the plugin zip file
  • Then click the ‘Install Now’ button
Settings > Plugins > Add New Plugin > Upload Plugin > Install Now

Settings > Plugins > Add New Plugin > Upload Plugin > Install Now

  • Finally, click on ‘Activate’ link below the installed plugin name
Settings > Plugins > Activate

Settings > Plugins > Activate

Add keys and configure the plugin

You will need to have completed Onboarding and generated API keys.

Onboarding

  • Open the plugin settings page by going to 'Settings -> Yoti Age Verification' from the left menu
  • Add the SDK ID and API Key
  • Set the default age threshold and enable verification methods
  • Configure the Notifications webhook
Settings > Yoti Age Verification

Settings > Yoti Age Verification

  • Optionally, customise the plugin inline elements
Settings > Yoti Age Verification

Settings > Yoti Age Verification

  • Set the AV retention period for logged-in and non logged-in users
  • Then, click the 'Save Changes' button
Settings > Yoti Age Verification

Settings > Yoti Age Verification

Congratulations - the setup is complete.

Enable age verification for content

Now that the plugin is installed head to your posts or pages by going to 'Posts -> All Posts' or 'Pages -> All Pages'

  • For each relevant post/page, set the Age threshold and enable/disable Age verification. Make sure to click the individual 'Save' buttons after changing the configuration.
Posts -> All Posts

Posts -> All Posts

  • It's also possible to use 'Bulk actions' dropdown to set Age threshold and enable/disable Age verification for multiple posts/pages simultaneously. Click 'Apply' after selecting the relevant items and desired action.
Posts -> All Posts

Posts -> All Posts

End-user flow

The age verification flow will automatically be triggered for restricted content.

  1. Whenever a user reaches an Age-restricted post or page, they will be asked to prove their age.
Age-restricted Post

Age-restricted Post

  1. They will be able to confirm their age using any of the allowed methods.
Yoti Age Verification

Yoti Age Verification

  1. The user will get a confirmation once their age is confirmed, and a button will be shown to go back to the website.
Age confirmed

Age confirmed

  1. They will then be redirected to the WordPress site and a thank-you message will be shown.
Age Verification Thank-you

Age Verification Thank-you

Review the results

Head to your WordPress admin page.

  • Open the Users page by going to 'Users -> All Users'
  • The 'Age Verification Status' for each user will be shown along with the verification details
Users page

Users page

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard