Widget: Configs Ad In Post


About

Configs Ad In Post is a widget that contains Ad configuration and Code for inside Posts placement - (View).



Specification




Configuration



Description

enable
Activate ads.

ad_code
Ad Code. Currently, this widget only supports AdSense ad code. Fill this configuration with the full original AdSense ad code without parsing - (View). It is recommended to use Responsive ad units.

max_count
Maximum number of ad units.

min_distance
Minimum distance between ad units in px. The minimum value is 200.

preferred_position
Preferred position/direction.

Value Description Position Scheme
top Top part
bottom Bottom part

prevent_classes
For certain reasons, you may want to prevent ads from being placed on elements with specific classes. This configuration allows you to define a list of parent element classes to exclude.

          
            disable-ads
          
        
Ads will not be displayed on parent elements with the class disable-ads.

          
          <div class='disable-ads'>
            <!-- ads will not be placed inside this element-->
          </div>
          
        

To add more than one class, separate each class with a Comma. Here is an example of adding more than one class:

       
        disable-ads, no-ads, other-class
       
    



Other

  1. Ads are only active on the Post pages.
  2. Read: Automatic AdSense Ads Settings.
Have Question?