I need to put a shortcode in a shortcode in a widget. To be exact I need this in a widget:
[wpv-view name=”Bookmaker – Payment Type List View” sapymttype =”[types field=”deposit-withdrawal”][/types]”]
However the shortcode inside the shortcode is not shown properly, and this is shown at the end where the shortcode is being incorrectly truncated: [/types]”]
This works in the main content, but in the widget it doesn’t.
I added this to funtions.php to originally make the shortcode work in the widget:
add_filter( ‘widget_text’, ‘do_shortcode’);
Many thanks for any help…
- The topic ‘Shortcode in a shortcode in a widget’ is closed to new replies.