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?
- How can i display the content in plaintext
- How to force excerpts / teasers in the loop
- Why am I being limited to ten posts on a custom loop?
- Ajax loop in sidebar to load post titles/categories
- wordpress post loop in javascript
- How to iterate through database until it find a match
- Loop through pages with specific template
- Loop starts from the beginning with second while loop on author.php
- wordpress change the loop order by dynamic value
- Single page site (WordPress) including posts
- Meta Query with spaces in value?
- Global variable $post returning incorrect object
- A loop with all articles with certain text strings in tags
- How can I create a legend (Key) like the one in the footer on WordPress StackExchange
- Styling text and images in the_content()
- How do I use AJAX Query in my posts loop?
- Output loop leveraged shortcode twice on one page
- Using Javascript for Looped Content
- Added if statement to loop
- How to get The Loop working with $wpdb->get_results()
- Making a query to the DB using same parameters of loop
- Group posts by date with a list
- Add class to last 3 posts in loop
- Will only show the first 10 wordpress posts instead of all my posts
- WP Loop. If featured image is a panorama (3:1 ratio) execute some code
- displaying recent comments outside loop without plugin
- get_the_ID not returning correct ID value
- Create a loop on my pages with new “WP_Query”
- Include future posts in tags and in search
- loop inside the foreach
- How to put a block of code between [shortcode][/shortcode] in do_shortcode()?
- current-user_can not working in loop
- How can I access a post’s feature image outside the loop?
- Creating ‘posts page’ loop based on the page itself
- Changing wp_link_pages() to “Next Page” and “Previous Page” buttons?
- Multiple loops for plugin
- Static Website No Titles But Still Nav
- Only Show Excerpt After First 3 Posts
- Do not show child pages within a file page
- How to get all multi-select user meta values and add them to an array?
- Include only one category but Exclude if is in a category from loop
- Get child taxonomies in loop
- WordPress Multiple Loop: Home/Archives Page, with pagination
- Placing the content of one post in two side by side columns, newspaper style
- One loop for sticky, one for all the rest – how, without specifying category?
- Pass WP post content to a jQuery plugin (Fancybox)
- Showposts doesn’t show the number of posts indicated
- Custom Page Template and Category Exclusion
- How to split the loop every 2 and 5 results? [closed]