WordPress.org

Ready to get started?Download WordPress

Forums

WP Flexible Map
[resolved] HTML and Description Parameter (2 posts)

  1. JAVOB
    Member
    Posted 1 year ago #

    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/

  2. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.