Jake Vanderwerf
2026-05-12 16cb63b05910055c31dca821c86f2eb815da99e3
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
<?php
 
if (!defined('ABSPATH')) {
    exit;
}
 
function jvbRenderGallery()
{
    ?>
    <dialog class="gallery" aria-modal="true" aria-label="Image Gallery">
 
        <div class="wrap col">
            <div class="controls row">
                <button type="button" class="cancel" title="Close Gallery" aria-label="Close Gallery"> <?= jvbIcon('x') ?></button>
                <button class="nav prev" title="Previous image" aria-label="Previous image">
                    <?= jvbIcon('caret-left') ?>
                </button>
 
                <button class="nav next" title="Next Image" aria-label="Next image">
                    <?= jvbIcon('caret-right') ?>
                </button>
            </div>
            <div class="content row">
                <img src="" alt="" class="image-left">
                <img src="" alt="" class="image">
                <img src="" alt="" class="image-right">
                <details>
                    <summary class="row btw">DETAILS</summary>
                    <div class="item-info"></div>
                </details>
            </div>
 
            <div class="favourite"></div>
            <div class="counter"><span id="gallery-index">1</span> / <span class="total"></span></div>
        </div>
    </dialog>
    <?php
}