Support » Theme: Codilight Lite » Not appears excerpt of articles

  • Hi,

    I am using Codilight Lite,but excerpt of articles are not appeared. ( part of them are appearing ).

    My site is here
    http://hito-ride.com/
    Does anyone knows why not appears?

    I think that anything is wrong in “extras.php”

    function codilight_lite_excerpt( $characters ){
    // $characters = 160;
    $excerpt = get_the_content();
    $excerpt = preg_replace(” (\[.*?\])”,”,$excerpt);
    $excerpt = strip_shortcodes($excerpt);
    $excerpt = strip_tags($excerpt);
    $excerpt = substr($excerpt, 0, $characters);
    $excerpt = substr($excerpt, 0, strripos($excerpt, ” “));
    $excerpt = trim(preg_replace( ‘/\s+/’, ‘ ‘, $excerpt));
    $excerpt = $excerpt.’…’;
    return ‘<div class=”ft-excerpt”>’. $excerpt .'</div>’;
    }
    end

    Best Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not appears excerpt of articles’ is closed to new replies.