WordPress.org

Ready to get started?Download WordPress

Forums

Reusable Text Blocks
Adding a shortcode to a text-block widget (2 posts)

  1. rollerbob
    Member
    Posted 1 year ago #

    Hello,

    Thanks for this plugin. Should it be possible to add a shortcode to a text-block description, then have it rendered in a text-block widget? If I'm using a Text widget I can use this filter:

    add_filter('widget_text', 'do_shortcode');

    Is there a similar hook for text-block widgets?

    Matt

    http://wordpress.org/extend/plugins/reusable-text-blocks/

  2. Hal Gatewood
    Member
    Plugin Author

    Posted 1 year ago #

    I think it should be possible. I have a hook: 'text_blocks_widget_html' for the widget display.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic