Your address will show here +12 34 56 78

This topic contains 1 reply, has 2 voices, and was last updated by  Roxana 2 years, 7 months ago.

  • Author
    Posts
  • #102416

    mmatos
    Participant

    Hi all,

    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;
      echo $short_label;

    How can I edit the line print $price.' '.$price_label;

    Thanks a lot in advance!

    mmatos

  • #102433

    Roxana
    Keymaster

    Hi,

    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/

    Thank you,
    Roxana

You must be logged in to reply to this topic.