WordPress.org

Forums

Events Manager
[resolved] Search form extra HTML (2 posts)

  1. tiggerific
    Member
    Posted 1 year ago #

    Hi,

    I'm having the exact same problem as this:

    http://wordpress.org/support/topic/plugin-events-manager-search-form-display?replies=6

    and similar to this:

    http://wordpress.org/support/topic/plugin-events-manager-eventlist-shortcode-outputting-br-tags-between-events?replies=2

    I'm unable to find why my events listing page with the search form is having additional <p> and
    tags added throughout - including between the javascript code.

    I have tried with the 2014 theme preview and the events search page/form is fine, but I'm unable to find anything "strange" anywhere in my theme's code (Avenue) which could be causing the extra HTML code. I've also tried de-activating all plugins which didn't resolve the issue, as well as using different templates for my Events page. Nothing has worked.

    Update - I have found the culprit! The Avenue theme shortcodes contains a filter function to format content (called "my_formatter"). I have commented out the code that adds this filter in shortcodes, and content no longer has additional <p> and
    injected into it. Yay :)

    Hope this solution might help somebody else.

    https://wordpress.org/plugins/events-manager/

  2. angelo
    NetWebLogic Support
    Posted 1 year ago #

    thanks for sharing.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic