WordPress.org

Support

Support » How-To and Troubleshooting » Shortcode within shortcode within widget

Shortcode within shortcode within widget

  • I am using a shortcode within another shortcode’s code itself, for example: '[raw]<div class="quote">' . do_shortcode($content) . '</div>[/raw]';
    It works as I want it to for posts, but when in use in a widget, it shows [raw] wrapped around the div. Is there a way to get shortcodes in widgets to recognize shortcode functions? I already have the widget_text filter added in. Thanks.

  • The topic ‘Shortcode within shortcode within widget’ is closed to new replies.
Skip to toolbar