Hello,
you can use the following code snippet to do that:
/**
* Add custom listing offer to default
* set sale and rent.
*/
add_filter( 'wpsight_offers', 'custom_wpsight_offers' );
function custom_wpsight_offers( $offers ) {
// remove sale offer
unset($offers['sale']);
// add lease offer
$offers['lease'] = __( 'for lease', 'wpcasa' );
return $offers;
}
You can find more infos about this here.
And read here how you can use code snippets on your site.
All the best
Thank you so much for your time, this code worked out smoothly!
-
This reply was modified 9 years, 4 months ago by
ntb0493.
Is there a way to customize the button like how the ‘for rent’ looked before? Now it;s showing up gray..
http://treasurecoastcommercialrealestate.com/index.php/listing/2844-se-monroe-street-stuart-fl-34997/