-
Notifications
You must be signed in to change notification settings - Fork 0
/
archive-jetpack-testimonial.php
56 lines (38 loc) · 1.24 KB
/
archive-jetpack-testimonial.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
<?php
/**
* The template for displaying the Testimonials archive page.
*
* @package Edin
*/
get_header(); ?>
<?php $jetpack_options = get_theme_mod( 'jetpack_testimonials' ); ?>
<?php get_template_part( 'content', 'hero' ); ?>
<?php if ( isset( $jetpack_options['page-content'] ) && '' != $jetpack_options['page-content'] ) : // only display if content not empty ?>
<div class="content-wrapper">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<article class="hentry">
<div class="entry-content">
<?php echo convert_chars( convert_smilies( wptexturize( wp_kses_post( $jetpack_options['page-content'] ) ) ) ); ?>
</div>
</article>
</main><!-- #main -->
</div><!-- #primary -->
</div><!-- .content-wrapper -->
<?php endif; ?>
<?php if ( have_posts() ) : ?>
<div id="quaternary" class="grid-area">
<div class="grid-wrapper clear">
<?php while ( have_posts() ) : the_post(); ?>
<div class="grid">
<?php get_template_part( 'content', 'testimonial' ); ?>
</div><!-- .grid -->
<?php endwhile; ?>
</div><!-- .grid-wrapper -->
</div><!-- #quaternary -->
<?php
edin_paging_nav();
endif;
wp_reset_postdata();
?>
<?php get_footer(); ?>