-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-players.php
73 lines (68 loc) · 1.8 KB
/
page-players.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?php
/**
* The template for displaying Best players page
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site may use a
* different template.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package poligon22
*/
get_header();
?>
<main id="main" class="is-main players">
<section class="is-breadcrumbs">
<div class="container">
<div class="row">
<div class="col-lg-12">
<nav aria-label="breadcrumb">
<?php
if ( function_exists('yoast_breadcrumb') ) {
yoast_breadcrumb( '<ol style="margin-left:0px;" class="breadcrumb bc-yoast">','</ol>' );
}
?>
</nav>
</div>
</div>
</div>
</section>
<section class="is-photogalery-block container-xxl container-xl container">
<div class="row">
<div class="col-lg-12">
<h2>
Лучшие игроки
</h2>
</div>
</div>
<div class="row mt-3 players-list">
<?php while ( have_rows('players') ) : the_row(); ?>
<div class="col-md-6 col-lg-4 mb-3">
<div class="card bg-image hover-overlay">
<div class="img">
<img src="<? the_sub_field('photo'); ?>" alt="" class="">
<div class="mask"
></div>
</div>
<a href="#" class="btn plus">
+
</a>
<div class="bordered-frame-top"></div>
<div class="bordered-frame-bottom"></div>
<div class="bordered-frame-left"></div>
<div class="bordered-frame-right"></div>
<a class="title">
<? the_sub_field('name'); ?>
</a>
<a class="view">
<? the_sub_field('score'); ?> | <? the_sub_field('place'); ?>
</a>
</div>
</div>
<?php endwhile; ?>
</div>
</section>
<?php
get_footer();