Update information fields.
This commit is contained in:
@@ -4,14 +4,14 @@ if ( ! $fields ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$type = isset( $type ) ? $type : '';
|
||||
$column = isset( $GLOBALS['group-info-column'] ) ? $GLOBALS['group-info-column'] : 3;
|
||||
if( $type != 'input' ) {
|
||||
$type = isset( $type ) ? $type : '';
|
||||
$column = isset( $GLOBALS['group-info-column'] ) ? $GLOBALS['group-info-column'] : 3;
|
||||
if ( $type != 'input' ) {
|
||||
$col_class = 'col-lg-' . ( 12 / absint( $column ) ) . ' col-md-' . ( 12 / absint( $column ) ) . ' col-sm-' . ( 12 / absint( $column ) );
|
||||
} else {
|
||||
$col_class = 'column-item';
|
||||
}
|
||||
|
||||
|
||||
foreach ( $fields as $key => $label ): ?>
|
||||
<?php if ( 'areasize' == $key ) : continue; endif; ?>
|
||||
<div class="<?php echo esc_attr( $col_class ); ?>">
|
||||
|
||||
Reference in New Issue
Block a user