This plugin is outdated and might not be supported anymore
Lightbox With Ads

Lightbox With Ads

Details
View on WordPress

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({});

Details

Plugin code:
lightbox-with-ads
Plugin version:
1.0
Outdated:
Yes
WP version:
5.5 or higher
PHP version:
or higher
Test up to WP version:
6.1.7
Total installations:
0
Last updated:
2023-01-09
Rating:
Times rated:
0
ad
ads
gallery
images
lightbox