Support » Plugin: Toolset Types » [Plugin: Types – Custom Fields and Custom Post Types Management] Messiest CSS a plugin has written

  • pkiula

    (@pkiula)


    So I have label / input field combinations to be added to the post area.

    This is the CSS written by this grand plugin:

    <div id="wpcf-textfield-brand-name-wrapper"
       class="form-item form-item-textfield
                  wpcf-form-item
                 wpcf-form-item-textfield">
    <label class="wpcf-form-label wpcf-form-textfield-label" for="wpcf-textfield-brand-name">Brand Name</label>
    <input type="text" id="
    wpcf-textfield-brand-name" name="wpcf[brand-name]" value="" class="wpcf-form-textfield form-textfield textfield">
    
    <div class="description
    wpcf-form-description
    wpcf-form-description-textfield
    description-textfield"></div>

    Seriously? Do I really need a DIV tag to have four classes?

    1. description
    2. wpcf-form-description
    3. wpcf-form-description-textfield
    4. description-textfield

    Truly hope you’ll clean up this lame code in the next version.

    http://wordpress.org/extend/plugins/types/

  • The topic ‘[Plugin: Types – Custom Fields and Custom Post Types Management] Messiest CSS a plugin has written’ is closed to new replies.