/home/techb158/l2hypotheques.com/wp-content/plugins/codestar-framework/fields/gallery
Edit: /home/techb158/l2hypotheques.com/wp-content/plugins/codestar-framework/fields/gallery/gallery.php (1655B)
field, array(
'add_title' => esc_html__( 'Add Gallery', 'csf' ),
'edit_title' => esc_html__( 'Edit Gallery', 'csf' ),
'clear_title' => esc_html__( 'Clear', 'csf' ),
) );
$hidden = ( empty( $this->value ) ) ? ' hidden' : '';
echo $this->field_before();
echo '
';
if ( ! empty( $this->value ) ) {
$values = explode( ',', $this->value );
foreach ( $values as $id ) {
$attachment = wp_get_attachment_image_src( $id, 'thumbnail' );
echo ' .')
';
}
}
echo '
';
echo '
'. $args['add_title'] .'';
echo '
'. $args['edit_title'] .'';
echo '
'. $args['clear_title'] .'';
echo '
field_attributes() .'/>';
echo $this->field_after();
}
}
}