Atualização do banner

This commit is contained in:
2025-09-14 16:13:19 -03:00
parent cf44b83ad0
commit baea5c69fc
4 changed files with 121 additions and 7 deletions

23
customizer.js Normal file
View File

@@ -0,0 +1,23 @@
/**
* Live-previews para o Customizer do WordPress.
*/
(function ($) {
"use strict";
// Título do Hero
wp.customize('hero_title', function (value) {
value.bind(function (to) {
$('.hero-content h1').text(to);
});
});
// Descrição do Hero
wp.customize('hero_description', function (value) {
value.bind(function (to) {
$('.hero-content p').text(to);
});
});
// Você pode adicionar os botões aqui também, se desejar.
})(jQuery);