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
Link?
Also, why \29022
? What is it meant to be doing? Maybe the backslash is upsetting something.
cheers,
Ross
@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
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”]
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
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!
Excellent, I was sure it would be something simple like that. Best of luck with the site!
cheers,
Ross