Skip Navigation

[Resolved] What is the difference between Views and WordPress Archives?

This thread is resolved. Here is a description of the problem and solution.

Problem: What is the difference between Views and WP Archives?

Solution:
The main difference between Views and WP Archives is that a View can be placed in any arbitrary location on your site. It can be placed in a post, or in a Page, or in a template, or in an archive, etc. WP Archives cannot be placed in arbitrary locations, they are assigned to specific archive URLs that are designated automatically by WordPress. By default, WordPress creates archive URLs that include lists of posts. Archives are generated and displayed by WordPress automatically for post types, taxonomy terms, author archives, post archives by year/month/date, etc. WordPress automatically displays those archives for you at a standardized URL.

A Toolset WordPress Archive must be displayed at a URL designated by WordPress for displaying an archive.

There are a few technical differences between WP Archives and Views as well. These two differences are probably the most important:
- WP Archives are filtered automatically depending on the type of archive. For example, a taxonomy WP Archive for a custom taxonomy term "book" will be filtered by the term "book" automatically, you do not need to add such a taxonomy term filter to the WP Archive. All the posts displayed in that archive will have the term "book" applied. However, if you create a View of the same post type and place it inside the term WP Archive, the View results will not be automatically filtered by the "book" term. All posts would be displayed in that View, and you would have to add that term filter manually to only show posts with the term "book" in the View results.
- Distance filters are not currently available for WP Archives. Distance filters only work in Views that display posts of some type

Relevant Documentation:
https://toolset.com/glossary/archive/

This support ticket is created 3 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by dimitrisb-2 3 years, 11 months ago.

Assisted by: Christian Cox.

Author
Posts
#1901383

Another question that might help me, Views vs Archives ! What is the difference?

Looking at the hierarchy https://developer.wordpress.org/files/2014/10/Screenshot-2019-01-23-00.20.04.png , If I create a view it essentially creates an archive-post-type which overrides archive.php , isnt that correct?

#1902895

The main difference between Views and WP Archives is that a View can be placed in any arbitrary location on your site. It can be placed in a post, or in a Page, or in a template, or in an archive, etc. WP Archives cannot be placed in arbitrary locations, they are assigned to specific archive URLs that are designated automatically by WordPress. By default, WordPress creates archive URLs that include lists of posts. Archives are generated and displayed by WordPress automatically for post types, taxonomy terms, author archives, post archives by year/month/date, etc. WordPress automatically displays those archives for you at a standardized URL.
https://toolset.com/glossary/archive/

A Toolset WordPress Archive must be displayed at a URL designated by WordPress for displaying an archive.

There are a few technical differences between WP Archives and Views as well. These two differences are probably the most important:
- WP Archives are filtered automatically depending on the type of archive. For example, a taxonomy WP Archive for a custom taxonomy term "book" will be filtered by the term "book" automatically, you do not need to add such a taxonomy term filter to the WP Archive. All the posts displayed in that archive will have the term "book" applied. However, if you create a View of the same post type and place it inside the term WP Archive, the View results will not be automatically filtered by the "book" term. All posts would be displayed in that View, and you would have to add that term filter manually to only show posts with the term "book" in the View results.
- Distance filters are not currently available for WP Archives. Distance filters only work in Views that display posts of some type

#1902999

My issue is resolved now. Thank you!