Remove Price Ticket for Zero Value Listing (CP3.1.1)
If you want to remove the price tag for $0 ads, in CP 3.1.1 go to the theme-actions.php file and look for lines 19-21;
<div class="price-wrap">
<span class="tag-head"> </span><p class="post-price"><?php if ( get_post_meta( $post->ID, 'price', true ) ) cp_get_price_legacy( $post->ID ); else cp_get_price( $post->ID, 'cp_price' ); ?></p>
</div>
and replace with;
<div class="price-wrap">
<?php if (get_post_meta($post->ID, cp_price, true) != "") : ?>
<span class="tag-head"> </span><p class="ad-price"><?php if(get_post_meta($post->ID, 'price', true)) cp_get_price_legacy($post->ID); else cp_get_price($post->ID); ?></p>
<?php endif ?>
</div>
Sample can be seen at
Business Classifieds, Essex, London, UK, Worlwide