Custom Fields
Re-Envisioned
Support Meta Box Tooltip Where to define the tooltip?

  • Creator
    Topic
  • #9715
    EddyPiV
    Participant

    How/where in the Meta Box Builder can I add tooltips to fields?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #9716
    EddyPiV
    Participant

    I have actually the same question for the custom HTML field.

    #9735
    Anh Tran
    Keymaster

    Hello,

    You can add tooltip via Custom Attributes. Please go to Advanced tab, click “+ Attribute” button under Custom Attributes and add key = ‘tooltip’, value = tooltip text. If you want to use a custom icon for tooltip, add 3 attributes:

    1. Key: tooltip.icon, value: dashicon icon or URL of the icon. See list of dashicons here https://developer.wordpress.org/resource/dashicons/
    2. Key: tooltip.content, value: the content of the tooltip
    3. Key: tooltip.position, value: left|right|top|bottom (one of them) to specify the position of the tooltip. It’s optional.

    Please try it and let me know if you need any help further.

    #9766
    EddyPiV
    Participant

    Thanks, that works great in Firefox, but nothing is shown in Chrome, Brave or Safari.
    Any suggestion?

    #9779
    EddyPiV
    Participant

    For some reason, the tooltips show now in all browsers. Problem solved.
    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Where to define the tooltip?’ is closed to new replies.