• Resolved Pat Satanus

    (@pat-satanus)


    Hi there.

    I use evolve lite 3.0.3 on wp 4.0 (Homepage: https://www.bierteufele.de) and I want to change the posts slider. I only want to show the slider title and the “read more” button. For that, I want to hide the slider description.

    Anyone got an idea? I′ve searched for hours, but haven′t find a solution.

    thx4 support.

    So long…
    Pat

Viewing 1 replies (of 1 total)
  • Thread Starter Pat Satanus

    (@pat-satanus)

    OK, solved it so far. I still can′t hide the description, but I could change the length.

    In basic-functions.php you′ll find this one:

    <?php $postexcerpt = get_the_content();
    $postexcerpt = apply_filters('the_content', $postexcerpt);
    $postexcerpt = str_replace(']]>', ']]>', $postexcerpt);
    $postexcerpt = strip_tags($postexcerpt);
    $postexcerpt = strip_shortcodes($postexcerpt);
    
    echo evltruncate($postexcerpt, 180, ' ...');
     ?>

    Just change the 180 into the number of chars you want(i take 54, whyever…).

    I know, it′s quick and dirty, but I don′t have any other ideas so far. Also, I still ponder how I can display a line break.

Viewing 1 replies (of 1 total)
  • The topic ‘Don′t show Slider Description in Post Slider’ is closed to new replies.