As @Milo told me in the comments, the problem lies in the fact, that the archive template shouldn’t be applied to a page, but left untouched.
That way WordPress will still know which template to use for displaying an archive but you can’t access the template itself, which means it will not display itself in the query.
Related Posts:
- First archive page with a few posts
- Using the Loop to show all levels of subpages under a parent page? Halfway there
- Child Pages Loop
- Get post by page name or slug
- Loop that displays PARENT PAGE & CHILD PAGE & outputs GRANDCHILD PAGE title and content
- Display subpages under parent page as a list within a loop
- Is including the loop necessary for page.php? [duplicate]
- Identify the page being shown while in The Loop
- Show scheduled posts in archive page
- If Loop has odd number of posts on last page Custom style for last post in it
- How do you split multiple-column loop on category archive page?
- single page site with subpages
- Adding active/current class to get_terms list
- How to loop through ALL pages?
- Loop and Page template : my WP_query don’t take args
- Create a loop that gets pages with their template
- Display content of page template (get_page)
- Loop after page content
- wp alchemy multiple image uploader output images to template
- Duplicated posts on category page
- Order archive results by post id in custom taxonomy template
- Default ‘post’ post type archive slug?
- Get Page content to displayin Bootstrap Modal
- How do I make a variable available inside partials?
- Exclude page name from loop
- Stepping through a foreach loop – adding +1 to the end of it so next time it loops it starts on item 2
- Include multiple page ids in loop
- Get post offset/posts page offset in single post page (outside the loop)
- Tags on page (not post) returns nothing – why? Improved clarified question!
- Query Nopaging action not having effect
- add offset to archive page
- Exclude page from loop results
- Modify loop output for a specific list of categories
- Print the whole page?
- WP_Query is only looping home page, not pages
- How do i create a list-posts-page?
- WordPress: query pages except remove one page
- Is it possible to set archive.php instead of index.php to display blog?
- Duplicate posts on archive page
- is it bad to copy the loop for a template?
- Get top Page IDs from menu and cycle through their child pages on a scroller
- Search – Check if post is a page on search page
- Archive sorted by month – separate
- Structure and Display Content from Multiple Pages on Single Page
- Creating a archive for taxonomy terms, not the term results
- Making a specific page wordpress compatable that is not index
- Default Template infinite loop of Title
- Have multiple loops on a page appear after/between page content
- get_template_part() to render single page Theme
- wordpress showing all posts instead of date range
- get_page() unlike Loop returns the post content without html tags. How can I fix this?
- Alternatives to archive.php
- Show all child categories associated to post ID within loop
- Remove posts_orderby filter then add it back in
- the_title() Returns the page title instead of the post
- Set order acs and no paging for archive page
- Strange problem with wp_get_attachment_image_src database (db) query count
- How to include posts from one category, into a separate category of posts?
- how do i make this loop work
- Active class for my flexslider in WordPress
- Issue in If else condition [closed]
- Foundation modal in wordpress php loop
- Link Button url count php and wordpress
- Sorting posts to make those with post thumbnail show up first
- Best way to check if a post with specific meta exists
- ACF field not appearing correctly in loop
- pre_get_posts main_query not displaying after applying tax_query filters
- archive.php can’t find categorized posts
- WP update_post_meta link loop
- WordPress loop only displays 5 articles max?
- Limit article to 100 characters. Can’t use the_excerpt…
- Next 10 posts data of currently viewing post in blog page
- Return only content in excerpt field in loop
- Ajax category pagination problem
- How do I aproach this?(for sale, for lease, sold->move something from a category to another)
- Unable to login + Redirect loop on mobile
- Posts are being displayed from old to new, in ascending order
- Loop in taxonomy for terms and post
- My loop of random posts drags in comments of said random post
- Featured posts and the loop
- Why my title change the last post title in my loop?
- How to fix pagination for custom loops?
- Display single post inside accordion based on form submission results
- WordPress Tags in class
- setup_postdata in “loop-handling” php file called via $.ajax
- Recent posts headlines. How to optimize the loop
- Get child taxonomies in loop
- One page loop issue with posts
- Adding pagination to WP_Query [duplicate]
- Secondary loop cuts off at 10 posts?
- Insert/sticky multiple posts in multiple positions
- Thumbnail of the latest posts page
- Humanmade | Custom meta box class: How to display a repeatable meta box group?
- Running the Loop outside of WordPress
- how to use custom loop in the_content filter
- Can’t print out returned value
- Set loop format & have a loop inside other one
- This webpage has a redirect loop issue with SSL page
- Need a conditional to test if title of parent page matches title of child page
- Buddypress Group Activity Loop Filter activity type [closed]