03e874f571b6873412f2bae7bb72ebaa6474ace1
Content Warning v3
A plugin that provides a warning box with a ton more options completely re-written from the ground up.
Report an issue | Make a pull request
- Complete core rewrite, I threw everything out the window and wrote this from scratch.
- Some new options as requested FREQUENTLY
- You just need to check this out, you really do...
- Page Caching now supported
Check the Youtube Video | Download from Official Wordpress.org
NOTE:
If the exit link is left empty, users will be redirected to google.
Installation
Easy Method
- Download the zip file.
- Login to your
Dashboard
- Open your plugins bar and click
Add New
- Click the
upload tab
- Choose
content-warning-v2
from your downloads folder - Click
Install Now
- All done, now just activate the plugin
- Go to CWv3 menu and configure
- Save, and you're all good.
Old Method
- Upload
content-warning-v2
to the/wp-content/plugins/
directory - Activate the plugin through the 'Plugins' menu in WordPress
Frequently Asked Questions
This plugin is tested and proven to work with WordPress 3.4
The plugin is broken, fix it.
Please do not contact me with questions like this. If you cannot be descriptive with your problem I cannot help you.
I'm still seeing the dialog even after I clicked enter/exit
- If your browser does not have cookies enabled, the plugin will not store your response.
- Also, if you're using google chrome, this is a bug that unfortunately I have been unable to squash. Hitting F5 or refresh will fix it.
TODO
- Update Admin post column to properly reflect if the post is protected or not when in a category.
- Localization #10
- Make use of jquery.cookie #11
- Include API / Template Tags #12
- Document API / Template Tags #13
- Custom popup, remove colorbox dependency #14
Changelog
3.6.4
- Fixed denial redirects. Issue #28
- Passified all PHPcs complaints
3.6.3
- Category fix, fixes #18
- Alphabetize method names, because why not!?
- Few docblock changes
3.6.2
- Dialog re-sizing fixes.
3.6.1
- Cookie HOTFIX
3.6.0
- Split methods and hooks from main class file, will prevent overhead, also separates admin from front-end.
- Moved to use of cookie.js
- Created API file for methods.
- New filters & actions for developers
- Began development of API file, currently only support JS outputs.
- NEW Filters for content outputs, see
inc/api.php
more to come. - Switched CSS priority, to allow custom css to override bg image and opacity
- Converted sass file to nested sass and uses classes instead of IDs
- stacyk - Made buttons visible on popup at all times.
- stacyk - CSS Fixes for new popup.
- New Popup coding, dropped colorbox in favor of my own popup code. ( Less bloat )
- BIG THANKS to Stacy for helping me with some initial CSS issues.
3.5.5
- jgraup - Fixed Menu Positioning
- BUGFIX - Fixed Enter/Exit URLs not being respected.
- Sniffed and updated core code to match WordPress rules and coding standards
- Removed a couple methods in favor of built-in WordPress methods.
- Modified dialog output code and escaped its output accordingly.
3.5.4
- jgraup - Fixed indexing errors issue #6
- Output custom css, for some reason I forgot fixes issue #3
- Stopped using javascript:; for buttons, in some browsers that just didn't work well fixes issue #2 and #1
- Versioning update to WP 4.0, and tested.
3.5.3
- HOTFIX - Fixes cookie logic
3.5.2
- More PHP Cleanup to WP Standards
- Updated Colorbox to v1.5.10 Github Changelog
- Fixed Colorbox popup to show like it is supposed to, broke it in 3.5.1, sorry!
- Updated JW Simple Options framework to latest.
- Updated stable tag to latest WP Version
- Updated tested tag to latest WP Version
- More little things I can't remember.
3.5.1
- PHP Cleanup
- Setup GRUNT for sass, jshint, and a few others
- Fixed Short tags, users should no longer have issues with activating the plugin.
- Other fixes I can't remember.
3.48
- Fixed IE Bug by removing debug function in javascript.
Description
Languages
JavaScript
84.3%
PHP
7.5%
CSS
6.6%
SCSS
1.6%