[WordPress] 外掛分享: WP AdPosts by Kader Bouyakoub

前言介紹

  • 這款 WordPress 外掛「WP AdPosts by Kader Bouyakoub」是 2018-03-04 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2018-03-06,距離現在已有 2616 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.2.4 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

bkader |

外掛標籤

ads | banner | widget | WP-AdPosts | WordPress.com |

內容簡介

WP AdPosts 外掛允許你使用代碼或圖片建立廣告,並提供瀏覽和點擊次數計數器,以及位置管理。你甚至可以使用提供的 shortcode 將廣告插入文章和頁面中。

管理廣告

你有兩種建立廣告的方法:

僅上傳特色圖片和提供的廣告連結。
貼上廣告代碼(JavaScript)或完整 HTML 代碼。

注意:如果使用完整 HTML 代碼,最好將廣告連結輸入到「廣告連結」欄位中。

為了在前端顯示廣告,你可以在主題檔案上使用提供的 PHP 函數,像這樣:

這裡的位置代表所建立位置的別名。例如你建立了一個頁首位置,可能有頁首的代稱,所以可以這麼做:

WP AdPosts 在文字 Widget 上啟用了 shortcode,因此您可以使用文字 Widget,在其中使用提供的 shortcode,像這樣:
[wp-adposts location=”header”]

使用位置作為函數的引數或 shortcode 的屬性,將顯示單個隨機挑選的廣告。

從版本 1.3.0 開始,可以通過廣告 ID 顯示特定的廣告,將其傳遞給主題檔案中的 PHP 函數,像這樣:

或像下面的示例一樣用作 shortcode 屬性:
[wp-adposts ad=”123″]

你應該知道的事情:

要按 ID 顯示廣告,請確保將其分配給一個位置,以便使用所選擇的尺寸顯示它。未分配位置的廣告將不會顯示。
首先選擇廣告 ID。因此,如果在 shortcode 中使用這兩個屬性,將使用廣告。如果找不到廣告,即使位置存在且已分配到廣告,也不會顯示任何東西。

管理位置

它們更像是「大小」限制。位置可以具有指定的廣告尺寸,以便將廣告包含在其中。例如,如果一個位置為 728 像素乘以 90 像素(728×90),那麼超出此範圍的任何內容都會被隱藏。

瀏覽和點擊次數計數器

你會看到在廣告管理頁面上的瀏覽和點擊次數計數器。這些對於監視廣告非常有用。

原文外掛簡介

WP AdPosts plugin allows you to create ads using codes or images and provides views and clicks counters, as well as locations management. You can even use the provided shortcode to insert ads into posts and pages.
Manage Ads
You have two ways of creating ads:

By uploading featured images only and provided ads links.
By pasting ads codes (JavaScript) or full HTML.

Note: If you use full HTML, it is better to enter your ads links into the “Ad Link” field.
In order to display an ad on your front-end, you can use the provided php function on your theme’s files like so:
Location here stands for the created location’s slug. So if you created a Header location, it may have the header slug, so you do:

WP AdPosts enabled shortcodes on text widgets, so you can as well use a text widget in which you can use this provided shortcode like so:
[wp-adposts location=”header”]
Using the location, as an argument for the function or an attribute for the shortcode, will display a single randomly picked ad to which it was assigned.
As of version 1.3.0, it is possible to display a specific ad by its ID, passed to the php function in your theme’s files like so:
Or used as shortcode attributes like the example below:
[wp-adposts ad=”123″]
THINGS YOU SHOULD KNOW:

To display an ad by its ID, make sure to assign a location to it in order to display it with the selected dimensions. Ads with no locations assigned will not be displayed.
Priority is to ad ID. So if you use both attributes in the shortcode, the ad will be used. If the ad is not found, even if the location exists and has ads assign to it, nothing will be displayed.

Manage Locations
They are much more like “sizes” limitations. A location can have a specified ads sizes so that ads will be contained in them. For instance, if a location has 728 pixles by 90 pixels (728×90), anything that is beyond that is simply hidden.
Views and Clicks Counters
You will see on ads management page views and clicks counters. These are useful to keep an eye on your ads.

