Indeed, it is as toscho has said. index.php and style.css are the bare minumum.
Developers like to separate things, though, so instead of having one index.php file to rule all, you’ll find parts like:
header.php
footer.php
sidebar.php
index.php
style.css
functions.php
and additional templates like ones you mentioned in the question.
This page will show you how its done at the minimum level.
Related Posts:
- How to change the default registration email ? (plugin and/or non-plugin)
- TwentyTen: Overloading template.php files vs. get_template_part
- How to add posts list to a page template?
- How to support custom templates on a custom post type?
- new page sidebar-template by default
- Custom templates vs page-slug
- Page attributes missing
- templates with page teasers Or Featured Items
- Theme keeps going to default files [closed]
- how to insert gravity newsletter subscription form in template
- How do I get the size of an attachment file?
- How to get slug of current category in taxonomy template?
- Using WordPress templating for HTML emails
- I put my blog on a subpage, how do I get page title?
- Outputting Canonical Resource URLs Across a Multisite Network?
- wp_trim_words() does not trim the_content() in WordPress
- Restrict a search to a custom post type
- How did you incorporate WooCommerce in your own WordPress theme?
- Correct process for a new Page Template?
- Templates & CSS – Proper Programming Practice?
- A shared custom taxonomy between two custom post types
- Creating a custom category page with pagination
- New Template — copy existing template and change code? [duplicate]
- Make page template that is just an “include” of another?
- Modifying searchform.php and search.php to have two kinds of searches
- Create a WordPress template without navigation and footer
- Template redirect is_tax() not working
- Hide Front-End Admin Bar Including 32 px Spacing
- Passing variables to template parts
- Show template loaded
- Change directory where get_header(), get_footer() and get_sidebar() look for templates
- How can I make my custom templates respect permissions?
- How to replace WordPress sidebars (widget areas) with Gutenberg
- Unable to include a template
- WordPress Template not affecting the working, keeps defaulting to the index.php template
- Turning on the 404 page on localhost
- Checking for page templates in child theme
- Display page content AFTER a loop of posts
- post edit button on front end
- What’s the equivalent of front-page.php for a custom static page?
- Stylesheet comment header: Which header names are mandatory? [duplicate]
- Valid HTML in Template Part
- Why do I get the same excerpt for all items in my RSS feed?
- get_post_metadata() undefined when used in loop in RSS template
- the_excerpt producing empty output
- Problem when linking out to separate file within foreach loop
- Conditional tags or Multiple files
- Cannot edit style.css from admin panel, because the template is looking for style.min.css
- How can I make site-wide content editable, for example footer content
- Can I add a default Block to my custom theme?
- Remove post templates from the selection box menu when creating a single post
- How to convert the WordPress meta box Page Attributes->Page Template dropdown to radio buttons?
- global variables in templates
- Set Title from Custom Template
- Real Time Page Template Preview in WP Admin [closed]
- Best practice to update the file header.php
- page-{slug}.php vs. template-{slug}.php
- Understanding the Template hierarchy
- How to get link to homepage
- How is WooCommerce cart.php template supposed to be used?
- Two exact templates, sidebar showing in one but not the other
- Taxonomy term page going to 404
- How to set page title tag in custom template for non-Custom Post Type?
- Using the same database on another Subdomain
- Page header on specific page is different from the rest [closed]
- Can a link in WordPress contain a query string that is picked up as $_POST
- Is it possible to access plugin data from a custom feed template?
- How can I get all archive-URLs to use the same template?
- How to use a template file to show all post having same metakey
- WordPress archive index page
- Automate configuration after new/hosted installation
- How to get the current category with custom posts
- Force WordPress to load a specific template
- Multiple Post Thumbnails Plugin – Need help with code
- which template does wp_ tag_ cloud point to?
- Pagination problem (plugin wp-pagenavi) with a custom post type?
- Add an anchor link to a ‘plain’ HTML file, without over-writing the entire site?
- Template part including not working
- Parent/Child themes – both CSS files loaded
- front-page.php includes a placeholder text field. How to get rid of it?
- Display a custom 404 page without a redirect
- Template and URL parameter problem
- get_users by role returns all users
- How can I alter a post?
- What is the purpose of the $before and $after arguments on the the_title() function?
- single- and archive- templates not being applied to custom post types, not even after flushing permalinks
- Remove ” Browse Category : ” from Archive title
- When to use content-pagename.php?
- Using external file with WP_USE_THEMES set to false causing 404
- Current URL path variable
- How to install a wordpress website template on an existing website?
- Given a page ID, how to display entire page (header/content/footer/sidebars) from a plugin hook
- Any way to insert text on page from a query results?
- Show page title just from the first child-page in template
- How to know which page/file WordPress is expecting?
- AJAX requests within templates
- Page.php vs Single.php
- Custom template not working for existing pages [closed]
- templates page not showing on gutenberg editor
- How to load php templates from html page (block theme)