-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharchive-events.php
55 lines (42 loc) · 1.69 KB
/
archive-events.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
/**
* The template for displaying archive pages
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package sklh
*/
get_header();
?>
<div class="screener screener--colored-primary">
<section class="news screener__layout" id="news">
<div class="screener__content screener__container">
<div class="screener__header">
<h1 class="screener__title">Ивенты</h1>
</div>
<div class="screener__body">
<div class="events__gallery">
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : ?>
<?php the_post(); ?>
<?php get_template_part( 'template-parts/content', 'events' ); ?>
<?php endwhile; ?>
<?php the_posts_navigation(); ?>
<?php else : ?>
<?php get_template_part( 'template-parts/content', 'none' ); ?>
<?php endif; ?>
</div>
</div>
</div>
<div class="screener__bg container">
<div class="screener__particles-upper">
</div>
<div class="screener__particles-bottom">
<div class="blob js_use-bg" data-use-bg="<?php echo THEME_STATIC; ?>/img/news.insm/blob-1.svg"></div>
<div class="blob js_use-bg" data-use-bg="<?php echo THEME_STATIC; ?>/img/news.insm/blob-2.svg"></div>
</div>
</div>
</section>
</div>
<?php
get_footer();