Support » Themes and Templates » How to display title and first 100 character

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    (@esmi)

    Forum Moderator

    Try something like:

    // Increase excerpt length
    function my_excerpt_length($length) {
    	return 100; // Or whatever you want the length to be.
    }
    if( is_category() ) add_filter('excerpt_length', 'my_excerpt_length');

    in your theme’s functions.php file.

    Thank you for your answer, but nothing happend…
    Do you know some other method..
    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to display title and first 100 character’ is closed to new replies.