Title: [Plugin: Div Shortcode] Extra markup
Last modified: August 20, 2016

---

# [Plugin: Div Shortcode] Extra markup

 *  Resolved [muypescado](https://wordpress.org/support/users/muypescado/)
 * (@muypescado)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-div-shortcode-extra-markup/)
 * Hi,
 * I’ve been getting a zero attached to the opening div when using arguments.
 * So when using this:
 * [div class=”inside”]
 * my source code looks like this:
 * <div0 class=”inner”>
 * Any help would be appreciated.
 * Thanks
 * [http://wordpress.org/extend/plugins/div-shortcode/](http://wordpress.org/extend/plugins/div-shortcode/)

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

 *  [deanpence](https://wordpress.org/support/users/deanpence/)
 * (@deanpence)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-div-shortcode-extra-markup/#post-2333222)
 * If possible, could you give me an example of the full, unfiltered post that’s
   being displayed incorrectly? I’d like to help troubleshoot if I can.
 *  Thread Starter [muypescado](https://wordpress.org/support/users/muypescado/)
 * (@muypescado)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-div-shortcode-extra-markup/#post-2333234)
 * This is the post content:
 * [div class=”inside”]
 * Inside a div
 * [end-div]
 * I’ve tested on multiple sites and situations and am having the same problem.
 * Thanks
 *  [deanpence](https://wordpress.org/support/users/deanpence/)
 * (@deanpence)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-div-shortcode-extra-markup/#post-2333239)
 * Hmm. What other plugins do you have installed?
 *  Thread Starter [muypescado](https://wordpress.org/support/users/muypescado/)
 * (@muypescado)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-div-shortcode-extra-markup/#post-2333241)
 * Nothing.
 * I was having this problem, so set up a clean wordpress install with the default
   theme just to test this.
 * If I dont pass any arguments, such as [div] [end-div] its fine. But if I pass
   a class or id I get the extra zero.
 * Are you not able to recreate this problem?
 *  Thread Starter [muypescado](https://wordpress.org/support/users/muypescado/)
 * (@muypescado)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-div-shortcode-extra-markup/#post-2333244)
 * I just installed version 1.0 of the plugin and it doesn’t have the same problem.
   Its only the current version.
 *  [deanpence](https://wordpress.org/support/users/deanpence/)
 * (@deanpence)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-div-shortcode-extra-markup/#post-2333248)
 * That’s very odd. No, I’m not able to recreate it at all in any version I’ve written.
   I hope that I would never have released code that fails quite so spectacularly.
   🙂
 * [@billerickson](https://wordpress.org/support/users/billerickson/) hasn’t released
   version 2.0.1 yet, but would you mind giving it a shot? Here are some instructions:
    1.  Browse here: [http://pastebin.com/xNb24P1G](http://pastebin.com/xNb24P1G)
    2.  Click the “Copy to Clipboard” link.
    3.  Go to your WordPress Admin site.
    4.  Go to “Plugins” > “Installed Plugins”.
    5.  Under “Div Shortcode”, click “Edit”.
    6.  Click inside the text box with the plugin’s PHP code.
    7.  Hit <COMMAND>+A (or <CONTROL>+A in Windows) to select all of the code.
    8.  Hit <COMMAND>+V (or <CONTROL>+V in Windows) to paste the new plugin code.
    9.  Click the “Update File” button.
 * Now try your post again, and let me know what happens.
 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-div-shortcode-extra-markup/#post-2333327)
 * I’ve just released version 2.0.1 (minor modification to dean’s). You should receive
   a notification in your Plugins page in the next few hours prompting for an update.
   Hopefully this solves your issue.
 * I’m also unable to reproduce this issue, but you’re not the first person to report
   issues with the new version. If this update doesn’t solve it then I’m rolling
   back to version 1.0 which no one ever had issues with.
 *  Thread Starter [muypescado](https://wordpress.org/support/users/muypescado/)
 * (@muypescado)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-div-shortcode-extra-markup/#post-2333358)
 * I updated and am still having issues. This is a clean install with no other plugins
   installed:
 * [http://hybridvigordesign.com/test/test/](http://hybridvigordesign.com/test/test/)
 * Thats strange your not able to recreate the problem.
 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-div-shortcode-extra-markup/#post-2333378)
 * I’m giving up on the new version. Version 2.1 is coming out that’s a regression
   to the original. It was a good concept but there’s too many issues and I’m not
   able to reproduce any of them.
 *  Thread Starter [muypescado](https://wordpress.org/support/users/muypescado/)
 * (@muypescado)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-div-shortcode-extra-markup/#post-2333389)
 * Sounds good – thanks for your help.
 *  [deanpence](https://wordpress.org/support/users/deanpence/)
 * (@deanpence)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-div-shortcode-extra-markup/#post-2333413)
 * Hey [@muypescado](https://wordpress.org/support/users/muypescado/). Could you
   tell me what version of PHP you’re using? Just curious.
 *  Thread Starter [muypescado](https://wordpress.org/support/users/muypescado/)
 * (@muypescado)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-div-shortcode-extra-markup/#post-2333425)
 * 5.2.17
 *  [deanpence](https://wordpress.org/support/users/deanpence/)
 * (@deanpence)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-div-shortcode-extra-markup/#post-2333435)
 * Well, that could explain quite a bit, but I’m not positive how much of my code
   doesn’t work in 5.2. I only tested it in 5.3 and should have been more explicit
   about that.

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

The topic ‘[Plugin: Div Shortcode] Extra markup’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/div-shortcode_fbfbfb.svg)
 * [Div Shortcode](https://wordpress.org/plugins/div-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/div-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/div-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/div-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/div-shortcode/reviews/)

 * 13 replies
 * 3 participants
 * Last reply from: [deanpence](https://wordpress.org/support/users/deanpence/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-div-shortcode-extra-markup/#post-2333435)
 * Status: resolved