Title: HTML inside
Last modified: March 13, 2019

---

# HTML inside

 *  Resolved [thomaskarl](https://wordpress.org/support/users/thomaskarl/)
 * (@thomaskarl)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/html-inside/)
 * Hi, I doesn’t seem to find any info about this.
    How can insert plain old HTML
   inside the ‘hidden’ content? Great plugin btw:-) Keep up the good work!
 * I have tried this:
 *     ```
       [expand title="Read more" trigclass="noarrow"]
       <h1>XYZ</h1>
       [/expand]
       ```
   
 * and this
 *     ```
       [expand title="Read more" trigclass="noarrow"]
       %(%h1%)%XYZ%(%/h1%)%
       [/expand]
       ```
   
 * without any luck…

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/html-inside/#post-11308291)
 * the correct way to do this would be the first example:
 *     ```
       [expand title="Read more" trigclass="noarrow"]
       <h1>XYZ</h1>
       [/expand]
       ```
   
 * However, much would depend on where you are adding the shortcode and how.
    Are
   you using a visual page creator? Gutenberg blocks? WordPress Classic Editor? 
   Are you adding your HTML in an HTML element? In visual or Text mode?
 * Are you able to enter in HTML at all, even without using the expand shortcode?
 *  Thread Starter [thomaskarl](https://wordpress.org/support/users/thomaskarl/)
 * (@thomaskarl)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/html-inside/#post-11308345)
 * Ok, I see! Thanks for the fast answer.
    I tried first using a page builder, didn’t
   work. Then I tried in the Classic editor, it is working! I then tried in Gutenberg,
   it is working but did get some strange formating error, but the front end is 
   working. Thanks again!
 *  Plugin Author [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/html-inside/#post-11308593)
 * we’ll have to look into adding a more Gutenberg block-friendly version.. but 
   glad you got it working!
    All the best.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘HTML inside’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/html-inside/#post-11308593)
 * Status: resolved