Skip to content

Commit

Permalink
altera limite de caracter dos titulos
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagolamonte committed Jul 25, 2024
1 parent a7b8e06 commit b59a809
Show file tree
Hide file tree
Showing 2 changed files with 300 additions and 300 deletions.
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 = 103; // Defina o número máximo de caracteres
$max_length = 112; // Defina o número máximo de caracteres
if (strlen($title) > $max_length) {
return substr($title, 0, $max_length) . '...';
} else {
Expand Down
Loading

0 comments on commit b59a809

Please sign in to comment.