Plugin Directory

Changeset 2504694


Ignore:
Timestamp:
03/28/2021 10:18:43 AM (5 years ago)
Author:
larsborn
Message:

update readme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • showhide-shortcode/tags/1.0.0/readme.txt

    r2504692 r2504694  
    2121Use the block editor two blocks:
    2222
    23 ```
    24 [showhide]
    25 ```
     23``[showhide]``
    2624
    2725and
    2826
    29 ```
    30 [/showhide]
    31 ```
     27``[/showhide]``
    3228
    3329Everything in between will be hidden and a link "Show more..." is displayed. When clicked, the hidden content is revealed.
     
    3733Yes, the [showhide] shortcode accepts the argument `show_caption`:
    3834
    39 ```
     35``
    4036[showhide show_caption="Do you want to know more?"]
    4137Your Content
    4238[/showhide]
    43 ```
     39``
    4440
    4541Similarly, use the `hide_caption` attribute to change the "Show less..." default caption.
Note: See TracChangeset for help on using the changeset viewer.