
內容簡介
使用此外掛可以快速且簡單地將 Google Adsense 插入你的文章、頁面和側邊欄,只需使用簡碼或從你的主題模板檔案中呼叫 PHP 函式即可。
有許多外掛和服務可將 Google Adsense 新增到你的 WordPress 網站。然而,我發現即使類似 Adsense Manager 或 Adsense Deluxe 這樣的外掛提供了許多自訂選項,它也可能會讓新手感到不知所措,並不是很簡單易用。
我發現大部分時間我只在不同的位置和文章中使用 2-3 種 Google Adsense 單元。
那就是為什麼我編寫了自己的「簡易 Google Adsense 插入外掛」,專注於保存 1-3 種 Google Adsense 代碼,並通過將簡單的簡碼文本插入到我的文章、頁面和側邊欄中, 在我希望的任何地方使用它們。
該插件還可用於自動插入文章廣告代碼。如果指定,則廣告代碼將插入每篇文章的第二個段落後面。
它還可以自動在每篇文章結尾處插入 Adsense 代碼。
你也可以使用此外掛來儲存任何廣告代碼(它不一定只限於 Adsense 代碼)。
有關信息和更新,請訪問簡單 Google Adsense 外掛頁面
用法:
你可以使用此外掛有兩種方式:
使用簡碼:
[wp_ad_camp_1]
[wp_ad_camp_2]
[wp_ad_camp_3]
[wp_ad_camp_4]
[wp_ad_camp_5]
從模板檔案中呼叫函式:
<?php echo show_ad_camp_1(); ?>
<?php echo show_ad_camp_2(); ?>
<?php echo show_ad_camp_3(); ?>
<?php echo show_ad_camp_4(); ?>
<?php echo show_ad_camp_5(); ?>
外掛標籤
開發者團隊
原文外掛簡介
Use this plugin to quickly and easily insert Google Adsense to your posts, pages and sidebar by using a shortcode or calling the php function from your theme’s template file.
There are many plugins and services which can add Google Adsense to your WordPress site. However I found that even though something like Adsense Manager or Adsense Deluxe provides a lot of customizable options, it can be overwhelming and isn’t really simple enough for people who are new to WordPress.
I found that most of the time I only use two or three types of Google Adsense units in various places and posts throughout my sites.
That’s why I wrote my own Simple Adsense Insertion Plugin for WordPress, to focus on having 1-3 Google Adsense codes saved and use them where ever I want to on my site by inserting a simple shortcode text to my posts, pages and sidebar.
This plugin can also be used to automatically insert in-article ad code. If specified, the ad code is inserted after the 2nd paragraph of every posts.
It also has the ability to automatically insert adsense code at the end of every article.
You can use this plugin to store any ad code too (it doesn’t have to be just adsense code).
For information and updates, please visit the simple Google Adsense plugin page
Usage:
There are two ways you can use this plugin:
Use the shortcodes:
[wp_ad_camp_1]
[wp_ad_camp_2]
[wp_ad_camp_3]
[wp_ad_camp_4]
[wp_ad_camp_5]
Call the function from template files:
