Skip to content

Using Content Reveal

David Artiss edited this page Nov 14, 2017 · 1 revision

If you also have the plugin Content Reveal installed, then each section of the README will be collapsable - that is, you can click on the section heading to hide the section content.

By default, all sections of the output will be revealed.

You may now use 3 further parameters when using the [readme] shortcode...

hide

Use this parameter to hide sections automatically - simply click on them to reveal them again.

For example...

[readme hide="Changelog"]WP README Parser[/readme]

scr_url

If you wish to supply your own hide/reveal images then you can specify your own folder here.

The two images (one for when the content is hidden, another for when it's shown) must be named image1 and image2. They can either by GIF or PNG images (see the next parameter).

For example...

[readme scr_url="https://artiss.blog”]WP README Parser[/readme]

scr_ext

Use this specify whether you wish to use PNG or GIF images for your own hide/reveal images. If you do not specify it, GIF will be used.

For example...

[readme scr_url="https://artiss.blog" scr_ext="png"]WP README Parser[/readme]

Clone this wiki locally