Placing ads
Ads on WordPress and Blogger
WordPress
There is no HalalAdz WordPress plugin to install yet. If you pasted a [halaladz …] shortcode anywhere, remove it — it shows as plain text.
- Paste the ad code in a Custom HTML block: WordPress admin → Appearance → Widgets → "+" → "Custom HTML" → paste the script tag and, below it, the slot code of each ad you want → Update.
- The script tag is needed once per page; in more Custom HTML blocks paste only slot code. No Widgets menu (block theme)? Appearance → Editor → open the template → "+" → Custom HTML → Save.
- Add the ads.txt line with the Ads.txt Manager plugin: Plugins → Add New → search "Ads.txt Manager" → Install Now → Activate. Then Settings → Ads.txt → paste the line (keep any lines already there) → Save Changes. Using cPanel? Put the line in public_html/ads.txt.
- Check it works: open your site in a new tab; once the property is approved the ad box appears within a few seconds. After our check, the dashboard's ads.txt tab turns green.
<!-- once per page, inside <head> or before </body> -->
<script async src="https://cdn.halaladz.com/ad.js"></script>
<!-- where an ad should appear: your placement key from the dashboard -->
<ins data-hz-slot="pk_live_xxxxxxxx"></ins>halaladz.com, pub-<your account id>, DIRECTBlogger
- ads.txt: Blogger → Settings → Monetization → turn on "Enable custom ads.txt" → paste the line into Custom ads.txt (keep existing lines) → Save.
- ad.js once: Theme → ▾ → Edit HTML → find
</head>and paste just before it → Save. Blogger themes are XML, so writeasync='async'. - Place ads: Layout → Add a Gadget → "HTML/JavaScript" → paste the slot code. Or turn on auto ads.
<script async='async' src='https://cdn.halaladz.com/ad.js'></script>