Block theme or classic theme
Block themes treat the footer as a template part you edit in the Site Editor. A Custom HTML block placed there appears on every template that uses that footer. Classic themes work through widget areas, and the theme decides which areas exist, so the footer widget area name and position change from theme to theme. Some themes offer several footer areas, and any visible one will do.
If neither route works, a snippet plugin such as WPCode can inject code in the footer, and a child theme footer.php is the manual option. Always pick a child theme there, because the parent theme file is replaced when the theme updates.
Check the image after caching and lazy loading
WordPress sites often run several plugins that rewrite the page after you save it. A lazy loader may swap the real image address for a tiny placeholder and load the true image with JavaScript. Our crawler does not run JavaScript, so it would see the placeholder and the check would fail.
The test takes a minute. Open your live page, choose View page source, and search for entruv.com. You should see the anchor, and an img whose src is exactly https://entruv.com/api/badge/ followed by your slug and .svg. If the src is different, exclude the badge in your optimisation plugin and clear the cache. Then test again from a private window so you are not looking at a logged in view.
Questions
Do I need a plugin to add the badge?
- No. A Custom HTML block or widget in your footer is enough. A snippet plugin such as WPCode is an alternative if your theme will not take HTML in the footer.
Why does the badge show in my browser but the check fails?
- Usually a cache serves the crawler an older page, or a lazy loader changes the image src. View the page source and clear the cache.
Can I use a free WordPress.com plan?
- Custom HTML support depends on your plan and theme. If your site will not accept the img and anchor, a plan that allows custom HTML is needed.
Does the badge update if I pay later?
- Yes, by itself. The same snippet turns into the gold badge after the one time $39 payment. The payment is final.
Keep reading
Get on the record
About a minute, no account and no password. Publishing is free once your badge is on your site. Upgrade once for $39 when you want the gold credential.