Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Content Reveal

Content Reveal allows you to easily hide and reveal WordPress content, whether it's in the sidebar or in a post or page.

I can't get a shortcode within the Content Reveal shortcode to work

Sorry, shortcodes within the hide/show text cannot be processed.

The output doesn't validate correctly

This will probably be if you are generating your output using the shortcode.

Usually, JavaScript generating HTML will cause errors, so you can use CDATA instead to suppress this. However, WordPress (for fuzzy reasons) modifies the CDATA command so that it no longer works.

However, this is under investigation and, it is hoped, will be fixed in WordPress in the future. When this happens I'll be able to update this plugin to use CDATA and to play nicely with validators.

The links to click on are appearing but clicking on them doesn't do anything

Check in your Writing settings in Administration that you don't have "WordPress should correct invalidly nested XHTML automatically" ticked, otherwise WordPress may incorrectly attempt to "fix" the output of the plugin.

How can I get all the content to display so that it can be printed?

Using the URL parameter acr_state you can re-display your page with all content hidden, revealed or with the plugin switched off. See Other Notes for further details.

How do I add quotes to the heading?

Because quotes (single or double) are used to specify the shortcode parameter - in this case the heading - you can't then use them use them for the heading text. Well, you can - whichever one you use for your shortcode parameter, you can use the other within your heading. So, this is fine...

[reveal heading="<h2>%image% Some 'Blah' Content Below</h2>" id="id1"]Blah, blah, blah content here[reveal]

As is this...

[reveal heading='<h2>%image% Some "Blah" Content Below</h2>' id="id1"]Blah, blah, blah content here[reveal]

Alternatively, particularly if you want to use both quote types within your heading, you can use ASCII instead. For example...

[reveal heading="<h2>%image% \x27Single quotes\x27 \x22double quotes\x22</h2>" id="id1"]Blah, blah, blah content here[reveal]

See a full list of available ASCII codes.

Requires: 3.3 or higher
Compatible up to: 4.7.1
Last Updated: 1 month ago
Active Installs: 1,000+


4 out of 5 stars


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

Got something to say? Need help?


Not enough data

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

0,1,0 100,1,1
100,2,2 100,1,1 100,1,1