Skip to content

Wordpress Setup

Wordpress installation instructions

  1. Navigate to your Wordpress admin dashboard. The dashboard can usually be found at https://example.com/wp-admin/ where example.com must be replaced with your own domain.
  2. In the left sidebar, hover over Appearance and click on Theme File Editor.
  3. In the right sidebar, click on Theme Header (header.php).

Then, add the following line inside the <head> tag, just before the </head> tag closes.

<head>
<?php wp_head(); ?>
<script data-domain="example.com" src="https://cdn.mentionads.com/v1/script.min.js" defer></script>
</head>

Questions?

Please read the frequently asked questions.

Test your installation

You can test your installation by adding the URL fragment to a page from your website, i.e. #mentionads=debug. Open DevTools in Chrome and you should see a success message being logged. If you are having trouble confirming that your installation was successful, please reach out to [email protected].