• Resolved nfgnikkie

    (@nfgnikkie)


    Nice widget but a layout that includes a <br> really robs one of their styling options. A better choice would be to remove the <br> an use a <p> wrapper around the label.

    
    129  printf(
    130    '<li class="%s">%s<div>%s</div></li>',
    131    ( $display_labels ) ? 'has-label' : 'no-label',
    132    ( $display_labels ) ? sprintf( '<strong>%s</strong><br>', esc_html( $label ) ) : '', // @codingStandardsIgnoreLine
    133    $escape_callback( $field['value'] ) // @codingStandardsIgnoreLine
    
  • The topic ‘Nice Widget but Annoying Layout’ is closed to new replies.