start special project FOREST

This commit is contained in:
argoexpert press
2025-05-29 14:28:34 +03:00
parent 1b83816191
commit 8596dd84bb
9 changed files with 235 additions and 7 deletions

View File

@@ -1,11 +1,17 @@
<?php get_header( 'forest' ); ?>
<div class="content-middle articles-wrapper">
<?php get_template_part('partials/rubrics-mobile'); ?>
<div class="section-title desktop">
<?php if (is_category()) : ?>
<h1 class="section-title__title"><?= get_queried_object()->name ?></h1>
<?php endif; ?>
<?php if (is_category()) :
$current_cat = get_queried_object();?>
<?php if ( $current_cat->name == 'Защита леса — защита будущего' ):?>
<h1 class="section-title__title">Международная научно-практическая конференция<br>«Защита леса — защита будущего»</h1>
<?php else:?>
<h1 class="section-title__title"><?= get_queried_object()->name ?></h1>
<?php endif;
endif; ?>
</div>
<div class="articles-preview">
<?php