Fix text after event

This commit is contained in:
Vencislav Atanasov 2024-10-30 21:40:48 +02:00
parent 483c563526
commit 1d7cfbf100
2 changed files with 9 additions and 1 deletions

View File

@ -65,6 +65,13 @@ if ($isBeforeEvent) {
if ($isAfterEvent) { if ($isAfterEvent) {
?> ?>
<style>
.after_event {
text-align: center;
}
</style>
<div class="after_event">
<?php e_('after_event'); ?> <?php e_('after_event'); ?>
</div>
<?php <?php
} }

View File

@ -388,6 +388,7 @@ if (function_exists("pll_register_string")) {
pll_register_string('countdown_days','countdown_days'); pll_register_string('countdown_days','countdown_days');
pll_register_string('countdown_hours','countdown_hours'); pll_register_string('countdown_hours','countdown_hours');
pll_register_string('countdown_minutes','countdown_minutes'); pll_register_string('countdown_minutes','countdown_minutes');
pll_register_string('after_event','after_event');
} }
add_filter( 'wp_title', 'wpdocs_hack_wp_title_for_home' ); add_filter( 'wp_title', 'wpdocs_hack_wp_title_for_home' );