WordPress.org

Ready to get started?Download WordPress

Forums

adjusting truncate function on post excerpts (4 posts)

  1. tenzijth
    Member
    Posted 2 years ago #

    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.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    As this is a commercial theme and its template files are not publically accessible, you need to seek support from the theme vendors.
    http://www.elegantthemes.com/forum/

  3. deviceseeker
    Member
    Posted 2 years ago #

    I have the same problem ( i GUESS )but I don't want to see the entire post. I want to see just a few lines from it on my main page. to see for ex 10 post but only a few lines from each and their pics.Can u help me?

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    @deviceseeker: It is considered impolite to interrupt another poster's thread. Please post a new topic.

Topic Closed

This topic has been closed to new replies.

About this Topic