WordPress.org

Plugin Directory

Content Warning

A plugin that provides a warning box with a ton more options, now compatible with YOOthemes and Genesis.

This plugin is tested and proven to work with WordPress 3.4

Why is xxx disabled?

By default if you elect to have per-page/post overrides set to NO, this disables the "Page" selection for enter/exit options. This is to prevent you from accidentally redirecting a user to another protected page.

How do I resize the pop-up?

This has been covered in this post: resize-post

The plugin isn't working.

This is a very common question, and here is a list of possible solutions. Firstly you should note that I have tested this plugin with both a vanilla install of WordPress 3.3 and an upgraded version, but if for some reason it's still not working for you, here's a list of possible troubleshooting procedures you should follow. 1. Make sure you're logged out, if you're an admin or editor, the plugin is designed to be disabled if you are logged in.

I'm logged out, but it's still not working.

At this point you can just follow the common troubleshooting procedures.

  1. Disable all plugins except Content Warning.

  2. Verify, via the theme editor, that your header file (header.php) uses the wp_header() function directly before the closing head tag.

  3. Verify, yet again via the theme editor, that your footer file (footer.php) uses the wp_footer() function directly before the closing body tag.

I've done everything but I still can't get this to work

At this point I've covered all I know, but there is still one more thing you can do to see what's not happening and why. One issue I've found is that some plugins use their own jQuery library, and this seems to cause an issue. Now why plugin creators utilize their own jQuery library is beyond me considering the fact that WordPress provides a link to the built in jQuery library. Unfortunately I cannot fix this, nor will I ever. I use my own namespaces for my functions to prevent compatability issues such as this, but this does happen once in a million.

A note to fellow geeks

If you happen to follow these steps and find out a plugin that is incompatible to mine, please inform me via a message or email. You can view my website and send me the email at plugish.com or you can simply start a thread. I would like to get a catalog of incompatabilities for the general public if I can, so if you guys can help me I would be grateful.

Flash Conflict With Thickbox

This has attempted to be fixed. If you find a bug please let me know.

How to edit Colours,Styles & sizes?

You will have to open the CSS file and Edit to change Colours, Sizes and Styles. Open content-warning-v2/assets/wpcw.css to Make changes. I may make a small change in the future to allow colors/styles to be selected from the Administrator menu.

What's up with the .dev.js files?

These are un-obfusicated and decrypted files, these should no be left on your server and are only for your editing benifit. They are not included or used in any way, and once edited you should paste the contents into their respective non-dev files.

Why do the js files look so jumbled?

This is a theft/hacker deterrent, while not 100% effective, it will still run most off.

Requires: 3.3.1 or higher
Compatible up to: 3.4.2
Last Updated: 2012-7-30
Downloads: 16,355

Ratings

4 stars
4.3 out of 5 stars

Support

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

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
1 person says it's broken.

100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 80,5,4
100,2,2
100,2,2 100,1,1 67,3,2 100,2,2 100,1,1 0,1,0 50,2,1 100,1,1
100,1,1 100,1,1
50,4,2 100,2,2
100,1,1
100,2,2
50,2,1