• Hi there

    I just found some fixeables error of Gridable that I hope you can fix

    1 – Gridable at frontend miss the javascript var gridable_params

    I checked it and is loaded just on backend, changing the hook:
    add_action( 'admin_head', array( $plugin_admin, 'my_add_styles_admin' ) );
    To:
    add_action( 'wp_head', array( $plugin_admin, 'my_add_styles_admin' ) );
    And removing the check is_admin() fixes the issue

    Also, is required to print the footer templates, so replacing the hook:
    add_action( 'admin_footer', array( $plugin_admin, 'wp_print_grider_tinymce_templates' ) );
    To:
    add_action( 'wp_footer', array( $plugin_admin, 'wp_print_grider_tinymce_templates' ) );
    Fixes it too

    2 – Gridable scripts requires (and I don’t know why) the wp-color-picker on their js and css assets, removing this requirements will enqueue correctly the plugin assets and everything will work as expected

    Is posible to get those fixes on Gridable?

    Best regards

  • The topic ‘Fixing some errors from Gridable’ is closed to new replies.