Support » Plugin: OS OpenSpace Maps » [Plugin: OS OpenSpace Maps] Adding a link to a marker

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author 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

    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 Author Jon Lynch

    (@jonlynch)

    The code in my first post now appears mangled try [osmap markers="ST3430362661;<a href='http://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.