Skip to content

Field Image select can have a title for images #193

Description

@LC43

CSF_Field_image_select can have a simple change, allowing a title for the so when the user hovers it, some text shows.

echo '<img src="'. esc_url( $option ) .'" alt="img-'. esc_attr( $num++ ) .'" />';

replace with

echo '<img title="' . esc_attr( $key ) . '" src="'. esc_url( $option ) .'" alt="img-'. esc_attr( $num++ ) .'" />';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions