Advertisement

Installing ads is done through the Layout page, located in the Appearance > Themes menu.

menu
theme

Select the page where you want to install an ad.

select page

On the home page, ads can be placed in the body and sidebar.

Adding an Ad Widget

Click the 'Add Widget' button.

add new widget

Select the 'ads' widget.

select ads

A modal form will appear, containing various input fields for configuring the advertising widget before it is displayed.

add new ads body

By default, the selected ad type is an image advertisement. Users can choose other ad types, such as Google AdSense or ad scripts.

ad type

Image Ads (Banner)

Select the ad type “Image” in Ad Type.

Upload Ad Image

Click on the upload image area to insert the ad image.

upload image

The image will appear, displaying its width and height automatically.

result upload image

If you want to change the image, click "Change Image".

Enter the image url if you want to create a link.

url

Google Adsense Ads

Select Google Adsense under “Ad Type”.

gaads

Make sure you already have an Ad Unit created in Google AdSense to fill in the required inputs.

Creating Responsive Google Adsense ads

1. GA Size

Select "Responsive" under GA Size.

selectresponsive

Open your Google AdSense account and create a new ad unit.

displayads

Select "Responsive" under Ad Size in Google AdSense.

selectresponsiveadunit

Click "Create".

You will see the Ad Unit Code, which appears as follows:

responsive

2. GA Format

Look at the Ad Unit code in the data-ad-format=“auto” section. It means that the GA Format you entered is “Auto”.

gaformat

2. Full width responsive

Choose "YES".

fullwidthresponsive

If the Ad Unit code data-full-width-responsive=“true” is true.

Create Google Adsense ads with Fixed Size

1. GA Size

Choose "Fixed" on GA Size:

gasizefixed

Select "Fixed" in Ad Size on Google Adsense.Enter the size 350 for width and 300 for height.This size is for sidebar ads.

gaadsizefixed

Klik "Create".

You will see the ad unit code, as follows:

fixed

2. Ad Size

Enter the width and height sizes according to the length and width of the Google Adsense ad unit ad.

adsize

Advertising code (Script)

You can also display ads via ad code or script.The Google Adsense ad code can also be entered through this input script but we recommend using the AD Type option: Google Adsense

Select "Script" in the Ad Type select option.

script

Enter the ad code into the "Script" input field.

scriptinput