Reply To: Display all current queries on the map

Home Forums MapPress Support Display all current queries on the map Reply To: Display all current queries on the map

#11919
p36p
Participant

I sent you an access with URL and for the tests I have displayed two maps :

——-> one with the snippet you provided :

<?php

$s = isset($_REQUEST[‘s’])?”&s=”. $_REQUEST[‘s’]:””;

$query =”post_type=typefichehotel&posts_per_page=-1″. $s;

echo do_shortcode(‘[mashup query=”‘. $query .'” width=”1050″ height=”350″]’);

echo “<br/>”;

echo “request format: ” . print_r($_REQUEST, true);

?>

(notice: “typefichehotel” is the right name of my custom content, but it search on every types btw)

——-> then one with the simple mashup shortcode :

<?php echo do_shortcode(‘[mashup query=”current” width=”1050″ height=”350″ ]’);?>