WordPress.org

Ready to get started?Download WordPress

Forums

Widget Builder
[resolved] Disable the content filter? (3 posts)

  1. SSchat
    Member
    Posted 1 year ago #

    HI,

    just wondering if it is possible to disable the content-filter for specific widgets?

    eg:
    i added a plugin which adds some 'share' buttons to posts.
    These are now also visible on the widgets.
    I dont want that.

    (add an option to the widget form itself? 'disable the filter?' )

    http://wordpress.org/extend/plugins/widget-builder/

  2. SSchat
    Member
    Posted 1 year ago #

    or maybe dont make it a 'post' - type, but a new type like 'widget'?
    so the content-filters for type: post, dont get applied.

  3. Timothy Wood
    Member
    Plugin Author

    Posted 1 year ago #

    By default it uses the post functionality built into WP for compatibility reasons. Typically the crossover happens when a plugin developer doesn't honor use of the_content tag on a page and just dumps their code in without checking if it's the main page content or not. One way around this is to unhook the plugin when it shouldn't be used if that is an option.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic