-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle-weapons.php
72 lines (67 loc) · 1.6 KB
/
single-weapons.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
<?php
/**
* The template for displaying Weapon item 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 weapons">
<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-weapons-list item container-xxl container-xl container">
<div class="row">
<div class="col-lg-12">
<h3>
Оружие
</h3>
<h2>
<? the_title(); ?>
</h2>
</div>
</div>
<div class="row mt-3">
<div class="col-md-12">
<?
the_content();
?>
<a href="<? the_field('weapon_img'); ?>" data-fancybox="image">
<img src="<? the_field('weapon_img'); ?>" alt="<? the_title(); ?>" class="img-fluid d-block mx-auto w-75">
</a>
</div>
</div>
<div class="row mt-3">
<div class="col-lg-12 d-flex justify-content-center">
<a
class="btn order ml-4 mr-4"
type="button"
data-toggle="modal"
data-target="#order-game"
>
Заказать игру
</a>
</div>
</div>
</section>
<?php
get_footer();