Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter riverlan

    (@riverlan)

    It worked! Thank you!

    Code follows the house someone needs:

    <?php query_posts( array (‘post_type’ => ‘imovel’, ‘meta_key’ => ‘transacao’, ‘meta_value’ => ‘venda’) ); ?>
    <?php echo GeoMashup::map( ‘map_content=contextual’ ); ?>
    <?php wp_reset_query(); ?>

    Thread Starter riverlan

    (@riverlan)

    Thanks for the help.

    Could filter the posts, but now appears several maps.

    See the code below:

    <?php query_posts( array (‘post_type’ => ‘imovel’, ‘meta_key’ => ‘transacao’, ‘meta_value’ => venda) );?>
    <?php while (have_posts()) : the_post(); ?>
    <?php echo GeoMashup::map( ‘map_content=contextual’ ); ?>
    <?php endwhile;?>

    How to solve?

    riverlan

    (@riverlan)

    Fonte: http://forum.zwame.pt/archive/index.php/t-277720.html

    Antes da tag </head>

    <script type=”text/javascript”>
    <!–
    function clean(it){
    if (it.defaultValue==it.value) it.value = “”;
    }
    function rest(it){
    if (it.value == “”) it.value = it.defaultValue;
    }
    //–>
    </script>

    Na pagina plugins/contact-form-7/modules/text.php subistitua a linha 91 onde esta:

    ‘<span class=”wpcf7-form-control-wrap %1$s”><input %2$s />%3$s</span>’,

    por

    ‘<span class=”wpcf7-form-control-wrap %1$s”><input onfocus=”clean(this)” onblur=”rest(this)” %2$s />%3$s</span>’,

Viewing 3 replies - 1 through 3 (of 3 total)