riverlan
Forum Replies Created
-
Forum: Plugins
In reply to: [Geo Mashup] Filter By meta_key?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(); ?>Forum: Plugins
In reply to: [Geo Mashup] Filter By meta_key?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?
Forum: Plugins
In reply to: [Contact Form 7] need default value to disappear onclickFonte: 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>’,