index.php
and archive.php
might be the same but don’t have to be the same. index.php
will display your blog post archive and in the absence of archive.php
(or other more specific archive files) it will display your date, author, etc. archives as well. But it doesn’t have to.
You can, if you want, display your archived differently that your main blog index. That is the point of those specialized files– they allow you to alter the look of specific pages without having to write complicated conditionals into the index.php
file.
The difference between the two files is what you make of it. That difference can be a lot or none.
Reference
Related Posts:
- How to Get The Excerpt of the page that displays Blog Posts
- Is there a way to multiply archive loop results sequentially?
- How to prevent archiving and search engine caching in a free WordPress blog?
- Check if current page is the Blog Page
- Sort results by name & asc order on Archive.php
- Default archive URL wordpress
- Increase number of posts in archive page
- How do I remove unwanted pages like archive, search, etc.?
- Show Default Editor on Blog Page ( Administration Panel )
- How can I lock down an old wordpress install I don’t intend to update?
- 404 Error On Category and Tags Pages
- How do I place content on archive pages but not on main page?
- WordPress Posts By Date/Day?
- I put my blog on a subpage, how do I get page title?
- How can I get the Month Name from Archive?
- Preventing 404 error on empty date archive
- is_archive() returns false on the archives page
- Archive by Year
- Archive widget – limit number of months to 12
- How do I visit archive-post.php?
- How do I make wp_get_archives show me months where only pages were created?
- widget should display post archive by year and on click also by month
- Sort custom-posts in archive.php via meta-key?
- Including post_type = ‘wiki’ in author archives
- Permalink: postname EXCEPT for blog
- Output yearly archive within a page
- Create a month by month archive of pages (not posts)
- index.php template is used instead of blog page
- How to show specific year archive into dropdown list
- How to change the permalink structure of a master page?
- How to change the link structure of the homepage?
- Archive filtering posts by year and month
- How to get the date dynamically from archive.php to date.php?
- How to make a custom Archive Page
- Making next_posts_link(); return posts by month
- Count posts for each year
- How can I change the way dates shown in the archive widget?
- display archive as collapsing links
- how do I get the date in a date archive page
- How can I get the ID for an archive page? [closed]
- if in_category on archive.php
- Archive in sidebar with dropdown list of Year – Month – Day
- Arrange and separate posts
- How can I organize/create an archive listing by Year and month
- Change behavior depending on content length
- How to display blog posts on a dedicated page?
- Customize first page of category
- How to edit archive page’s content inside wordpress dashboard?
- Cache previous versions of website?
- Archive pages for posts based on their taxonomy?
- front end publishing not working on front-end page
- How to show static placeholder when less post elements in archive page?
- How can I get archives for specific category without category_base in the url?
- condition for only if is archive for default post type
- Show only post titles in archives?
- Remove author archive
- Preview Post/Custom Post types in Archive
- if there is only one post in the category, directly open
- How to hide a post from archives
- How to disable monthly archive
- Displaying year, month and day archives differently
- How do I make the homepage as the blog page?
- Create a front page template and separate page for posts?
- What’s wrong with my date_query?
- How we display Archives for specific categories
- Blog Posts not showing title
- When i try to open archive pages i get a 404 error
- How to Create Custom Archive page
- Does only custom post type have post type archive pages?
- How to create Blog Post Specific Widget
- Modify text after post count
- Show the page title on blog page
- How to show year/month archive including months with no posts
- Displaying Archives List
- Archive links don’t work when clicked
- Custom archives function
- Page is displaying blog archives
- terms_description and admin problem
- wp_get_archives() display months even if there is no posts
- how do I encode links to specific archive searches?
- Some archive by year page return 404
- Group Posts by Category in Monthly Archive
- Loop through years and months in WordPress archives
- Dropdown to select posts by month and then displaying those posts in the archive page
- If one taxonomy contains the same term as another then display post
- How to filter by date & a specific custom post type post-WP 4.4?
- Author archive doesn’t work [closed]
- Having a problem with Next and Previous Links
- Custom post type archive page thinks I’m not logged in
- How to conditionally check for author archive when is_author() fails to work because the author has no posts
- Is there a better way to do headings for (all) archives?
- Date Archive pages 404 error
- ‘Archive’ folder for posts and pages
- Checking if a specific date archive is being displayed
- Constructing An if Statement with is_category(); in archive.php
- Filter post by clickable year [duplicate]
- next and previous year month and day for archive page
- WordPress Blog – Grid View
- Wrap the “show_post_count” between div
- Is a list page usually called an archive page in WordPress?