Advertisement

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

menu
theme

Select the page you want to place the ad on, such as the Home page. Click edit to enter the Home settings.

selecthome

On the Home page, ads can be placed in the sidebar and body. For example, you want to place an ad on the sidebar. Click edit in the Sidebar section.

selectsidebar

Click the "Add Widget" button.

addwidget

Select the "Ads" widget.

selectads

By default, the newly created "Ads" widget has an image or banner ad type. If you want to include image ads, scripts, or Google Adsense, you need to edit the ads widget.

editads

Banner Ads

Upload or Replace Image

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

clickuploadimage

The image will appear and display the length and width of the image.

changeads

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

Enter the Image URL if you want to create a link.

Google Adsense

Select Google Adsense under Ad Type.

gaads

Make sure you already have an Ad Unit that you created in Google Adsense to fill in the other inputs.

Creating Responsive Google Adsense ads

1. GA Size

Select "Responsive" in GA Size:

selectresponsive

Open your Google Adsense account, create a new Ad Unit:

displayads

Select "Responsive" under Ad Size in Google Adsense:

selectresponsiveadunit

Click "Create".

You will see the Ad Unit code:

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

Select "Yes".

fullwidthresponsive

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

Create Google Adsense ads with Fixed Size

1. GA Size

Select "Fixed" under GA Size:

gasizefixed

Select "Fixed" under Ad Size in Google Adsense. Enter a size of 350 for width and 300 for height. This size is for Sidebar ads.

gaadsizefixed

Click "Create".

You will see the Ad Unit code:

fixed

2. Ad Size

Enter the width and height size according to the length and width of the Google Adsense Ad Unit ad.

adsize

Ad Code (Script)

You can also display Ads through ad code or script. Google Adsense Ad Code can also be entered through this script input but we recommend using the Ad Type option: Google Adsense

Select "Script" under Ad Type.

script

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

scriptinput