add files

This commit is contained in:
Andrey Kuvshinov
2025-07-09 21:21:17 +03:00
commit 8fc8cbae32
596 changed files with 207566 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<!--[header/branding-erid]-->
<style>
.branding__erid {
position:absolute;
left:.5rem;
top:.5rem;
z-index:99;
background:rgba(255,255,255,.4);
font-size:.6rem;
color:#444;
padding:0 .2rem;
display:block;
}
</style>
<div class="branding__erid">
<?php if(is_category() || is_single() ): ?>
<?php
$category = is_category() ? get_queried_object_id() : (get_the_category( get_queried_object_id() ))[0]->term_id;
$taxonomy_term_token = get_field("advert_token", "category_" . $category );
$taxonomy_term_token_2 = get_field("advert_token_2", "category_" . $category );
?>
<?php if($taxonomy_term_token_2 && date("U") > 1704056401): ?>
<?= $taxonomy_term_token_2 ?>
<?php elseif( $taxonomy_term_token ): ?>
<?= $taxonomy_term_token ?>
<?php endif; ?>
<?php endif; ?>
</div>
<!--[/header/branding-erid]-->