Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Jon Lynch

    (@jonlynch)

    If you want to add a link into your text you will need to use the HTML editor. Just use html but use single quotes for the href attribute, for example: [osmap markers=”ST3430362661;My Example Link“]
    Hope this helps,
    Jon

    Thread Starter annakyn

    (@annakyn)

    Thanks. I’m getting there with it! I’m also having to use \’ instead of just ‘ so that the php works ok (running the shortcode from the page template.

    I’m trying to automatically generate a map using php by querying all posts that have a custom field which is set as a grid reference. I’ve not quite got it automatic, but its a lot easier than manually doing it.

    Keep up the good work with the plugin!

    Plugin Contributor Jon Lynch

    (@jonlynch)

    The code in my first post now appears mangled try [osmap markers="ST3430362661;<a href='https://example.com'>My Example Link</a>"]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: OS OpenSpace Maps] Adding a link to a marker’ is closed to new replies.