Widget: Ad


Tentang

Ad is a widget that allows you to display advertisements in desired locations. Currently, this widget only supports Google AdSense advertising media.



Specification




Configuration



Description

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

widget_title
Widget title - (View)

  • Value can be plain text or HTML
  • Set to - to disable the title

widget_title_sub
Widget subtitle - (View)

  • Value can be plain text or HTML
  • Set to - to disable the subtitle
  • The subtitle will still be displayed even if the widget_title configuration is disabled

widget_title_line
Decoration line under the widget title - (View). Choose one of the available skins in the Skin List. To disable the line, set the value to none.

widget_title_align
Value Position Preview
left Left aligned View
center Center aligned View
right Right aligned View

widget_title_tag
HTML tag used for the widget title. By default, the selected value is div. For SEO purposes, it is recommended to use heading tags h2-h6 if the text you enter in the widget_title configuration contains the target keyword.
margin_top
Set the distance of the widget from the top.

Value Definition
  1. The value is a CSS Unit. Examples: 20px 40px 60px
  2. Although you can use other units such as em, pc, etc., it is recommended to use the px unit.
  3. When the configuration value is undefined (set to -), the distance applied will follow the default theme configuration (40px).

margin_bottom
Set the distance of the widget from the bottom. The value definition is the same as the margin_top configuration.
conditional
Set the availability of the widget. With this configuration, you can enable the widget only on certain page types, devices, or URLs. More about this configuration can be read on the page: General Conditional Configuration.


Others

Have Question?