Home › Forums › WP RESIDENCE – Real Estate WordPress Theme FORUM › Price Label is too long
This topic contains 1 reply, has 2 voices, and was last updated by Roxana 2 years, 7 months ago.
on rents my client uses $price_label which are too long to display on the listing. Any idea how I can shorten this.
I have tried this a a test but it doesn’t work
$short_label = (strlen($price_label) > 13 ) ? substr($price_label,0,13).'...' : $price_label;
How can I edit the line print $price.' '.$price_label;
print $price.' '.$price_label;
Thanks a lot in advance!
Thank you for your message.
We have a forum that can help. I contains instructions for long prices. http://wpestate.org/forums/topic/case-long-price/
You must be logged in to reply to this topic.