[WordPress] 外掛分享: Ads by datafeedr.com

前言介紹

  • 這款 WordPress 外掛「Ads by datafeedr.com」是 2013-03-16 上架。 目前已經下架不再更新,不建議安裝使用。
  • 目前有 5000 個安裝啟用數。
  • 上一次更新是 2023-11-07,距離現在已有 544 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.5 以上版本才可以安裝。
  • 有 32 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

datafeedrcom |

外掛標籤

ads | datafeedr | random ads | rotating ads | advertisements |

內容簡介

WordPress 外掛:廣告插件,可以讓您在您的網誌上新增廣告。您可以透過 shortcode 將廣告新增到文章、頁面或文字小工具中。您也可以透過在主題的樣板檔案中新增功能,將廣告新增到您的網站上。

您可以完全控制顯示幾個廣告以及它們的排序方式。

簡易使用方式(Shortcode)
[dfads params='']

簡易使用方式(PHP)

進階使用方式(Shortcode)
[dfads params='groups=3&limit=2']

進階使用方式(PHP)

其他功能

Impression Limit 設置 – 設定廣告顯示幾次後從顯示中移除。
開始日期設置 – 設定廣告顯示的開始日期。
結束日期設置 – 設定廣告顯示的結束日期。
Shortcode – 使用 [dfads] shortcode 可將廣告新增到文章、頁面或文字小工具中。
PHP 函式 – 在您的樣板檔案中使用 dfads() 函式嵌入廣告。
支援快取 – 即使您已啟用快取外掛,印象仍會計算,並且廣告會按隨機順序顯示。(注意:若您的網站訪客在他們的瀏覽器中停用 JavaScript,此功能將不起作用。)
支援所有廣告類型 – 新增 Google Adsense、橫幅、圖片、文字、內部廣告、影片等。如果您可以在文章中新增它,您就可以將它作為廣告新增。
廣告群組 – 設置「廣告群組」來在不同的位置顯示不同的廣告群組。(例如:側邊欄、頁底、橫幅、150×150 等)
管理員無印象計數 – 啟用或停用在管理員模式下查看站點時的印象計數。

教學影片

請在此觀看完整教學影片播放清單.

新增一則廣告並在小工具中顯示一組廣告

使用 shortcode 在文章中顯示一組廣告

使用 PHP 函式在文章內容上方顯示一組廣告

配置廣告以進行印象計數和隨機排序,即使在使用快取外掛時也可以

文件大部分 shortcode 或函數的參數

原文外掛簡介

The Ads plugin allows you to add advertisements to your blog. You can add advertisements to your posts, pages or Text Widgets via the shortcode. You can also add ads to your site by adding a function to your theme’s template files.
You have full control over how many ads get displayed as well as their sort order.
Important
As of version 1.2.0, all custom callback functions (ie. callback_function) need to be returned by the dfads_allowed_callback_functions() function. To do this, add your allowed custom callback functions like this:
`

add_filter( ‘dfads_allowed_callback_functions’, function ( array $functions ) {
$functions[] = ‘my_first_custom_callback_function’;
$functions[] = ‘my_second_custom_callback_function’;
return $functions;

} );
`

Simple Usage (Shortcode)
[dfads params='']

Simple Usage (PHP)

Advanced Usage (Shortcode)
[dfads params='groups=3&limit=2']

Advanced Usage (PHP)

Additional Features

Set impression limit – Set how many times ad should appear before being removed from display.
Set start date – Set the date the ad should not appear before.
Set end date – Set the date the ad should not appear after.
Shortcode – Add ads to posts, pages or Text Widget using the [dfads] shortcode.
PHP Function – Embed ads in your template files with dfads() function.
Supports caching – Impressions are counted and ads are ordered displayed randomly even if you have enabled a caching plugin. (Note: Doesn’t work if your site’s visitor has JavaScript disabled in their browser.)
Supports All Types of Ads – Add Google Adsense, banners, images, text, in-house ads, videos, etc… If you can add it to a Post, you can add it as an ad.
Ad Groups – Set up ‘ad groups’ to display different groups of ads in different places. (Example: sidebar, footer, leaderboard, 150×150, etc…)
No Impression Count for Admins – Enable or disable impression counting when viewing the site as an Administrator.

Video Tutorials
View the full video tutorial playlist here.
Create a new ad and display a group of ads in a widget

Display a group of ads in a post using the shortcode

Display a group of ads above a post’s content using the PHP function

Configure your ads to count impressions and order randomly even when using a caching plugin

Documents most of the parameters of a shortcode or function

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Ads by datafeedr.com」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 1.0.5 | 1.0.6 | 1.0.7 | 1.0.8 | 1.0.9 | 1.1.0 | 1.1.1 | 1.1.2 | 1.1.3 | 1.2.0 | trunk | 1.0.10 | 1.0.11 | 1.0.12 | 1.0.13 | 1.0.14 | 1.0.15 | 1.0.16 |

延伸相關外掛(你可能也想知道)

  • Quick Adsense 》Quick Adsense 是一款廣告管理的 WordPress 外掛程式,提供了更快速、更靈活的方式來將 Adsense 或任何廣告代碼插入部落格文章中。此外,它可以在文章任意地...。
  • Quick Adsense cn 》這是一款不錯的廣告位管理外掛程式,您可以輕鬆地添加、刪除和管理您的網誌廣告。此外,Joychao 做了漢化的工作。, 您如有任何問題,歡迎聯繫:, QQ: 4429463...。
  • RandomAd 》1.0.0, , 2018年2月10日,首次發布, 。

文章
Filter
Apply Filters
Mastodon