
內容簡介
Genesis Ads 可以讓您在您的基於 Genesis 的主題的不同位置(包括 Google AdSense 和 Amazon)輕鬆顯示任何類型的廣告。
為了使用 Genesis Ads,您還需要:
基於 StudioPress 開發的 Genesis 框架的佈景主題,
免費的廣告管理外掛 Advanced Ads。
這與 Advanced Ads 的結合可讓您將由 Advanced Ads 管理的廣告(例如 Google AdSense、Amazon、圖像橫幅等)插入預定義位置(稱為 Genesis 前端中許多基於動作鉤子的位置),並使用廣告輪換等功能。
請注意,您的佈景主題作者可能已經省略了其中一些動作鉤子。此外,這些動作鉤子所添加的內容的樣式取決於您的佈景主題。請聯繫您的佈景主題開發人員解決樣式問題。
廣告位置
目前有 51 個位置可供 Genesis Ads 使用。其中包括:
在頁首周圍和內部的幾個位置 - 此處包括網站的標題和描述以及可能還有導航和搜索表單
主內容和側邊欄包裝周圍
主側邊欄和替代側邊欄之前、其中和之後
在循環周圍 - 這是加載帖子和頁面的部分,但不包括實際內容本身
在內容周圍有許多位置。您甚至可以在此處指定內容標題周圍的位置
在評論、引用(連結到您的帖子的網站)和評論表單周圍
在您網站頁尾之前、其中和之後
請記住,內容位置可能會在概述頁面(例如首頁或類別頁面)上重複,並且廣告可能會在每頁上注入多次。
用法
確保您已啟用基於 Genesis 的主題和 Advanced Ads 的基本版本。
前往您的儀表板,並導航至 Advanced Ads > 放置。
在創建新的放置時,請選擇帶有 G 符號的選項。
在保存新的放置後,您可以在放置列表中找到它以及其他附加選項。在此,您可以指定或更改廣告並從列表中選擇位置(請參見下文)。
目前有 51 個放置在 7 個邏輯組中。您可以在Genesis Hook Reference中找到有關它們更詳盡的信息(需要 Genesis 登錄)。
這些位置大多是自解釋的。當您將參考檢查與 Genesis 放置中的位置相對比時,應記住我已刪除了 genesis_ 前綴。
外掛標籤
開發者團隊
原文外掛簡介
Genesis Ads enables you to easily display any kind of advertisement – including Google AdSense and Amazon – in various positions in your Genesis based theme.
In order to use Ads for Genesis, you also need
a theme based on the Genesis Framework built by StudioPress,
the free ad management plugin Advanced Ads.
This combination with Advanced Ads allows you to inject adverts like Google AdSense, Amazon, images banners, etc. managed by Advanced Ads into the predefined positions (called “action hooks“ many Genesis based themes have included in the frontend) and to make use from features like ad rotation.
Please be aware that your theme author might have left some of them out. Also, the styling of the content added by these hooks depends on your theme. Please contact your theme developer about styling issues.
Positions for ads
There are currently 51 positions you can target with Genesis Ads. Among them are:
a couple of positions around and within the header – the part where the site’s title and description and maybe also a navigation and a search form are located
around the main content and sidebar wrappers
before, within and after the main and the alternative sidebar
around the loop – the part where the posts and pages gets loaded, but not within the actual content itself
plenty of positions around the content. You can even specify positions around the content title here
around the comments, pings (websites that link to your post) and the comment form
before, within and after your site’s footer
Keep in mind that content positions might be repeated on overview pages like home or category pages and the ad might be injected multiple times per page.
Usage
Make sure that you have your Genesis-based theme and the basic version of Advanced Ads activated.
Go to your dashboard and navigate to Advanced Ads > Placements.
When creating a new placement, select the one with the G in the symbol.
After saving the new placement you find it with additional options in the placement list. Here you can specify or change the ad and select the position (see below) from the list.
There are currently 51 placements in 7 logical groups. You can find extended information on them in the Genesis Hook Reference (Genesis login needed).
The positions are mostly self-explanatory. When you check the reference against the positions in the Genesis placement then you should keep in mind that I removed the genesis_ prefix.
