diff --git a/themes/midia-ninja-theme/library/blocks/src/latest-vertical-posts/view.js b/themes/midia-ninja-theme/library/blocks/src/latest-vertical-posts/view.js index 949335a0..3fdbbb65 100644 --- a/themes/midia-ninja-theme/library/blocks/src/latest-vertical-posts/view.js +++ b/themes/midia-ninja-theme/library/blocks/src/latest-vertical-posts/view.js @@ -16,4 +16,4 @@ document.addEventListener("DOMContentLoaded", function() { slidesToShow: 1 }) }) -}) \ No newline at end of file +}) diff --git a/themes/midia-ninja-theme/library/utils.php b/themes/midia-ninja-theme/library/utils.php index 2758161f..7cd5c79f 100644 --- a/themes/midia-ninja-theme/library/utils.php +++ b/themes/midia-ninja-theme/library/utils.php @@ -776,11 +776,11 @@ function ethos_theme_setup() { */ function limit_title_length_on_home($title) { if (is_front_page()) { - $size = 21; // Número inicial de palavras + $size = 22; // Número inicial de palavras $title = wp_trim_words($title, $size); // Limita inicialmente a 21 palavras // Enquanto o título tiver mais que 100 caracteres e o número de palavras for maior que 1 - while (mb_strlen($title) > 103 && $size > 1) { + while (mb_strlen($title) > 110 && $size > 1) { $size--; // Diminui o número de palavras $title = wp_trim_words($title, $size); // Limita o título a esse novo número de palavras } diff --git a/themes/midia-ninja-theme/style.css b/themes/midia-ninja-theme/style.css index 5ef346fc..9275e118 100644 --- a/themes/midia-ninja-theme/style.css +++ b/themes/midia-ninja-theme/style.css @@ -4,7 +4,7 @@ Theme URI: https://hacklab.com.br/ Author: Hacklab Author URI: https://hacklab.com.br/ Description: Tema base para desenvolvimento de novos sites. -Version: 1.1.48 +Version: 1.1.50 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready