Title: [Plugin: ShortCodes UI] nested shortcodes produces error
Last modified: August 20, 2016

---

# [Plugin: ShortCodes UI] nested shortcodes produces error

 *  Resolved [desmillicious](https://wordpress.org/support/users/desmillicious/)
 * (@desmillicious)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-shortcodes-ui-nested-shortcodes-produces-error/)
 * I am attempting to nest a php call for the_permalink into a shortcode
 * my method is:
 * 1) create an advanced shortcode (named “php”) with the php the_permalink(); code
   in the php section
 * 2) create a second simple one tag shortcode [named “sc1”) with the [php] shortcode
   inside the shortcode template
 * The shortcode template for “sc1” is:
    [Tweet](http://twitter.com/share?text=[php])
 * I then insert [sc1] at the bottom of the relevant wordpress posts but an error
   occurs:
    The value from [php] (the permalink) is printed at the top of the post
   outside of the rest of the values from [sc1]
 * ie:
    [http://thepermalink.com](http://thepermalink.com) Tweet
 * Unfortunately the site I am working on with this error is currently not live 
   to public. But I would greatly appreciate help from the developer from what is
   an otherwise excellent plugin
 * [http://wordpress.org/extend/plugins/shortcodes-ui/](http://wordpress.org/extend/plugins/shortcodes-ui/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Bainternet](https://wordpress.org/support/users/bainternet/)
 * (@bainternet)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-shortcodes-ui-nested-shortcodes-produces-error/#post-2629745)
 * One tag Shortcode can’t have php code, only advanced shortcode can.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: ShortCodes UI] nested shortcodes produces error’ is closed to
new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [Bainternet](https://wordpress.org/support/users/bainternet/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-shortcodes-ui-nested-shortcodes-produces-error/#post-2629745)
 * Status: resolved