Title: Nesting Shortcodes
Last modified: August 20, 2016

---

# Nesting Shortcodes

 *  [s123456789](https://wordpress.org/support/users/s123456789/)
 * (@s123456789)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/nesting-shortcodes/)
 * How can I nest the button shortcode inside the Accordion (Toggle).
 * Also, how can I insert links/urls/images in the content for Tabs or Accordion.
 * [http://wordpress.org/extend/plugins/simnor-shortcodes/](http://wordpress.org/extend/plugins/simnor-shortcodes/)

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

 *  Plugin Author [simnor](https://wordpress.org/support/users/simnor/)
 * (@simnor)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/nesting-shortcodes/#post-3597740)
 * Hi, you can insert the shortcode as usual and then just copy and paste the code
   that gets added to the editor into the code for the toggle.
 * For your second question, again just add the shortcode and then edit the text
   that get’s added.
 *  [Akhilesh Sabharwal](https://wordpress.org/support/users/akhileshsabharwal/)
 * (@akhileshsabharwal)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/nesting-shortcodes/#post-3597774)
 * Hey! Having trouble nesting the shortcodes for toggle
 * So for example I am adding a Gravity Forms Form shortcode as the text in the 
   toggle. But the shortcode breaks at the first ” used by the gravity forms shortcode.
 * `[simnor_toggle icon="list-alt" heading="Add a book" text="[gravityform id="2"
   name="Books" title="false" description="false"]" onload="closed"]`
 *  [julianfstr](https://wordpress.org/support/users/julianfstr/)
 * (@julianfstr)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/nesting-shortcodes/#post-3597776)
 * adding images inside a toggle doesn’t seem to work. can you provide an example?
 *  [PeterC66](https://wordpress.org/support/users/peterc66/)
 * (@peterc66)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/nesting-shortcodes/#post-3597777)
 * I was having problems putting a link within a Simnor accordion – all that happened
   was that the text that originally showed disappeared. I started this reply then
   had an idea, which has solved it so I have replaced my question by my answer.
   
   The double quotes of the inner code were confusing the outer ones of the accordion–
   so the solution was to change one set to single quotes. Thanks for the Plug-in,
   and it is more use now I understand it a bit better.

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

The topic ‘Nesting Shortcodes’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simnor-shortcodes.svg)
 * [Simnor Shortcodes](https://wordpress.org/plugins/simnor-shortcodes/)
 * [Support Threads](https://wordpress.org/support/plugin/simnor-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/simnor-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simnor-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simnor-shortcodes/reviews/)

 * 4 replies
 * 5 participants
 * Last reply from: [PeterC66](https://wordpress.org/support/users/peterc66/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/nesting-shortcodes/#post-3597777)
 * Status: not resolved