-
Notifications
You must be signed in to change notification settings - Fork 0
/
category.php
29 lines (25 loc) · 883 Bytes
/
category.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
<?php
/**
* The template to display archive pages for category types
*
* @link https://developer.wordpress.org/themes/template-files-section/post-template-files/#category-php-tag-php-and-taxonomy-php
*
* @package clinton-gorda-theme
*/
?>
<?php get_header(); ?>
<?php the_archive_title(); ?>
<div class="all-projects-flex-container">
<?php
$args = array(
'post_type' => 'clints-projects',
'posts_per_page' => 15,
'order' => 'DESC',
);
$loop = new WP_Query($args);
while ( $loop->have_posts() ) {
$loop->the_post();
get_template_part('template-parts/content', 'portfolio');
}?>
</div>
<?php get_footer(); ?>