-
Notifications
You must be signed in to change notification settings - Fork 1
/
single-proof_gallery.php
78 lines (57 loc) · 1.97 KB
/
single-proof_gallery.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
74
75
76
77
78
<?php
/**
* The template for displaying PixProof Galleries.
*
* @package Timber Lite
* @since Timber 1.0
*/
if ( ! defined( 'ABSPATH' ) ){
exit; // Exit if accessed directly
}
get_header();
if ( post_password_required() ) {
echo get_the_password_form();
} else { ?>
<div class="site-header site-header--placeholder"></div>
<main id="content" class="site-content site-container project_layout-grid <?php echo 'image-scaling--';// . $image_scaling; ?>">
<header class="site-sidebar">
<div class="site-sidebar__content">
<?php
/*
* Project Title
*/
the_title( '<h1 ' . timber_lite_get_post_title_class_attr( 'site-sidebar__text' ) . '>', '</h1>' );
?>
</div>
</header>
<article id="post-<?php the_ID(); ?>" <?php post_class('js-portfolio portfolio project_layout-thumbnails'); ?>>
<?php while ( have_posts() ) : the_post();
/* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) in a template-parts directory and that will be used instead.
*/
the_content();
endwhile; // End of the loop. ?>
<?php
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>
</div>
</div>
</article><!-- #post-<?php the_ID(); ?> .entry-content -->
<div class="site-content__mask mask--project"></div>
</main>
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="bar--fixed">
<div class="project-addthis-container">
</div>
<div class="site-info">
<div class="portfolio__position"></div>
<button class="show-details caption js-details"><span><?php esc_html_e( 'details', 'timber-lite' ); ?></span></button>
</div><!-- .site-info -->
</div>
</footer><!-- #colophon -->
<?php }
get_footer();