WordPress.org

Support

Support » How-To and Troubleshooting » adjusting truncate function on post excerpts

adjusting truncate function on post excerpts

  • Hi,

    I’m trying to change the value for a truncate function. I would like the entire post to be visible (it is a short post) but the truncate function seems to truncate at 230 spaces. I’ve tried changing this value 300-400, but no difference. When I lower it though (e.g. to 20) it does work. Anyone know how to fix this? Here is the code I believe I need to change, but could be wrong:

    code
    $arr[$i][“excerpt”] = truncate_post(500,false);
    /code

    I am using ElegantEstate, file featured.php

    Any help would be much appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘adjusting truncate function on post excerpts’ is closed to new replies.