I want to make the page display the entire post and not just an excerpt.

I think something in the functions.php file needs changed but I'm not sure what.
I tried changing the 40 to 500 but it didn't change anything.

I think something in the functions.php file needs changed but I'm not sure what.
Code:
// Remove [...] and shortcodes
function mts_custom_excerpt( $output ) {
return preg_replace( '/\[[^\]]*]/', '', $output );
}
add_filter( 'get_the_excerpt', 'mts_custom_excerpt' );
// Truncate string to x letters/words
function mts_truncate( $str, $length = 40, $units = 'letters', $ellipsis = ' …' ) {
if ( $units == 'letters' ) {
if ( mb_strlen( $str ) > $length ) {
return mb_substr( $str, 0, $length ) . $ellipsis;
} else {
return $str;
}
} else {
$words = explode( ' ', $str );
if ( count( $words ) > $length ) {
return implode( " ", array_slice( $words, 0, $length ) ) . $ellipsis;
} else {
return $str;
}
}
}
if ( ! function_exists( 'mts_excerpt' ) ) {
function mts_excerpt( $limit = 40 ) {
return mts_truncate( get_the_excerpt(), $limit, 'words' );
}
}
I tried changing the 40 to 500 but it didn't change anything.