diff --git a/wp-content/themes/aerospace/archive-data.php b/wp-content/themes/aerospace/archive-data.php index bac064d..aa3227d 100755 --- a/wp-content/themes/aerospace/archive-data.php +++ b/wp-content/themes/aerospace/archive-data.php @@ -7,6 +7,13 @@ * @package Aerospace */ +$args = array( + 'post_type' => 'data', + 'posts_per_page' => -1 +); + +$result = new WP_Query($args); + if ( get_archive_top_content() ) { $description = get_archive_top_content(); } else { @@ -23,56 +30,71 @@ get_header(); ?>
-
- -
- + + + + + + + + + + + + have_posts()) : $result->the_post(); + get_template_part( 'template-parts/content-data' ); + endwhile; + ?> + + +
+ - - - - - - - - + endif; ?> + + + - +