EMC2 Popup Disclaimer places a specified post into a lightbox and adds buttons so that your visitors must click through to agree to your terms!
| Author: | Eric McNiece (profile at wordpress.org) |
| WordPress version required: | 3.0.0 |
| WordPress version tested: | 3.3.2 |
| Plugin version: | 1.2.1 |
| Added to WordPress repository: | 17-05-2012 |
| Last updated: | 25-05-2012
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, %: | 86 |
| Rated by: | 18 |
| Plugin URI: | http://emc2innovation.com/ |
| Total downloads: | 9 667 |
| Active installs: | 80+ |
![]() Click to start download |
|
EMC2 Popup Disclaimer uses Fancybox (http://fancybox.net) to display the popup, and jQuery-cookie (https://github.com/carhartl/jquery-cookie) to detect user session. Creates a cookie named "emc2pdc" that can be viewed with regular developer tools.
Easy to use! By default the script is added to the wp_footer action and will work quietly. You can also force the display on pages via shortcode or function call:
Shortcode: [emc2pdc id="42"]
-or-
Function: <?php emc2pdc_force( $atts=array(), $force=NULL, $id=NULL ); ?>
Check the demo at http://popup.emc2innovation.com !
To Do list:
- Add No-JS fallback support
- Create a selection of button themes
- Add support for different lightbox types
- Improve handling, add PHP cookie support
Known bugs:
- Recursive post shortcode call results in chaos
