Home › Forums › MapPress Support › Shortcode in category description › Reply To: Shortcode in category description
July 24, 2012 at 12:41 am
#10034
Participant
Hi,
I put this code in the category template file and it works fine:
<?php echo do_shortcode(‘[mashup width="495" height="250"]‘); ?>
But now I show a map in the categories where I have no posts with maps. Couldn’t you add some type of short code to not show the map if there are no spots on it.