If it’s the home page, WordPress will look for the following files in this order and use the first one it finds:
1. front-page.php
2. home.php
3. index.php
WordPress template hierarchy is described in detail here:
https://developer.wordpress.org/themes/basics/template-hierarchy/
This article explains how WordPress determines which template file(s) to use on individual pages. If you want to customize an existing WordPress theme it will help you decide which template file needs to be edited.
Related Posts:
- Link to specific Customizer section
- How do I change the header image height in Twenty Seventeen?
- When cropping a header image, retain meta data (i.e. name, description, etc.) from original image?
- How to create a new theme from scratch?
- Adding a Template to the Page Attributes Panel for both Posts and Pages?
- How do you change the theme location?
- How to see files in directories in “Edit Themes” screen
- WordPress generating 404 on .mp4 file in theme folder
- How do I put my comment form above the comments?
- Are custom inner theme folders in any way overridable by child themes?
- How to reverse the pagination numbers of an archive?
- Changing the title of post with code
- Why do Trackbacks/Pingbacks not appear below my posts/pages?
- Theme Customizer – How to create a sub panel
- Setting a static home page and blog page without using the settings
- During theme installation theme upload failed
- How to configure PoEdit to pick up translation string?
- how to remove padding from left and right side? [closed]
- Use a different template/theme if mobile only on home page
- Can i have a single wordpress site to have two themes ( one for pc other for mobiles)
- Translated my theme (translation not showing up)
- How to use get_page_by_title() with qTranslate?
- Changing $before_widget for certain widgets
- Should a child theme share the same theme options row as the parent, or should it have it’s own options row?
- Multi-level page hierarchy
- loss of theme options while site deployment in production
- How to install WordPress theme and configure it? [closed]
- How do I get rid of or change the footer in my child theme?
- Switching a Site to WordPress and Leaving It Live Until Ready
- How can I make some themes usable only by admins?
- Categories gone after changing theme / demos [closed]
- Own Theme Customizer displays error message when saving, saving still works
- 1 Database for multiple WordPress themes
- Troubles with Walker_Nav_Menu and closing
- Page has a parent and $post->post_parent returns 0
- Translation not working after editing plugin template
- How to apply different themes with custom design in one site?
- How to make Additional css changes global all across the web pages on WordPress website?
- WordPress without a theme – help!
- Problem Installing a Premium Theme– File Permission Issue on a Mac, Local Machine? [closed]
- How to install themes with the demo content?
- Is it good practice moving the main stylesheets after the plugin styles?
- Variant of the same theme for each page
- can’t see aditional themes in control panel
- Configure new installed WordPress in live server
- What’s the default order used by WordPress to load CSS files?
- Where does WordPress get the theme name from to check for updates?
- Hi everybody, I have a problem of search box
- How can I remove all traces of a theme?
- Unable to find translations in WordPress theme
- Updating WordPress Theme Files
- A thin line between native wordpress bahaviour and 3rd party themes
- Using filter in the widget causes fatal error
- Display Pointer only once?
- Theme title in admin shows full path [closed]
- Multiple sub directories for theme template pages
- Is there a way to see how a theme will look before buying it?
- Menu items do not “open” when mouse hover over them?
- From where wp ecommerce is loading plugin theme files?
- Making first post wider than other posts on home page(default)
- My blog suddenly can’t find my stylesheet?
- How to fix Scrape key check failed on WordPress VPS?
- How to push a theme update for a ciustom theme used on multiple independant self hosted sites?
- Removing a widget via theme editor
- theme customizations gone after enabling ssl
- Can’t embed certain youtube videos into theme
- How to customize a section of a widget only on certain pages or page
- How do I get the featured image to sit below the header in the twenty nineteen theme?
- How to use my .mo file in the Divi child theme instead of file in a parent /builder directory?
- How to fix Gutenberg with SiteOrigin page builder deleting content when editing
- Simple filter to change label name of Email Adress to something else
- Basic wordpress search shows no results
- How do I remove search bar that isn’t a widget?
- Changing theme folder name disrupts widgets
- WordPress Customazation API section in section
- TwentyFourteen Theme : Changing grid layout
- How to allow users to switch to the child theme from front end without plugin?
- Change whole theme depending on resolution
- Replacing current theme folder by previous version of the same folder produces “undefined function get_header()” error
- Does not work bookmarklet in the theme Tagology
- How do I block a subdirectory from WordPress theming?
- How to remove the option data of a theme when that theme is removed?
- Resetting Themes Folder to Default
- How to Hide Blog Post Author?
- Convert theme to be based on Bootstrap?
- Include root files into header files
- Adding a wp_head hook from an included PHP file
- Deleting Widgets in sidebar in Panthea theme
- Static posts page is not working
- Cannot use some themes within Managed WordPress of Go Daddy [closed]
- How to track your theme usage on the internet?
- How to add Company Logo to Chosen Theme
- What security risk is not having “default” theme?
- register_nav_menus syntax error, unexpected identifier “register_nav_menus” in
- My theme is not translated
- Wrong theme being activated
- RTL in posts only [closed]
- Blocking Google Fonts in wordpress website
- I am unable to remove “© 2022 My Blog | PopularFX Theme ” from footer [closed]
- Workaround AJAX calling without directly calling WordPress backend (Admin dashboard) because it is restricted to the end user (the public)