• Resolved nicolaslienhard

    (@nicolaslienhard)


    Hello
    I like one of the Spoilers already open when the user gets to the page. example: spoiler 1 + 2 contain contact data and imprint. spoiler 3 a collection of posts with images and so on. I’d like spoiler 3 to be already open, so the page is more lively.
    is this possible?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter nicolaslienhard

    (@nicolaslienhard)

    The question still isn’t answered. does somebody know a solution?

    Plugin Author Webliberty

    (@webliberty)

    Hi! This function is not provided in the plugin.
    If you really want to change this, then open the file for editing:

    /wp-content/plugins/simple-spoiler/js/simple-spoiler.min.js

    Find in the file:
    .hide()

    and replace it with:
    .show()

    Then open the file for editing:

    /wp-content/plugins/simple-spoiler/simple-spoiler.php

    Find in the file in line 103:
    <div class="spoiler-head folded">'.$sp_name.'</div>

    and replace it with:
    <div class="spoiler-head unfolded">'.$sp_name.'</div>

    Please note that when updating the plugin, all changes will disappear.

    Thread Starter nicolaslienhard

    (@nicolaslienhard)

    Hey great thank you! great plugin!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘open by default’ is closed to new replies.