大家好!本篇為最佳化廣告配置設定教學,將說明若網站主題沒有提供小工具位置,或網站無工程師協助編輯主題檔案,該如何用外掛設置廣告定位標籤。
目錄
網站的刊頭與刊尾在哪裡?
刊頭位於網站第一屏(載入後第一個畫面)
位置主要在 Heater之下或 LOGO與選單附近,以不影響畫面瀏覽為主。
![](https://www.breaktime.com.tw/wp-content/uploads/2022/07/1657882522-6ed806097cf6ce4db463d57f2b1badf5-1024x462.png)
刊尾位於網站最後一屏
位置主要在 Footer之上。
![](https://www.breaktime.com.tw/wp-content/uploads/2022/07/1657883010-6245f88741e17b95a88e6fbeb4f80af2-1024x462.png)
安裝外掛 Ad Inserter – Ad Manager & AdSense Ads
請在安裝外掛頁搜尋『Ad Inserter』,選擇立即安裝並啟用。
![](https://www.breaktime.com.tw/wp-content/uploads/2022/07/1657878305-87761172895cfb0fb1102d90ff2ac473-1024x487.png)
或至外掛頁下載:
WordPress.org Taiwan 正體中文
![](data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)
![](https://ps.w.org/ad-inserter/assets/banner-772x250.png?rev=1708001)
Ad Inserter – 廣告管理程式及 AdSense 廣告
管理 Google AdSense、Media.net、Amazon Banners、ads.txt、廣告輪播、固定位置小工具、AMP 廣告、DFP、追蹤功能、AdSense 頁首及頁尾程式碼。
廣告定位標籤設定步驟
STEP
至 Ad Inserter 設定頁
設定 >> Ad Inserter 。
![](https://www.breaktime.com.tw/wp-content/uploads/2022/07/1657878615-66cb6454e3f8d6646a5a2c165bc56858-1024x487.png)
STEP
至第一個標籤,貼上刊頭定位標籤
刊頭代碼:<div class="Zi_ad_a_H"></div>
。
![](https://www.breaktime.com.tw/wp-content/uploads/2022/07/1657879159-2356ab39cc6d216ef537025336712730-1024x487.png)
STEP
打勾要顯示頁面,Insertion 選擇 Before post
按『Save Settings』儲存。
![](https://www.breaktime.com.tw/wp-content/uploads/2022/07/1657879196-b72b03ae79b35328b62f7211b4672b27-1024x487.png)
STEP
至第二個標籤,貼上刊尾定位標籤
刊尾代碼:<div class="Zi_ad_a_F"></div>
![](https://www.breaktime.com.tw/wp-content/uploads/2022/07/1657879908-832dfb105537d6ba53703aa4624506d3-1024x487.png)
STEP
打勾要顯示頁面,Insertion 選擇 After post
按『Save Settings』儲存。
![](https://www.breaktime.com.tw/wp-content/uploads/2022/07/1657880017-3535f0ab758b218c165da66b9735f3ae-1024x487.png)
![](https://www.breaktime.com.tw/wp-content/uploads/2022/06/1654655937-c51ec747fd66ffdce480f0acd6eaf213-150x150.png)
本次教學就到這邊,我們下次見!