• Resolved JAVOB

    (@javob)


    Hello, I have this code in my theme:

    <?php
    flexmap_show_map(array(
    	'showinfo' => 'true',
    	'address' => get('oficina_direccion', $oficina),
    	'description' => get('oficina_direccion', $oficina).'<br />'.get('oficina_telefono', $oficina),
    	'html' => "<img src='http://mydomain.com/images/logo.png' />"
    ));
    ?>

    and the description does not make the line break, and does not show me anything in html.

    I wonder if you can use some h1, div, styles (float, padding), strong, br, p, to customize the info pane view.

    Thanks in advance.

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

Viewing 1 replies (of 1 total)
  • Plugin Author webaware

    (@webaware)

    G’day JAVOB, just build your HTML as a single string (including that image) and add it to the ‘html’ attribute instead of the ‘description’ attribute.

    cheers,
    Ross

Viewing 1 replies (of 1 total)
  • The topic ‘HTML and Description Parameter’ is closed to new replies.