Title: Collapse Function + Button Help
Last modified: May 28, 2020

---

# Collapse Function + Button Help

 *  Resolved [deewinc](https://wordpress.org/support/users/deewinc/)
 * (@deewinc)
 * [6 years ago](https://wordpress.org/support/topic/collapse-function-button-help/)
 * Hello,
 * I like the way the plugin is able to collapse text content on a post/page. However,
   when you load the page, the content of the page expands before collapsing. Is
   there a way of loading the page with the content already collapsed?
 * Also, how can I create buttons for expanding and collapsing?

Viewing 1 replies (of 1 total)

 *  Plugin Author [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [6 years ago](https://wordpress.org/support/topic/collapse-function-button-help/#post-12905340)
 * yes, you can add the maptastic class to the targets using the targclass.
 *     ```
       [expand title="Trigger Text" targclass="maptastic"]Hidden Content[/expand]
       ```
   
 * Buttons:
    [https://spacedonkey.de/886/collapse-o-matic-button-test/](https://spacedonkey.de/886/collapse-o-matic-button-test/)

Viewing 1 replies (of 1 total)

The topic ‘Collapse Function + Button Help’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jquery-collapse-o-matic_fffeff.svg)
 * [Collapse-O-Matic](https://wordpress.org/plugins/jquery-collapse-o-matic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jquery-collapse-o-matic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jquery-collapse-o-matic/)
 * [Active Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jquery-collapse-o-matic/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/collapse-function-button-help/#post-12905340)
 * Status: resolved