• Resolved Jack Sparrow

    (@csparrow)


    Can your plugin work with custom fields in tooltips? For example, I want to show a simple calculation from two custom fields of different post types in a tooltip. Is that possible if I write the calculation myself? If it is please give me more clues on how.

    I want to achieve this: A person holds the mouse over an object -> tooltip shows and says “All the objects under this selection are “number”.” This “number” value is generated by a calculation from custom fields where all “true” fields add +1 to the number 0.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Draw Attention Support

    (@wpdrawattention)

    Hello @csparrow

    It seems like this could be accomplished by writing a shortcode that you could drop into the more info area of Draw Attention. You can create the shortcode so that it could accept attributes for the posts so the same shortcode could be re-used over and over.

    If you’re not familiar with creating a shortcode, I found this helpful article that can give you some instructions on how to code one: https://www.isitwp.com/get-custom-field-value-with-shortcode/

    I hope that helps, let us know if you have more questions!

Viewing 1 replies (of 1 total)
  • The topic ‘Custom fields in tooltip possible?’ is closed to new replies.