各版本下載點

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

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


最新版本

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

  • Widgets for Google Reviews 》onal version of our review software, you can:, , , Display unlimited Google Reviews, Customize widget design and behavior, Respond to reviews direc...。
  • Blocksy Companion 》Blocksy Companion 是一個外掛,將 Blocksy 主題轉化為強大的瑞士軍刀工具。, 只有在安裝並啟用 Blocksy 主題時,它才會運行並添加增強功能。, 最小需求, , W...。
  • Black Studio TinyMCE Widget 》此外掛添加了一個新的 Visual Editor 小工具類型,讓您能夠在側邊欄中輕鬆地插入豐富的文字和媒體對象。使用 Black Studio TinyMCE Widget 時,您將能夠使用W...。
  • Widget Importer & Exporter 》Widget Importer & Exporter 是一個有用的外掛,可將小工具從一個WordPress站點移動到另一個站點,備份小工具,並供主題開發人員為用戶提供範例小工具。...。
  • Orbit Fox by ThemeIsle 》透過Orbit Fox,您可以使用各種模組擴充您的主題功能,例如社交媒體分享按鈕和圖示、自訂選單圖示、頁首和頁尾腳本、一鍵導入頁面模板、頁面建構器附加元件和...。
  • Recent Posts Widget With Thumbnails 》列出最新的文章標題、縮略圖、摘要、作者、類別、日期等等!, 雖然此外掛僅建立在小工具區域,但使用者報告說它在 Elementor 和 Oxygen 上運作順暢。但它是否...。
  • WordPress Popular Posts 》WordPress Popular Posts 是一個高度可定製的小工具,可以顯示您最受歡迎的文章。, 主要特點, , 多小工具功能 – 您可以在您的博客上擁有多個 WordPress...。
  • Widget Logic 》此外掛可在每個小工具中新增一個名為 "Widget logic" 的額外控制欄,讓您控制這個小工具會出現在哪些頁面上。文字欄位允許您使用 WP 的Conditional Tags或任...。
  • Social Media Share Buttons & Social Sharing Icons 》在你的免費測試網站上試試看:點擊此處 => https://tastewp.com/plugins/ultimate-social-media-icons, (這個技巧適用於所有外掛 – 只需在外掛的 WP 存儲庫 ...。
  • Fixed Widget and Sticky Elements for WordPress 》使用 Fixed Widget 外掛可以創建黏貼式的小部件、區塊和其他元素,當用戶向上或向下滾動頁面時,它們會保持在可見的屏幕區域內。, 相較於非固定小工具,黏貼...。
  • PHP Code Widget 》普通的文字小工具允許您插入任意文字和/或 HTML 代碼。這個外掛程式也允許這樣做,但還會解析文本小工具中的任何 PHP 代碼並執行它。, 這可以讓您更輕鬆地遷...。
  • Image Widget 》Image Widget 是一個簡單的外掛程式,利用 WordPress 原生媒體管理員,為您的網站新增圖片小工具。, 需要新增幻燈片、燈箱或隨機圖像嗎?, 請查看 Image Widg...。
  • Custom Sidebars – Dynamic Sidebar Classic Widget Area Manager 》使用 Custom Sidebars,一個靈活的小工具管理器,在您的網站上管理和替換側邊欄和其他小工具區。, 製作自訂側邊欄配置,能夠選擇在您網站的每個頁面或文章上...。
  • Recent Posts Widget Extended 》外掛描述, 此外掛可以啟用自定義、靈活且進階的最新文章功能,您可以透過簡碼或小工具來顯示它。您可以顯示具有縮略圖、摘要和發佈日期的最新文章清單,並且...。
  • Widget Shortcode 》這個短碼需要小工具的ID,但不需要猜測,外掛會為你生成代碼。如果你想要覆蓋小工具的標題,你可以使用 "title" 參數:, [widget id=”text-1″...。

文章
Filter
Apply Filters
Mastodon