Support » Plugin: Multiple content blocks » Issue with filters

  • Resolved danieliser


    There is a slight issue with the filters being applied via the_content. Using plugins that do content replacement via these filters such as EM and then using a MCB in the sidebar results in the sidebar containing the same content that Events Manager added for the main body.

    Im not sure if you really need to run them through apply_filters(‘the_content’) as much as do_shortcode($content) which will convert shortcodes without applying filters.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Trendwerk


    There could be a plugin or theme code that actually modify the real content (where the filter is meant for). I wouldn’t want to break that code, because some plugins use the content filter to add stuff (which is the wrong way in my opinion).

    I’d like to hear your opinion about it, because I’m quite sceptical when it comes to changes a front-end output thing like this in an update (I wouldn’t want to break somebody’s code).

    Plugin Author Trendwerk


    By the way, there’s an option now to disable filters.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with filters’ is closed to new replies.