這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Lightbox With Ads

描述

Lightbox With Ads is a flexible and responsive lightbox that allows you to present images from post as one gallery in a different url.
You can purchase Premium that allows you to add ads from Google AdSense, or test the feature for free for 14 days.

Instalation

Prerequisites:
You need to have permalinks set to “post name” in Settings -> Permalinks -> Common Settings

  1. Download the plugin to your WordPress site
  2. Install the plugin
  3. Activate the plugin
  4. Customize the interface and appearance in Settings
  5. Paste ad code from Google Adsense (recommended size is 300×300 for mobile and 300×600 for desktop)
    Beacuse direct pasting of scripts is not allowed by WordPress, the pasted code has to be the exact code you copied from your Google AdSense account.

How the code should look
(the element will vary, but it HAS to have “data-ad-client” property, that should have the same ca-pub number as the script above it):

(adsbygoogle = window.adsbygoogle || []).push({});

螢幕截圖

  • Installation 1)
  • Installation 2)
  • Configuration 1)
  • Configuration 2)
  • Inside gallery on mobile (placeholder will be ad if you use premium)
  • Inside gallery on desktop (placeholder will be ad if you use premium)

常見問題

Is Lightbox with ads free?

The whole plugin that you download is free. It also comes with a option to buy Premium, that allows you to add ads to the gallery.
You can test this feature for free for 14 days.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Lightbox With Ads” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Lightbox With Ads 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