Support » Plugin: ImageMapper » Popup + tooltip

  • Hi all.

    Is it possible to have a popup and tooltip together. There is a post which combine tooltip + link.

    Ty all.

Viewing 1 replies (of 1 total)
  • Hi @mexxy84,

    I was able to get this working by tweaking the imagemapper.php script directly.

    Search for data-tooltip, and take this code;
    data-tooltip="'.esc_attr($meta->type == 'tooltip' ? $meta->tooltip_text : false ). '"
    Replace with this;
    data-tooltip="'.esc_attr( $meta->tooltip_text ). '"
    *Or if you prefer to use the title use this;
    data-tooltip="'.esc_attr(isset($meta->title_attribute) ? $meta->title_attribute : $title). '"

    Hope that works for you,
    Cheers

Viewing 1 replies (of 1 total)
  • The topic ‘Popup + tooltip’ is closed to new replies.