Spoiler

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #153692
    PartisanZ
    Participant

    This was  asked about the spoiler function in the ‘Edit’ bar above. I have moved my reply into this forum and update it to make some sense. Thus,

    (btw, i note the addition of comment aids but what is

    [spoiler title=”Spoiler”]

    experimented with it

    [/spoiler]

    It is for text you want to hide or ‘spoil’. But access via a clickable link.I wouldn’t use it. It is just a bundled part of the plugin and I don’t think it is fully functional with our package..

    More info here > https://wordpress.org/plugins/spoiler-block/

    There is another way. With what is called ‘Collapsible Content (accordion effect)’. Use the details tag inside the usual<.

    then summary inside <.

    remember to close it with >.

    Here’s an example of how to use the <details> element:

    <details> 
       <summary>What can you use WordPress.com for?</summary> 
           - To blog! 
           - To showcase my professional work.
           - To create an online presence for my business. 
    </details>
    

    And here’s what the above will look like:

     

     

    What can you use WordPress.com for?

     

     

     

     

     

    • This topic was modified 6 years, 2 months ago by PartisanZ.
    • This topic was modified 6 years, 2 months ago by PartisanZ.
    • This topic was modified 6 years, 2 months ago by PartisanZ.
    • This topic was modified 6 years, 2 months ago by PartisanZ.
    • This topic was modified 6 years, 2 months ago by PartisanZ.
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.