You’re a post type that doesn’t exist, there is no Post
post type, did you mean post
?
Sidenotes:
wp_reset_query
is only for use afterquery_posts
you should be usingwp_reset_postdata
instead.- There is no
if ( $loop->have_posts() )
check so if no posts are found there is no message and it looks like the page is broken - This page would be much faster if you used category archives for your category archives, then used
pre_get_posts
to modify the query, instead of a page template and a brand new custom query- if you are doing this on
category.php
orarchive.php
then you’re doubling the number of queries so that you can changeposts_per_page
, usepre_get_posts
to change it instead
- if you are doing this on