Check for Empty mashup – display something else Home › Forums › MapPress Support › Check for Empty mashup – display something else Tagged: mashup empty conditional This topic has 1 reply, 2 voices, and was last updated 10 years, 5 months ago by Chris. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts August 17, 2012 at 9:22 am #10225 lbwebParticipant I’m using the mashup template code: global $mappress; $atts = array( ‘width’=>300, ‘height’=>460, ‘show’ => ‘query’, ‘show_query’ => ‘post_type=locations&posts_per_page=-1&meta_key=wpcf-locstate&meta_value=’ . $stateViewing ); echo $mappress->shortcode_mashup($atts); is there a way to not show the map if there are no POIs from the query and show different content instead? August 17, 2012 at 11:22 am #10227 ChrisKeymaster Hi, Sorry, that’s not possible in the current version. What would you want to see instead of the empty map? For example, one approach would be to show the map but instead of listing the locations print “No results”. Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In