Title: including whole html code block
Last modified: March 28, 2020

---

# including whole html code block

 *  Resolved [Andrew](https://wordpress.org/support/users/norcaldesigner/)
 * (@norcaldesigner)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/including-whole-html-code-block/)
 * Hi my site [https://thelighthouselounge.com/](https://thelighthouselounge.com/)
   has a content titled “Welcome to my site” above the sidebar content. I would 
   like to make this welcome area collapsible to save space. I am currently trying
   to make it work using do_shortcode(“[expand]”); function, but it doesn’t wrap
   completely around the whole content just puts the arrow in. The area is not a
   widget if that helps. Any help and tips would be great.
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fincluding-whole-html-code-block%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [Andrew](https://wordpress.org/support/users/norcaldesigner/)
 * (@norcaldesigner)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/including-whole-html-code-block/#post-12599373)
 * After diving into the documentation a bit more, I found out how to do it. I needed
   to apply the “Roll Your Own Collapse Elements” instructions to my HTML elements.
   Thanks for making the plugin!

Viewing 1 replies (of 1 total)

The topic ‘including whole html code block’ 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/)

## Tags

 * [html block](https://wordpress.org/support/topic-tag/html-block/)

 * 1 reply
 * 1 participant
 * Last reply from: [Andrew](https://wordpress.org/support/users/norcaldesigner/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/including-whole-html-code-block/#post-12599373)
 * Status: resolved