Support » Plugin: WC Fields Factory » Bug: Label class without space (fix included)

  • Resolved Ninos

    (@ninos-ego)


    Hey there,

    for label fields the classes are without space between. You need to change wcff-builder.php:1285
    $html = '<div style="'.$onload_field.'" data-labelfield="'.$_meta["name"].'" class="wcff-label wccpf_fields_table' . $_class . ' wcff-label-' . $_meta["message_type"] . '" '.$_cloneable.'>' . html_entity_decode($_meta["message"]) . '<input type="hidden" name="' . esc_attr($_meta["name"] . $_index) . '"></div>';
    to
    $html = '<div style="'.$onload_field.'" data-labelfield="'.$_meta["name"].'" class="wcff-label wccpf_fields_table ' . $_class . ' wcff-label-' . $_meta["message_type"] . '" '.$_cloneable.'>' . html_entity_decode($_meta["message"]) . '<input type="hidden" name="' . esc_attr($_meta["name"] . $_index) . '"></div>';

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Bug: Label class without space (fix included)’ is closed to new replies.