前言介紹
- 這款 WordPress 外掛「Ad Rotator」是 2009-07-28 上架。
- 目前有 200 個安裝啟用數。
- 上一次更新是 2009-07-30,距離現在已有 5757 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 2.8.0 以上版本才可以安裝。
- 有 1 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
kpumuk |
外掛標籤
ad | ads | rotate | widget | advertisements |
內容簡介
Ad Rotator 是一個簡單的 WordPress 小工具,用於顯示從一組 HTML 區塊中隨機抽取出的 HTML 代碼,這些區塊使用 分隔,在側邊欄上顯示。基本上,它每次在請求頁面時都會顯示不同的 HTML。可以無限制地存在許多個此小工具實例。
支援
如果您有任何建議、發現錯誤或只是想說“謝謝”,請隨時發送電子郵件給我:[email protected]。我會回答每一封收到的電子郵件。
如果您想貢獻您的程式碼,請參閱其他備註選項卡下的開發部分。
從 AdRotator 外掛遷移
AdRotator 外掛是一個簡單的基於文件的廣告輪播解決方案。它是由 Angsuman Chakraborty 開發的很長一段時間,但 WordPress 的觀點中偶爾會有相同的外掛名稱。如果您正在使用此外掛,您可以從插件頁面點擊升級鏈接,它將被 Ad Rotator 小工具替換。
所以現在您有兩種方法來解決問題 'getad()' function is undefined:
1. 您可以下載 AdRotator 並忽略升級通知,或
2. 您可以升級您的主題以使用 Ad Rotator Widget。
以下是升級主題的方法。查找所有出現 getad 函數的地方,並將它們替換為這樣的內容:
register_sidebar(array(
'name' => 'ad-area',
'id' => 'ad-area',
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
'after_title' => ''
));
請確保您已將 ad-area 替換為適合您的名稱。此外,您可以指定其他選項,如 before_title 和 after_title。
接下來,在站點管理員中打開 Appearence/Widgets 頁面,並為您的廣告區域配置 Ad Rotator 小工具實例。只需要注意,在 AdRotator 中,廣告是使用換行符 (即每行表示單獨的廣告) 分隔的,但在 Ad Rotator Widget 中,您應該使用 分隔您的塊(因此,每個塊可能包含多行)。)
無論如何,對於混淆,我不想欺騙您。
開發
此外掛的源代碼在 SVN 和 Git 中均可使用:
WordPress SVN 存儲庫
GitHub
隨意檢查它們,進行更改並向我發送補丁。
承諾,我將應用每個補丁(當然,如果它們為產品添加一個值)。 補丁、建議或錯誤報告的電子郵件:[email protected]。
原文外掛簡介
Ad Rotator is a simple WordPress widget to display random HTML code
from a given group of HTML-chunks separated with
on sidebar. Basically it shows different HTML every time you requesting
page. There are infinite number of instances of this widget may exist.
Support
If you have any suggestions, found a bug, or just wanted to say “thank
you”,– feel free to email me [email protected].
Promise, I will answer every email I received.
If you want to contribute your code, see the Development section under
the Other Notes tab.
Migrating from AdRotator plugin
AdRotator
plugin is a simple file-based ad rotation solution. It was developed by
Angsuman Chakraborty long time ago, but occasionally we have the same
plugin names from WordPress’ point of view. If you are using this plugin,
you may click upgrade link from your Plugins page and it being replaced
with Ad Rotator widget.
So now you have two ways to solve the problem 'getad()' function is undefined:
1. you can download AdRotator and ignore upgrade notices, or
2. you can upgrade your theme to use Ad Rotator Widget.
Here is how to upgrade your theme. Find all occurrences of getad function,
and replace them with something like this:
register_sidebar(array(
'name' => 'ad-area',
'id' => 'ad-area',
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
'after_title' => ''
));
Make sure you’ve replaced ad-area with the name suitable for you. Also
you can specify additional options, like before_title and after_title.
Then open the Appearence/Widgets page in Site Admin and configure
Ad Rotator widget instances for your advertisements area. Just take into
account, that in files for AdRotator ads are separated with new line
character (ie each line means separate ad), but in Ad Rotator widget
you should separate you blocks with (so each of them
may contain more then one line.)
Anyways, sorry for сonfusion, I did not want to сheat on you.
Development
Sources of this plugin are available both in SVN and Git:
WordPress SVN repository
GitHub
Feel free to check them out, make your changes and send me patches.
Promise, I will apply every patch (of course, if they add a value to the
product). Email for patches, suggestions, or bug reports:
[email protected].
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Ad Rotator」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.1 | 2.0.0 | 2.0.1 | 2.0.2 | 2.0.3 | trunk |
延伸相關外掛(你可能也想知道)
Ads by datafeedr.com 》WordPress 外掛:廣告插件,可以讓您在您的網誌上新增廣告。您可以透過 shortcode 將廣告新增到文章、頁面或文字小工具中。您也可以透過在主題的樣板檔案中新...。
WP Marktplaats 》這是一款很棒的荷蘭定位外掛程式,能讓你在自己的部落格上顯示你想要銷售的產品,並且放在http://www.marktplaats.nl上!。
Ad Integration 》外掛使用方法, , 在管理後台尋找此外掛, 新增廣告, 編輯廣告, 刪除廣告, 外掛選項設定, , 1 在管理後台尋找此外掛, 此外掛會在管理後台建立「Slayer's Ad Int...。
WordPress Multiple Author Ad management 》此外掛適用於擁有多位作者的部落格,可激勵作者發表優質文章。啟用此外掛後,使用者將可完全控制其文章上方顯示的廣告。作者利用部落格管理員預留的廣告空間...。
Simple Advertising 》透過此外掛,您可以在所有文章的內容中設置一些公告、廣告等等。廣告內容是一個簡單的圖像,帶有連結(必要時帶有 rel=”nofollow” 屬性)。廣告...。
Custom Advertisement Management 》你可以使用短代碼 [CUSTOM_ADVERT ID='{ID}’] 在所需位置展示廣告。這個 ID 是你的廣告圖片 ID。, 例如,如果圖片 ID 是 2,短代碼會像這樣:[CUSTOM_A...。
AutoAds Premiere 》這個外掛能夠讓您快速地在網站上新增 Google Adsense AutoAds。, , 安裝此外掛, 輸入您的 Publisher ID, 選擇要顯示廣告的頁面, 排除您不想看到廣告的使用者...。
WBP Ad Filter Injector 》這個 WordPress 外掛能夠控制你的廣告輪播短代碼自動注入到哪些內容中。, 你可以選擇篇章、頁面或者兩者皆可,也能自己決定從何時開始注入並且使用任何短代碼。。
Roombeats Plugin 》如果你已經擁有 Roombeats 的帳戶 (http://roombeats.com),那麼安裝這個外掛就可以輕鬆地為你的圖片增加所有 Roombeats 的精美效果。, 你可以從你的儀表板 (...。
ADS MANIA 》ADSMANIA 是一個易於使用的廣告外掛,可以幫助你以創意的方式處理廣告,例如在文章內部設置廣告、設置隱藏鏈結強制用戶在瀏覽前進行訪問、強制用戶訪問特定鏈...。
Advert Manage 》WordPress Ad Manager 外掛是一個強大的廣告管理器,可讓您從中央控制面板控制和分發 WordPress 站點上的廣告。, 現在就下載它,或前往文件進行逐步安裝和使...。