forked from gmvi/vera-wordpress-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharchive-galleries.php
53 lines (44 loc) · 1.45 KB
/
archive-galleries.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
<?php
/**
* Galleries archive page
*
*/
get_header();
// Get container type from Wordpress Customizer
$container = get_theme_mod( 'understrap_container_type' );
?>
<div class="container-fluid">
<section class="row justify-content-md-center pb-1 no-gutters">
<div class="col-md-8 text-center">
<h2 class="medium-header">In the Gallery</h2>
</div>
</section>
<?php
$menu_name = 'archive-gallery';
$wrapper_class_name = 'blog-subheader';
include( locate_template( 'partial-templates/centered-submenu.php') );
?>
<div class="<?php echo esc_attr( $container ); ?>" id="content" tabindex="-1">
<div>
<?php
$numOfCols = 3;
$rowCount = 0;
$bootstrapColWidth = 12 / $numOfCols;
$count = 0;
?>
<div class="row justify-content-md-center pt-5 pb-1 no-gutters">
<div class="col-sm-11">
<div class="card-deck pb-2">
<?php include( locate_template( 'partial-templates/blog-list-cards.php') );?>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="blog-pagination" class="row justify-content-between">
<div class="col-md-2 text-center text-md-left"><?php previous_posts_link( '← Newer posts' ); ?></div>
<div class="col-md-2 text-center text-md-left"><?php next_posts_link( 'Older posts →' ); ?></div>
</div>
</div>
<?php get_footer(); ?>