Back to Community

How to Add and Customize Ad Labels in Ad Inserter

13 threads Sep 10, 2025 PluginAd inserter – ad manager & adsense ads

Content

Many WordPress users rely on the Ad Inserter plugin to manage their advertisements. A common point of confusion, as seen across numerous support threads, is how to properly implement and customize the "Ad Label" feature—the text like "Advertisement" that appears above an ad unit.

This guide will walk you through the most common issues users face with ad labels and how to resolve them, based on community discussions.

What is the Ad Label Feature?

The ad label is a small piece of text displayed above your ad blocks. It's often used to comply with advertising guidelines or to improve transparency with site visitors. This functionality is available in the free version of the Ad Inserter plugin.

Common Problem: Ad Label Not Showing

Why it happens: The most frequent reason an ad label doesn't appear is that the feature hasn't been enabled for the specific block. Simply setting the label text in the general settings is not enough.

Solution: You must enable the label for each individual ad block where you want it to appear.

  1. Navigate to Ad Inserter → Settings in your WordPress admin panel.
  2. Click to edit the specific block number you want to add the label to.
  3. Click the Misc button on the block settings toolbar.
  4. Navigate to the Display tab.
  5. Check the box for Ad label.
  6. Save your block settings.

Common Problem: Changing the Label Text

Why it happens: Users often try to change the default "Advertisements" text by modifying plugin files, which is not recommended and will be overwritten on updates.

Solution: Change the text globally through the plugin's settings.

  1. Go to Ad Inserter → Settings.
  2. Click on the General tab.
  3. Locate the Ad label field.
  4. Enter your desired text (e.g., "Werbung", "Реклама", "Advertissement").
  5. Save the general settings.

This change will apply to all blocks where the ad label is enabled.

Common Problem: Customizing Label Style (Size, Color, etc.)

Why it happens: The ad label often inherits styles from your WordPress theme, which may not match your desired appearance.

Solution: You can add custom CSS to style the label. The Ad Inserter documentation provides an example of how to target the label with CSS. For instance, to change the font size, you could add code similar to the following to your theme's customizer or style sheet:

.code-block-label { font-size: 15px !important; }

Common Problem: Label Shows But Ad is Blocked

Why it happens: If a visitor uses an ad blocker, the ad code may be prevented from loading while the label, which is simple HTML, still appears. This can leave an empty "Advertisement" tag on the page.

Understanding the Limitation: As confirmed in support threads, the free version of Ad Inserter cannot detect ad blockers to conditionally hide the label. The plugin, or your website, cannot directly know if an ad blocker is active; it only sees that the ad element itself was not displayed.

Conclusion

Configuring ad labels in Ad Inserter is a two-step process: setting the global text and enabling the feature for each block. For further styling, custom CSS is the recommended approach. Understanding that the label is separate from the ad code itself is key to troubleshooting why it might appear without an ad.