• Resolved Jasnick

    (@jasnick)


    I’m having the same issues as previous posters in trying to increase the amount of text I can put in the home page slider black box.
    I changed the $excerpt = substr($excerpt, 0, 150); to 300 in the parent functions.php but it has made no difference.

    Does anyone have any ideas? Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Template Express

    (@danstriker)

    Hello,

    in the functions.php file under * Implement excerpt for homepage slider
    */
    change the following line: $excerpt = substr($excerpt, 0, 150);

    Thread Starter Jasnick

    (@jasnick)

    I notice in another post you replied to you mention that some things need to be removed from functions.php:
    “To have full length text remove the following from functions.php:
    $excerpt = substr($excerpt, 0, 150);
    To remove the last word truncation reove the following from functions.php:
    $excerpt = substr($excerpt, 0, strripos($excerpt, ” “));”

    Thread Starter Jasnick

    (@jasnick)

    I followed the above instructions and now it is as it should be

    Thanks!

    Do you know how to have no text at all so its just an image that shows?

    Theme Author Template Express

    (@danstriker)

    Add the following style:

    .caption_wrap {
    display: none;
    }
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Functions.php – text length in slider’ is closed to new replies.