-
Notifications
You must be signed in to change notification settings - Fork 84
/
archive-download.php
59 lines (48 loc) · 1.06 KB
/
archive-download.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
<?php
/**
* Author: Uriahs Victor
* Created on: 14/07/2021 (d/m/y)
*
* @package Neve
*/
$container_class = apply_filters( 'neve_container_class_filter', 'container', 'download-archive' );
get_header();
?>
<div id= "nv-edd-download-archive-container" class="<?php echo esc_attr( $container_class ); ?>">
<div id="wrapper">
<?php
/**
* Executes actions before the download content.
*
* @since 3.0.0
*/
do_action( 'neve_before_download_archive' );
?>
<div id="nv-edd-grid-container">
<?php
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
get_template_part( 'template-parts/content-download-archive' );
}
} else {
get_template_part( 'template-parts/content', 'none' );
}
?>
</div>
<?php
/**
* Executes actions after the post content.
*
* @since 3.0.0
*/
do_action( 'neve_after_download_archive' );
/**
* Download pagination
*/
neve_edd_download_nav();
?>
</div>
</div>
<?php
get_footer();