diff --git a/pcf-wp/template-cat-page.php b/pcf-wp/template-cat-page.php new file mode 100644 index 0000000..81afdf9 --- /dev/null +++ b/pcf-wp/template-cat-page.php @@ -0,0 +1,19 @@ + 'my-category-slug', +); +$query = new WP_Query( $args ); +if ( $query->have_posts() ) : + while ( $query->have_posts() ) : $query->the_post(); + // your post content here + endwhile; + wp_reset_postdata(); +else : + // no posts found +endif; +?> +