Plugin Directory

Ad Blocking Detector

Tired of missed opportunities because of pesky ad blocker browser extensions, add-ons, and plugins? Fight back with Ad Blocking Detector today!

How can I use a shortcode in sidebar widget?

You have two options. The first and simplest is to use the built-in sidebar widget. Simply edit your widgets, and add the Ad Blocking Detector widget.

However, if you would prefer greater flexibility, you can copy and paste your desired shortcode into a Text widget added to your sidebar.

Note: By default, WordPress does not parse shortcodes in text widgets. You must enable that functionality manually. You can find instructions from the folks at WPBeginner.com here.

The short version is you must add the following code to your theme's functions.php file:

add_filter('widget_text', 'do_shortcode');

How does this plugin treat visitors with JavaScript disabled?

At this time, this plugin does not treat disabled JavaScript as an ad blocker. If the visitor has JavaScript disabled, the plugin displays the content used for normal visitors with no ad blockers.

Does this plugin prevent visitors with an ad blocker from visiting my site or in any other way obscure the content?

It was not designed to do so, but it is possible to replicate that behavior in an indirect way. This plugin's purpose is to simply places alternative content in the space the ad would have displayed.

If you want more information on how to replicate the obscuring of content, check out this blog post on the plugin's website: http://adblockingdetector.jtmorris.net/unleash-your-inner-geek-with-javascript/

Why doesn't this plugin detect the _______________ ad blocker?

Not all ad blockers operate the same way. This plugin was tested with the most common ad blockers, but it is possible I missed one. If you find an ad blocker this plugin doesnt detect, contact me and let me know the ad blocker, web browser, and operating system you are using. I will then investigate detecting it.

Can this plugin integrate with other ad management plugins?

This plugin recognizes shortcodes from other sources. Some ad management plugins, like the popular Ad Rotate plugin, use shortcodes to output their ads. You can use the shortcode generated by other plugins inside Ad Block Detector, allowing you to display ads from ad management plugins while harnessing the power of ad block detection. You can find more information at the plugin website.

Why are certain items, like screenshots and banners, missing from the WordPress plugin repository page for this plugin?

Most likely because you are using an ad blocker right now. Sadly, because of the name of this plugin, ad blockers flag the banner and screenshots as an ad and remove them. Imagine my chagrin when I found out my ad blocking detector plugin has elements on its page blocked by ad blockers. Unfortunately, I can't fix this without renaming the plugin and creating a whole new plugin listing. If you want to see the screenshots and banner, disable your ad blocker on this page.

Requires: 3.9 or higher
Compatible up to: 4.1.3
Last Updated: 2015-1-17
Active Installs: 800+


4.9 out of 5 stars


1 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1