WordPress.org

Ready to get started?Download WordPress

Forums

Types - Custom Fields and Custom Post Types Management
Messiest CSS a plugin has written (1 post)

  1. pkiula
    Member
    Posted 2 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic