Reply To: Mashup Popup template

Home Forums MapPress Support Mashup Popup template Reply To: Mashup Popup template

#18315
monsieurgraphiste
Participant

If calculation is not possible, i just need another function.

 

if a custom_post_type is from taxonomy value i need to add text to price label

– location i need to add / month

– summer location /night.

Is it possible to add this to the mashup-popup template ?

<span class=”price label label-warning”> {{poi.props.annonce_prix}} € <?php if ( has_term( ‘location’, ‘offre’ ) ) echo ‘<small>/ mois</small>’; ?> <?php if ( has_term( ‘location-saisonniere’, ‘offre’ ) ) echo ‘<small>/ nuit</small>’; ?></span>

Thank you