Title: Insert Shortcode &gt; Document &#8211; Inserts more than the desired shortcode
Last modified: August 22, 2016

---

# Insert Shortcode > Document – Inserts more than the desired shortcode

 *  [Strast](https://wordpress.org/support/users/strast/)
 * (@strast)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/insert-shortcode-document-inserts-more-than-the-desired-shortcode/)
 * When inserting a shortcode of type ‘document’ into a page using the ‘Insert Shortcode’
   button, the following code is expected:
    `[su_document url="http://pbis.example.
   org/file/PBIS_Chart_2014-2015.doc" width="800" height="1220"][/su_document]`
 * However this is the code that comes back from the shortcode insert:
    `[su_document
   url="http://pbis.example.org/files/PBIS_Chart_2014-2015.doc" width="800" height
   ="1220"][su_document url="http://pbis.example.org/files/Resources/Classroom Management/
   Activity_sequencing_and_offering_choice.pdf" width="800" height="1220"[/su_document][/
   su_document]`
 * It’s inserting my shortcode plus another shortcode nested inside.
 * All pages where I attempt this adds this same nested shortcode document url,width,
   height.
 * A remove/install of the SU plugin does not solve this problem.
 * Any idea how to fix?
 * ..Steve
 * [https://wordpress.org/plugins/shortcodes-ultimate/](https://wordpress.org/plugins/shortcodes-ultimate/)

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

 *  Thread Starter [Strast](https://wordpress.org/support/users/strast/)
 * (@strast)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/insert-shortcode-document-inserts-more-than-the-desired-shortcode/#post-5868077)
 * There must be a bug in the ‘Insert Shortcode >> Document’ code as it is now doing
   the same thing on another web site. Just that the additional text is different
   on the other site.
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/insert-shortcode-document-inserts-more-than-the-desired-shortcode/#post-5868091)
 * Not having any issues here on v4.9.3. Might be a conflict with another plugin.
 *  Thread Starter [Strast](https://wordpress.org/support/users/strast/)
 * (@strast)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/insert-shortcode-document-inserts-more-than-the-desired-shortcode/#post-5868093)
 * It doesn’t happen when first installed. It develops the problem after some time
   of use. I have disabled and removed all other plugins but it still does it.
 * It acts like the end tag `[/su_document]` gets corrupted with an entire previously
   used shortcode. So instead of just the normal endtag, a modified endtag that 
   contains all the old shortcode text is used.
 *  [Woopsy](https://wordpress.org/support/users/woopsy/)
 * (@woopsy)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/insert-shortcode-document-inserts-more-than-the-desired-shortcode/#post-5868141)
 * Hello. I have the exact same problem. Does anyone has an idea how to fix it ?
   
   In my case it even add an iframe that has nothing to do with Shotcode Ultimate
   in the process (an iframe from Scribd).
 * I end up with :
    [su_document url=”[http://www.desired-document.pdf&#8221](http://www.desired-document.pdf&#8221);
   width=”1000″ height=”1000″]**[su_document url=”[http://www.UNDESIRED-DOCUMENT.pdf&#8221](http://www.UNDESIRED-DOCUMENT.pdf&#8221);
   width=”1000″ height=”1000″][scribd id=XXXXXX key=key-XXXXXX mode=scroll][/su_document]**[/
   su_document].
 * Uninstalling and reinstalling with a fresh version of Ultimate Shortcode doesn’t
   solve it (which is quite fascinating!).

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

The topic ‘Insert Shortcode > Document – Inserts more than the desired shortcode’
is closed to new replies.

 * ![](https://ps.w.org/shortcodes-ultimate/assets/icon-256x256.gif?rev=2547563)
 * [Shortcodes Ultimate - Content Elements](https://wordpress.org/plugins/shortcodes-ultimate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-ultimate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-ultimate/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-ultimate/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Woopsy](https://wordpress.org/support/users/woopsy/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/insert-shortcode-document-inserts-more-than-the-desired-shortcode/#post-5868141)
 * Status: not resolved