I'm trying to remove certain part of the post if:
property-type&tag_ID=13
The content I'm trying to hide is:
<div class="single-property-meta clearfix status-<?php echo $status_id; ?>-text">
<?php
$meta_size = get_post_meta( $post->ID, 'property_size', true );
**$meta_bedrooms = get_post_meta( $post->ID, 'property_bedrooms', true );
$meta_bathrooms = get_post_meta( $post->ID, 'property_bathrooms', true );
$meta_garages = get_post_meta( $post->ID, 'property_garages', true );
$meta_address = get_post_meta( $post->ID, 'property_address', true );**
?>
<span class="meta-size"><i class="ico-size"></i><?php echo $meta_size; ?></span>
**<span class="meta-bedroom"><i class="ico-bedroom"></i><?php echo $meta_bedrooms.'<span class="meta-hidden">'.__( ' Bedrooms' ).'</span>'; ?></span>
<span class="meta-bathroom"><i class="ico-bathroom"></i><?php echo $meta_bathrooms.'<span class="meta-hidden">'.__( ' Bathrooms').'</span>'; ?></span>
<span class="meta-garage"><i class="ico-garage"></i><?php echo $meta_garages.'<span class="meta-hidden">'.__( ' Garages').'</span>'; ?></span>**
<span class="meta-print visible-desktop"><i class="ico-print"></i><span class="print-hidden"><a href="javascript:window.print()"><?php echo __( 'Print this page'); ?></a></span></span>
<span class="meta-status"><?php echo $property_status; ?></span>
</div>
Any help would be welcome, I know I have to use some sort of a IF statement to show the content only IF the ID is = 13. All I have right now is this:
if ($property-type&tag_ID=13) {
}