WordPress.org

Ready to get started?Download WordPress

Forums

Shortcode within shortcode within widget (1 post)

  1. JackAndrews
    Member
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic