
內容簡介
已經在 Gutenberg 上進行測試
創建一個簡單的方式,為個別頁面、文章或自訂文章類型的標題和頁腳添加 JavaScript 代碼,
例如: 在感謝頁面上添加轉換代碼
在個別頁面上添加 Google 重新行銷代碼
還有更多...
1.3 版中新增了將腳本或樣式添加到所有頁面而不僅僅是個別頁面的選項,
這將使您能夠將 Google 重新行銷代碼添加到整個網站或 Google Analytics
要使用,請轉至「設置」-「標題和腳本設置」
新功能(版本 3.0):
新增了選項以包括類別頁面
新功能(版本 2.3):
新增對 WooCommerce 商店頁的支援。
我們現在支援在每個頁面/文章中,通過兩個複選框選擇性地不在頁面上顯示標題和腳本代碼。
取消選中該頁面即可。
我們增強了支援,使腳本僅限於特定的文章類型或頁面。
如果您喜歡本插件,請給我們評分。
用法:
您需要將代碼與 script 標籤粘貼在一起,例如:
您的 js 代碼
外掛標籤
開發者團隊
② 後台搜尋「SOGO Add Script to Individual Pages Header Footer」→ 直接安裝(推薦)
原文外掛簡介
Tested with Gutenberg
Create a simple way to add javascript code to individual page post or custom post type header and footer,
for example: add conversion code to thank you pages
add google re-marketing code to individual pages
and much more…
added in version 1.3 the option to add script \ style to all pages not only individual pages,
this will allow you to add Google re-marketing code to the entire site or Google Analytics
to use it goto “settings” – “Header Footer Settings”
New Features (version 3.0):
Added option for terms / category pages
New Features (version 2.3):
Added support for WooCommerce shop page.
we support now exclude individual pages form printing the header and footer scripts, this is supported by 2 checkboxes in each page\post
buy check it the script will not be display on this page
we added support to limit the script only for certain post type \ page
if you like it \ use it – please rate us.
usage:
You need to paste the code with the script tag, for example:
you js code
