60 lines
1.1 KiB
PHP
60 lines
1.1 KiB
PHP
|
<?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();
|