Output image instead of text for the checkbox option Profile Form
-
Hello,
I would like to know if it’s possible to output an image in the profile view form instead of text for a checkbox option.
I succed added this option in the edit mode (added classes to each option to output image instead of checkbox icon)
Image edit modeBut The output is a text. I would like to output the checkbox classes image
Output image
Do you think it’s possible ?
because i saw the output codedefault: $output .= '<div class="um-field' . $classes . '"' . $conditional . ' data-key="'.$key.'">'; if ( isset( $data['label'] ) ) { $output .= $this->field_label($label, $key, $data); } $res = stripslashes( $this->field_value( $key, $default, $data ) ); $output .= '<div class="um-field-area">'; $output .= '<div class="um-field-value">' . $res . '</div>'; $output .= '</div>'; $output .= '</div>'; break;
and i can’t seem to find a solution to output only this checkbox colum without interfering with the other output box.
Thanks in advance for your help π
https://wordpress.org/plugins/ultimate-member/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Output image instead of text for the checkbox option Profile Form’ is closed to new replies.