Viewing 13 replies - 1 through 13 (of 13 total)
  • 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

    (@muypescado)

    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

    Hmm. What other plugins do you have installed?

    Thread Starter muypescado

    (@muypescado)

    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

    (@muypescado)

    I just installed version 1.0 of the plugin and it doesn’t have the same problem. Its only the current version.

    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 hasn’t released version 2.0.1 yet, but would you mind giving it a shot? Here are some instructions:

    1. Browse here: https://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

    (@billerickson)

    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

    (@muypescado)

    I updated and am still having issues. This is a clean install with no other plugins installed:

    https://hybridvigordesign.com/test/test/

    Thats strange your not able to recreate the problem.

    Plugin Author Bill Erickson

    (@billerickson)

    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

    (@muypescado)

    Sounds good – thanks for your help.

    Hey @muypescado. Could you tell me what version of PHP you’re using? Just curious.

    Thread Starter muypescado

    (@muypescado)

    5.2.17

    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.