Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Bill Erickson

    (@billerickson)

    Can you provide an example of a page that’s not working? I’ve done extensive testing and it should work, but maybe you’re using the divs in a way I didn’t test.

    Plugin Author Bill Erickson

    (@billerickson)

    I’ve tested it with ID’s, classes, and nested divs. In all instances it works.

    The old shortcode code is still in there, used by pages that haven’t been edited by you. Once you edit one, the new code is used, which stores the actual divs in the post content and the shortcodes in a separate field. That way, if the plugin ever gets disabled you don’t display shortcodes in your post content.

    Make sure you are using [end-div] to close the divs.

    @petervandoorn: I’m one of the developers of this plugin. Can you give me some more details?

    If I understand correctly, you did this:

    1. Upgraded the plugin.
    2. Viewed a post with existing [div] and [end-div] shortcodes and the shortcodes were not replaced.
    3. Tried to edit the post, but in the preview, <div>s were not closed.

    Is that correct? Are you using the [end-div] shortcode or [/div] to close your <div>s? Can you point me to the URL of the post in question?

    I have the same problem in 3.2.1, I try to use it to a page in html by replacing <div></div> with [div] and [end-div] but it didn’t work…

    Plugin Author Bill Erickson

    (@billerickson)

    Stergos, are you using the most up-to-date version of this plugin?

    The code that Dean developed that replaced the shortcodes with actual divs has been removed due to issues, but as long as you have the plugin active [div] will be replaced with <div> and [end-div] with </div>

    I have the latest version. I already try the shortcodes as you explain I don’t know what is going wrong…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Div Shortcode] 2.0 doesn't work in WP 3.2.1’ is closed to new replies.