Add a simple and elegant banner that will display to visitors who have ad blocking software installed, advising them to white list your site.
Author: | Pat O'Brien (profile at wordpress.org) |
WordPress version required: | 2.8 |
WordPress version tested: | 4.9.1 |
Plugin version: | 2.0 |
Added to WordPress repository: | 10-11-2015 |
Last updated: | 20-12-2017
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 90 |
Rated by: | 15 |
Plugin URI: | https://obrienlabs.net |
Total downloads: | 11 884 |
Active installs: | 200+ |
Click to start download
|
Screenshots
Ad Blocking Advisor notification banner on a sample main page.
Ad Blocking Advisor settings.
FAQ
Installation Instructions
Install
Installing Ad Blocking Advisor can be done from inside your WordPress admin panel by going to Plugins > Add New and searching for “Ad Blocking Advisor”.
- You can also manually install it by downloading the plugin from wordpress.org/plugins
- Upload the entire
ad-blocking-advisor
folder to the /wp-content/plugins/
directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Customize the plugin from the menu by selecting Settings > Ad Blocking Advisor Settings.
Uninstall
- Deactivate the plugin from the Plugins menu
- Select “Ad Blocking Advisor” from the list and select “Delete”
- This will delete all files from the server and all settings from the WordPress database.
How do I change the message, font size, font color or background color on the notification?
It’s easy. Just go into the plugin settings. Most of the settings are there for you to customize.
Can I add my own custom CSS?
Sure can! Just add your CSS changes to your theme’s CSS file, this way it doesn’t get overwritten on plugin upgrades.
ChangeLog
2.0
- Changed the way ad blockers are detected by using an external JS file instead of the 1px image. In testing and beta this has shown to be a more effective way to catch those who are using ad blockers.
1.4
- I’ve removed the timer function in 1.3 because I’ve changed the ad block detection method. The new method runs after all page elements, content and images are done loading. This makes the timer function not necessary. Feedback is welcomed though! The preferred method to leave feedback is on the plugin homepage at https://obrienlabs.net/ad-blocking-advisor-a-wordpress-plugin/
1.3
- Adds the ability to enable/disable/change the delay in seconds on running the ad blocking detection. This is useful in two ways.
- 1) some browsers run the ad blocking detection test before all images have been loaded, which means the detection method isn’t running accurately.
- 2) Some users are seeing the banner even though they don’t have ad block software enabled.
- Again it seems as though this is because of images and their loading times compared to the detection test being executed.
- The potential fix: Having a delay will wait for the browsers to finish loading images, then run our detection method.
- Note: If you enable the timer delay, it is up to the site owner to find the best delay time that works for their website so that the users can see the banner.
1.2
- Added the ability to show or hide the banner for logged in users.
1.1
- Ok, so I thought WordPress would keep frontend_custom.css in your plugin folder, even after plugin upgrades. Allowing you to keep custom CSS through upgrades. I was wrong. On every plugin upgrade WordPress deletes this file. So 1.1 removes the frontend_custom.css. I suggest adding your custom CSS for Ad Blocking Advisor to your theme’s CSS file instead. Sorry about that!
1.0.7
- Fixed a bug with trying to load frontend_custom.css if it didn’t exist, resulting in a 404 error
1.0.6
- Updated a typo in the plugin version check
1.0.5
- POTENTIAL BREAKING CHANGES IN THIS UPGRADE: Due to some ad blockers blocking the Ad Blocking Advisor banner, some CSS name changes had to be made. If you created custom CSS for the plugin, you will need to update any custom CSS to reflect these new CSS class names
- ad-blocking-advisor-wrapper renamed to special-message-wrapper
- aba-content renamed to special-message-content
- aba-left renamed to special-message-left
- aba-right renamed to special-message-right
- New option to enable or disable the X icon which allows visitors the ability to dismiss the banner
- Updated some default CSS options. To override, please see the FAQ on creating frontend_custom.css
1.0.4
- Fixed a typo for the General Settings function
1.0.3
- Added ability the disable the notification bar without disabling the plugin
1.0.2
- Forgot to include the text domain path in the plugin.
1.0.1
- Added internationalization options for the text fields. Interested in translating this plugin? Let me know!
1.0