Support » Plugin: Image Widget » Feature request: Add class name to fields div

  • Please consider to add a class name to fields div in backend widget area.

    To avoid mistakes from customers we currently hide a few fields like “Related” or “Link ID” in backend for the WordPress editor role.

    This requires many CSS-rules with an ascending X to match a number of css ids, example for one instance X:

    #widget-widget_sp_image-X-fields p:nth-child(3), label[for="widget-widget_sp_image-X-linkid"], input#widget-widget_sp_image-X-linkid, #widget-widget_sp_image-X-fields p:nth-child(8) {
     ...
    }

    Suggested fix for easier customization, a class name similar to this:

    <div class="widget_sp_image-fields" id="widget-widget_sp_image-X-fields">

    Thanks for the great plugin.

    https://wordpress.org/plugins/image-widget/

  • The topic ‘Feature request: Add class name to fields div’ is closed to new replies.