[Luxeritas] How to paste Google Adsense ads

2019/1/5

How to put Google Adsense on Luxeritas

Luxeritas is a domestic free and highly functional Wordpress theme. Here's how to place Google Adsense ads on blogs created with the Luxeritas theme.

Reference: About Luxeritas

Luxeritas Official:https://thk.kanzae.net/wp/

Google Adsense: Automatic ad settings

① Get an ad code

My page of Google Adsense ⇒ "Ads" ⇒ "Automatic ads" ⇒ "Start" ⇒ Select the ad type to display ⇒ "Save" ⇒ Copy the displayed code

Please refer to other sites for detailed explanations of the initial settings for automatic advertising.

② Where to paste the automatic advertisement code

WordPress administration screen ⇒ "Luxeritas" ⇒ "Edit child theme" ⇒ "Head tag" ⇒ Paste after "?>" At the bottom

How to set up each ad unit

① Get the ad unit code

My page of Google Adsense ⇒ "Ads" ⇒ "Ad unit" ⇒ "New ad unit" ⇒

 

⇒ "Text ads and display ads" on the far left ⇒ Name,Ad size,Set ad type ⇒ "Save and get code"

The types and sizes of each ad unit are summarized here.

① Where to paste the code of the ad unit

Here, the case of the sidebar is shown as an example.Change the bold part according to the place you want to paste.

WordPress administration screen ⇒ Luxeritas ⇒ Customize (appearance) ⇒ Widget ⇒ General-purpose sidebar (title H3 type) ⇒ Add widget ⇒ # 1 Adsense (Luxeritas original) ⇒ Paste to "Content"

Other recommended places to paste

  • Widget under header
  • Article title Top, bottom widget
  • Above the first H2 tag found in the post
  • Related Articles Top and Bottom Widgets
  • Article bottom widget, further below article bottom widget
  • Footer Left, Center, Right Widget

And so on.Each advertisement placement is like this ↓