forked from dimsemenov/Touchfolio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle-ds-gallery.php
33 lines (28 loc) · 905 Bytes
/
single-ds-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
<?php
/**
* The Template for displaying gallery (albums) post type
*
* @package dsframework
* @since dsframework 1.0
*/
get_header(); ?>
<div id="primary" class="site-content">
<div id="content" role="main">
<div id="main-slider" class="two-dim-slider">
<div class="slider-data">
<ul class="two-dim-albums-list">
<?php while ( have_posts() ) : the_post(); ?>
<?php echo 'dima'; global $wp_query; ?>
<?php get_template_part( 'content', 'ds-gallery' ); ?>
<div class="gallery-posts-navigation">
<?php previous_post_link('%link', $wp_query->max_num_pages); ?>
<?php next_post_link('%link', $wp_query->max_num_pages); ?>
</div>
<?php endwhile; ?>
<?php wp_reset_postdata(); ?>
</ul>
</div>
</div>
</div><!-- #content -->
</div><!-- #primary .site-content -->
<?php get_footer(); ?>