Skip to content

Commit

Permalink
altera limite de caracter
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagolamonte committed Jul 25, 2024
1 parent b59a809 commit 6229bad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/midia-ninja-theme/library/utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ function ethos_theme_setup() {
*/
function limit_title_length_on_home($title) {
if (is_front_page()) {
$max_length = 112; // Defina o número máximo de caracteres
$max_length = 108; // Defina o número máximo de caracteres
if (strlen($title) > $max_length) {
return substr($title, 0, $max_length) . '...';
} else {
Expand Down

0 comments on commit 6229bad

Please sign in to comment.