该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.

评价

此插件暂无评价。

贡献者及开发者

“Lightbox With Ads” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Lightbox With Ads”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志