Plugin Directory

Changeset 2504695


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

update readme

Location:
showhide-shortcode
Files:
2 edited

Legend:

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

    r2504694 r2504695  
    2121Use the block editor two blocks:
    2222
    23 ``[showhide]``
     23``[showhide]
    2424
    2525and
    2626
    27 ``[/showhide]``
     27``[/showhide]
    2828
    2929Everything in between will be hidden and a link "Show more..." is displayed. When clicked, the hidden content is revealed.
     
    3333Yes, the [showhide] shortcode accepts the argument `show_caption`:
    3434
    35 ``
    36 [showhide show_caption="Do you want to know more?"]
    37 Your Content
    38 [/showhide]
    39 ``
     35``[showhide show_caption="Do you want to know more?"]
     36``Your Content
     37``[/showhide]
    4038
    4139Similarly, use the `hide_caption` attribute to change the "Show less..." default caption.
  • showhide-shortcode/trunk/readme.txt

    r2504693 r2504695  
    2121Use the block editor two blocks:
    2222
    23 ``[showhide]``
     23``[showhide]
    2424
    2525and
    2626
    27 ``[/showhide]``
     27``[/showhide]
    2828
    2929Everything in between will be hidden and a link "Show more..." is displayed. When clicked, the hidden content is revealed.
     
    3333Yes, the [showhide] shortcode accepts the argument `show_caption`:
    3434
    35 ``
    36 [showhide show_caption="Do you want to know more?"]
    37 Your Content
    38 [/showhide]
    39 ``
     35``[showhide show_caption="Do you want to know more?"]
     36``Your Content
     37``[/showhide]
    4038
    4139Similarly, use the `hide_caption` attribute to change the "Show less..." default caption.
Note: See TracChangeset for help on using the changeset viewer.