Add before and after texts to countdown

This commit is contained in:
Vencislav Atanasov 2024-10-24 23:43:03 +03:00
parent 25132d2cc2
commit 3f465a92e6
2 changed files with 4 additions and 2 deletions

View File

@ -27,7 +27,7 @@ if ($blog_slug === '2024') {
</style>
<br><br>
<div class="countdown">
<?php e_('countdown_text'); ?>
<?php e_('countdown_text_before'); ?>
<table>
<tbody>
<tr class="digits">
@ -42,6 +42,7 @@ if ($blog_slug === '2024') {
</tr>
</tbody>
</table>
<?php e_('countdown_text_after'); ?>
</div>
<?php
}

View File

@ -383,7 +383,8 @@ if (function_exists("pll_register_string")) {
pll_register_string('tba','TBA');
pll_register_string('feedback','Submit feedback');
pll_register_string('about_event','about_event');
pll_register_string('countdown_text','countdown_text');
pll_register_string('countdown_text_before','countdown_text_before');
pll_register_string('countdown_text_after','countdown_text_after');
pll_register_string('countdown_days','countdown_days');
pll_register_string('countdown_hours','countdown_hours');
pll_register_string('countdown_minutes','countdown_minutes');