start special project FOREST
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user