• Resolved Pat

    (@patrickhaond)


    Hi there.

    I have just tested your plugin which seems great.
    However would it be possible to add more content than only title en text in the tooltip ?
    Images or links or more text ?
    List item is not possible ?

    Thanks.

    • This topic was modified 1 year, 3 months ago by Pat.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Camille V

    (@socrapop)

    Hello,

    It’s possible, but you have to be a developer or ask a developer to do it for you.

    I added filters recently for this, here is a piece of documentation (with an ACF field) on how to do it :
    https://camilles-travels.com/get-started-with-travelers-map-wordpress-plugin/#filters

    However you can add a list as the Custom Excerpt (in the post’s marker settings area, click the button Edit information displayed in popover) using html like this :
    <ul><li>Point 1</li><li>Point 2</li></ul>

    Each line is wrapped inside <li></li> tags.

    Have a nice day,

    Camille

    Thread Starter Pat

    (@patrickhaond)

    thank you @socrapop for your help.
    Actually I tried to use Posts to be shown in tooltips.
    Anything that is not simple text (ex. images, a links, or list item) doesn’t show in the tooltip.
    So I have to use ACF to show images (for exemple), using the additional functions you sent me link to ?

    Thanks again.

    Plugin Author Camille V

    (@socrapop)

    Yes indeed, I tried my best allowing HTML in the excerpt but for security reasons and WordPress security limitations, I couldn’t.
    Yes you should use the filters to add your custom ACF fields or custom meta fields if you don’t want to use ACF

    Thread Starter Pat

    (@patrickhaond)

    Thank you @socrapop for your answer.
    However I don’t understand how to use your function with for exemple an image or a link I created through ACF.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Add more content ?’ is closed to new replies.