Support » Plugin: Events Manager » Unwanted tags appearing with #_EVENTNOTES

Viewing 6 replies - 1 through 6 (of 6 total)
  • did you try adding remove_filter('dbem_notes', 'wpautop'); in your theme functions.php?

    Plugin Author Marcus

    (@netweblogic)

    NetWebLogic Support

    I don’t see any p tags there?

    We run wpautop on the notes but that should be the only time it’s run since we hook into the_content AFTER wpautop, so we completely remove p tags originally added by wp

    further p tags may be added e.g. by your theme.

    see http://codex.wordpress.org/Function_Reference/wpautop

    alternatively, angelonwl’s suggestion can work as well.

    On both newest Firefox (Pale Moon to be exact) and IE8 line 167 of the HTML of the page linked above starts with three < p > tags:

    <p><p><p>Lorem Ipsum is simply

    That’s the HTML, not the rendered page. The rendered page shows empty lines on both browsers before the “Lorem Ipsum” text, which should start vertically at the same height as the top of the image next to it but starts a centimeter below the top of the image.

    Didn’t try agelonwl’s solution yet as we have a CSS solution in place now, but since this is something seen on multiple browsers on the demo site, I thought it might warrant an update in the plugin core.

    This may or may not be related to http://wordpress.org/support/topic/plugin-events-manager-patch-hide-the-unwanted-element-inside-em-wrapper.

    another way is to try some css trick like p:empty { display:none; }

    Good to know about that workaround, will make it easier to match only the exact < p > elements in question.

    Plugin Author Marcus

    (@netweblogic)

    NetWebLogic Support

    not sure if I just missed it last time, but I do now see the extra paragraphs too. Will fix asap (probably won’t be this next update, the one after).

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Unwanted tags appearing with #_EVENTNOTES’ is closed to new replies.