Usage
Categories Sources Channels News Videos Weather Polls Pages Links Ads Sitemaps

# Ads

the script come with 5 integrated spaces to ad your advertisements.

To Add an Ad you must fill all fields because are required.

Field | Description
--- | ---
Title | any title for this ad block. for example : header ad, sidebar adsense ad .. etc.
Place | Where you want to display this ad block. you have 5 places : Header : in the top of the page Sidebar 1 : in the top of sidebar Sidebar 2 : in the bottom of sidebar (fixed, scroll with page) Content 1 : under the article Content 2 : between related articles and comments.
Ad Type | You can choose between Banner and Adsense Code
Link | if you choose banner you must insert the link to site or page.
Image | if you choose banner you must upload image.
Adsense AD Client | if you choose code you must insert AD Client from adsense code.
    ins class="adsbygoogle"
    style="display:block"
    data-ad-client="ca-pub-4292638688444680"
    data-ad-slot="9762647253"
    data-ad-format="auto"
we need this one : data-ad-client="ca-pub-4292638688444680"
Adsense AD Slot | if you choose code you must insert AD Slot from adsense code.
    ins class="adsbygoogle"
    style="display:block"
    data-ad-client="ca-pub-4292638688444680"
    data-ad-slot="9762647253"
    data-ad-format="auto"
we need this one : data-ad-slot="9762647253"

You can change ads places and display them where you want
each ad block has its own smarty code `{'sidebar_2'|get_ad}` copy this code and paste it wherever you want and the Ad Block will appear there.