diff --git a/themes/midia-ninja-theme/library/utils.php b/themes/midia-ninja-theme/library/utils.php index 3fb70a82..817c79b3 100644 --- a/themes/midia-ninja-theme/library/utils.php +++ b/themes/midia-ninja-theme/library/utils.php @@ -776,7 +776,7 @@ function ethos_theme_setup() { */ function limit_title_length_on_home($title) { if (is_front_page()) { - $max_length = 100; // Defina o número máximo de caracteres + $max_length = 50; // Defina o número máximo de caracteres if (strlen($title) > $max_length) { return substr($title, 0, $max_length) . '...'; } else { @@ -789,7 +789,7 @@ function limit_title_length_on_home($title) { function limit_excerpt_length_on_home($excerpt) { if (is_front_page()) { - $max_length = 160; // Defina o número máximo de caracteres + $max_length = 150; // Defina o número máximo de caracteres if (strlen($excerpt) > $max_length) { return substr($excerpt, 0, $max_length) . "..."; }