[Plugin: Types – Custom Fields and Custom Post Types Management] Messiest CSS a plugin has written
-
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?- description
- wpcf-form-description
- wpcf-form-description-textfield
- description-textfield
Truly hope you’ll clean up this lame code in the next version.
- The topic ‘[Plugin: Types – Custom Fields and Custom Post Types Management] Messiest CSS a plugin has written’ is closed to new replies.