WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. GaspareNet
    Member
    Posted 10 months 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 10 months 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 10 months ago #

  4. webaware
    Member
    Plugin Author

    Posted 10 months ago #

    Link?

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

    cheers,
    Ross

  5. GaspareNet
    Member
    Posted 10 months ago #

  6. webaware
    Member
    Plugin Author

    Posted 10 months 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 10 months 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 10 months 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 10 months 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 10 months ago #

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

    cheers,
    Ross

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.