Reply To: Categories for Custom Type Posts

Ernest Marcinko
Ernest Marcinko


Only by writing a filter code.
Put this to your theme functions.php file:

function asp_shorten_title( $title ) {
    $length = 20;
    $title= (strlen($title) > $length) ? substr($title,0,$length).'...' : $title;
    return $title;
add_filter( 'asp_result_title_after_prostproc', 'asp_shorten_title' );

This will cut down the title to max 20 characters. You can change the number to anything you want.

Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)