Support » Plugin: Widget Wrangler » Widget Preview Running Shortcodes

  • Resolved ExcellentSP


    I know to some it is probably a pro, but I’m using the Gravity Forms shortcode to put forms into widgets and the “Widget Preview” is executing the shortcode. The problem is since the form has required fields, whenever I try to save the widget the form stops the saving process.

    To fix this problem, I have to:
    1. Make my widget changes.
    2. Open the inspector and delete the form’s HTML.
    2. Save the widget.

    So I have a few questions:
    1. How beneficial is it to execute the shortcodes in the Widget Previewer?
    2. How necessary is the widget previewer as a whole? Especially since many of the widgets I create aren’t just for sidebars. (I don’t know about others’ operating procedures though.)
    3. If the above two questions don’t suggest viable solutions, how hard would it be to apply GET/POST, HTML validation and requirements, and JS blocking sterilizations to the Widget Previewer?

    Gravity Forms
    Widget Wrangler 2.2.4

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jonathan Daggerhart


    Hi siphon,

    All good questions. This definitely needs some work.

    In the mean time, if you don’t need widget previews at all, you can add this code to your site to disable that meta box. Either in a custom plugin, or your theme’s functions.php file.

    add_action('admin_init', 'ww_remove_preview_meta_box', 999);
    function ww_remove_preview_meta_box(){
        remove_meta_box( "ww-widget-preview", "widget", "side" );
    Thread Starter ExcellentSP


    Thank you Mr. Daggerhart. That definitely helps.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Widget Preview Running Shortcodes’ is closed to new replies.