How to Manage Excerpt Length in WordPress

Excerpt

This means that whatever text is written in the post in the home page or feed page, it is visible only a little or you want it to be visible as much as you want, then the_excerpt() is used at that time.

How to

Open your active theme’s folder and paste this code where you want to show short text.

<?php
$excerpt = get_the_excerpt();
$excerpt = substr( $excerpt , 0, 300);
echo $excerpt;
?>

then SAVE in Your Theme File.