WordPress.org

Forums

WP Flexible Map
[resolved] Title, andress e description (10 posts)

  1. GaspareNet
    Member
    Posted 2 years ago #

    In this code (version plugin 1.6.3)
    [flexiblemap center="44.755937,9.376527" width="920" height="300" zoom="16" title="Agriturismo San Martino" link="http://agriturismo-sanmartino.com" description="Localita' San Martino 5,\29022 Bobbio, PC" directions="true" hidestreetview="false"]
    Title, link, description not view in to the map.
    Sorry for my bad english.
    GaspareNet

    http://wordpress.org/extend/plugins/wp-flexible-map/

  2. webaware
    Member
    Plugin Author

    Posted 2 years ago #

    G'day,

    I just copied your shortcode:

    [flexiblemap center="44.755937,9.376527" width="920" height="300" zoom="16" title="Agriturismo San Martino" link="http://agriturismo-sanmartino.com" description="Localita' San Martino 5,\29022 Bobbio, PC" directions="true" hidestreetview="false"]

    and pasted into a new post, and this is what I get:

    https://dl.dropboxusercontent.com/u/26305751/flxmap-gasparenet.png

    Maybe you pasted into HTML (Visual) view, and WordPress has changed it to something else; paste it into the Text view and see if that fixes it. If not, please post a link to your website.

    cheers,
    Ross

  3. GaspareNet
    Member
    Posted 2 years ago #

  4. webaware
    Member
    Plugin Author

    Posted 2 years ago #

    Link?

    Also, why \29022? What is it meant to be doing? Maybe the backslash is upsetting something.

    cheers,
    Ross

  5. GaspareNet
    Member
    Posted 2 years ago #

  6. webaware
    Member
    Plugin Author

    Posted 2 years ago #

    @GaspareNet: it looks like your shortcode is missing the title="..." bit. I copied your HTML locally and get the same problem, but if I add the title, it works. Make sure you have a title and the infowindow will display.

    Also, the backslash is meant to be \n, which means new line; you use it to break the address across multiple lines. Your code above only has the \, needs to be \n.

    cheers,
    Ross

  7. GaspareNet
    Member
    Posted 2 years ago #

    I simplified the code but it still does not work
    new code
    [flexiblemap center="44.755937,9.376527" width="920" height="300" zoom="16" title="Agriturismo" directions="true" hidestreetview="false"]

  8. webaware
    Member
    Plugin Author

    Posted 2 years ago #

    G'day GaspareNet,

    I just copied that shortcode into a test site with the TwentyTwelve theme, and it worked -- I get the following map:

    https://dl.dropboxusercontent.com/u/26305751/flxmap-gasparenet2.png

    Something is removing your title attribute from the shortcode. Can you please verify that the double-quotes in your shortcode really are just simple double-quotes, not "fancy" / curly quotes? Go to HTML view in the post editor and select each double-quote, then press the " key.

    If that fails, please try with a default WordPress theme like TwentyTwelve; it could be something your theme is doing.

    cheers,
    Ross

  9. GaspareNet
    Member
    Posted 2 years ago #

    Now it works!
    The problem was tag em
    [flexiblemap center = "44.755937,9.376527" width = "920" height = "300" zoom = "16" <em> title = "Farm" </ em> directions = "true" hidestreetview = "false"]

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    Now it's perfect!
    thanks for everything!

  10. webaware
    Member
    Plugin Author

    Posted 2 years ago #

    Excellent, I was sure it would be something simple like that. Best of luck with the site!

    cheers,
    Ross

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Flexible Map
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.