The official Inlay plugin handles the whole WordPress integration: it enqueues the embed script on every public page, serves your ads.txt automatically, and gives you per-post ad controls — no theme edits required.
In wp-admin go to Plugins → Add New and search for Inlay, then install and activate. You can also download it from wordpress.org/plugins/inlay.
A top-level Inlay item appears in your wp-admin sidebar with status cards for connection, embed script, and ads.txt.
Paste your Site Script IDinto the plugin settings — it's the long string after /api/script/ in your embed code, found under Dashboard → Sites → your site. You can paste the entire embed snippet; the plugin extracts the ID for you.
On save, the plugin validates the ID against Inlay and the embed script starts loading asynchronously in the <head> of every public page. Use Verify connection at any time to re-check.
yourdomain.com/ads.txt with the seller lines Inlay generates for your active demand partners, refreshed every 12 hours. Use Sync & verify to refresh immediately — it runs the same check as the Inlay dashboard verifier.Every public post type gets an Inlay box in the editor sidebar with a Disable Inlay ads on this content checkbox. When checked, the embed script is not loaded when that content is viewed.
ads.txt shows 'Blocked by file'
ads.txt file exists in your site root and your web server serves it before WordPress can. Delete the file to let the plugin keep your seller lines in sync automatically.WordPress in a subdirectory
Nothing showing yet?