Title: Embedding Shortcodes within Shortcodes
Last modified: August 31, 2016

---

# Embedding Shortcodes within Shortcodes

 *  Resolved [jamiejambo](https://wordpress.org/support/users/jamiejambo/)
 * (@jamiejambo)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/embedding-shortcodes-within-shortcodes/)
 * Hi Phil,
 * Need a bit of help. Ive created a 3-item accordion and it looks fine. However,
   in the first accordion item I am embedding some short code from the wunderground.
   com widget. This is to show a weather forecast.
 * The problem is that when the accordion is saved and displayed on screen, it pushes
   the weather forecast down the screen. This means the border separator is covering
   the icons of the weather forecast.
 * See the shortcode Im using below….it seems to work fine for a normal TEXT WIDGET….
 * [accordion tag=h3 scroll=”true” autoclose=”true” openfirst=”true” clicktoclose
   =”true”][accordion-item title=”Marbella Weather”][wunderground location=”Marbella,
   Spain” numdays=”3″ iconset=”incredible” layout=”table-horizontal” measurement
   =”c” showdata=”daynames,icon,pop,text,conditions,high-low”][/accordion-item]
 * Not sure if I need to make any mods to the functions.php. Any ideas?
 * cheers
    Ian
 * [https://wordpress.org/plugins/accordion-shortcodes/](https://wordpress.org/plugins/accordion-shortcodes/)

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

 *  Thread Starter [jamiejambo](https://wordpress.org/support/users/jamiejambo/)
 * (@jamiejambo)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/embedding-shortcodes-within-shortcodes/#post-7067035)
 * Hi Phil,
    Please close this thread. I did some more checks and there was a conflict
   with the themes sidebar. So, your widget is working perfectly for me! Many thanks
   Ian
 *  Plugin Author [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * (@philbuchanan)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/embedding-shortcodes-within-shortcodes/#post-7067098)
 * Sorry I didn’t respond earlier. Glad you got it working.

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

The topic ‘Embedding Shortcodes within Shortcodes’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/accordion-shortcodes.svg)
 * [Accordion Shortcodes](https://wordpress.org/plugins/accordion-shortcodes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accordion-shortcodes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accordion-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/accordion-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accordion-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accordion-shortcodes/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/embedding-shortcodes-within-shortcodes/#post-7067098)
 * Status: resolved