• OpenCode

    (@opencode)


    To enable this plugin in widget you need to add a filter

    add_filter( 'widget_text', 'do_shortcode');
    • Go to Plugin editor
    • Select this plugin
    • paste the code before the following code
    • add_action( 'publish_askme', 'publish_askme_hook' );
    • Update file

    The plugin will start working in widget.

    https://ww.wp.xz.cn/plugins/askme/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Kilomoana

    (@kilomoana)

    So, there is a need for ask me as a widget?

    Wrote it on the road map for the next update.

    Thread Starter OpenCode

    (@opencode)

    askme is awesome when used with widget

    Plugin Contributor Kilomoana

    (@kilomoana)

    Sounds great. So there will be a native Widget this weekend :-D.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Enable Shortcode in Widget’ is closed to new replies.