Based on your comment:
1) blog.php What is the file name of your blog custom page template? 2) home.php What is the file name of your front page custom page template?
The answer is simple:
The home.php file name is a reserved file name in the WordPress template hierarchy, and is used by the template hierarchy to render the blog posts index.
So, WordPress is doing exactly what you’ve told it to do. 🙂
Simple solution:
- Rename
home.php(your Front Page template) asfront-page.php - Rename
blog.php(your blog posts index template) ashome.php
Note: you’ll have no need to select either template explicitly, since WordPress will use both automatically. (You need only configure Settings -> Reading properly, which you’ve already done.) So, you can also:
- Remove the
Template:PHP header tag from both files.
Related Posts:
- Page editor missing Templates drop down
- How to edit contents of dynamic_sidebar()?
- I put my blog on a subpage, how do I get page title?
- How to hide/redirect the author page
- Need to give custom page template for each language in WPML
- Templates & CSS – Proper Programming Practice?
- Create Page that uses specific template
- Post formats template
- index.php template is used instead of blog page
- Hide Front-End Admin Bar Including 32 px Spacing
- What is a good way to present templated content in WordPress?
- Adding variable to get_template_part
- How to apply a custom template for posts by default?
- How to move style from template file to section?
- Subpage template
- How to create a wordpress template without using any page
- Advanced Custom Fields – display when specific template used?
- How do I find the directory of a page template?
- Missing ‘Page Attributes’
- how to use custom page template in a page?
- the_excerpt producing empty output
- Conditionally display different images before the content in a page template
- Is there a way to set different post templates for parent posts and child posts in the same post type?
- Change wp-signup.php Page Template
- How to remove the Template drop down, but keep Parent and Order
- Templates have disappeared from drop down lists
- One of my pages uses the archive.php template only. Why?
- Getting pages filtered by template assigned
- Get link to a specific template file [closed]
- Default Template Selected After Changes in Elementor [closed]
- Use same page template for parent and child pages in a theme
- displaying category and subject posts
- How to duplicate a page template but make minor changes to the header?
- Adding Query to Custom Page Template
- get_file_data to read data for Custom Template File?
- Page attributes missing
- wp_enqueue_style and different styles for blog template
- Page template option missing
- How do I get the page template name chosen?
- How can I add text to a specific ‘Edit Page’?
- get_header(), get_footer() from plugin template
- What template is used for viewing Media Library Files?
- Page template for a site from network
- Force WordPress to NOT display the manual excerpt
- Undefined get_header function
- Single-page.php template file name not shown
- How to display custom post type?
- Hard Coding Components on a Client Specific Websites
- Will placing custom templates in sub directory break any native WordPress functionality
- Organize template parts and page templates in folders in regards of template hierarchy
- templates with page teasers Or Featured Items
- Random home page at each refresh between array of page IDs
- Search button click sends to single-custom_post_type instead staying at the same page
- Display a custom 404 page without a redirect
- How can I make custom page templates work on child theme?
- Change Page Template Based on URL Rewrite in WordPress
- Nested Page Template not showing in page attributes
- Creating custom post-listing templates in twentyseventeen child theme
- When to use content-pagename.php?
- Submit form to another template (ugly url)
- Page Templates Used in Custom Post Type
- custom template – override plugin template in child theme – issue with scripts
- Is this the best way to complete disable category archive pages?
- Is there a way to share a template/markup with the JSON API so that it doesn’t need to be declared both in PHP and in JS?
- How to install a wordpress website template on an existing website?
- Custom Archive with Content for Custom Post Type
- Page.php vs Single.php
- My homepage’s width has reduced and I can´t fix it [closed]
- html blog template to wordpress template
- How to duplicate a template in wordpress site editor?
- Custom templates not showing up in template dropdown
- Use [embed] filter in template files
- Is there a WordPress plugin that registers a plugin file as a custom page template?
- How to force TinyMCE in WordPress to replace newlines with tags and not with
- WooCommerce: Change template for single product page
- Setting a custom sub-path for blog without using pages?
- Ways to have multiple front-page.php templates that can be swapped out?
- How to show a under construction page for a domain but still be able to work on index.php?
- Gravity Forms Custom Templates [closed]
- add/apend templates ‘transparently’ via plugin to currently active theme or child theme?
- Programmatically change post templates?
- Gutenberg Editor – Template Doesn’t Match Error
- Is including the loop necessary for page.php? [duplicate]
- TwentyTen: Overloading template.php files vs. get_template_part
- Proper way to use get_the_content() in front-page.php and the content-home.php?
- Load template file without a post type
- Plugin settings page template
- How do you override Post template when using Query Loop block?
- Strange Behaviour with is_home()
- Custom page for WooCommerce’s /product-category/
- Change location of header.php and footer.php
- Routing dynamic numeric slug to custom template
- Is there any way of viewing revision history on files in WordPress?
- Customize profile.php
- Plugin-generated pages use Not Found or Pages Archive templates?
- Template administration Error after WP 4.8 update
- Markup is visible when I view sample data from my template
- if page is parent page redirect to first child with hook / polylang
- Custom template bypassing to pager to index.php
- Custom post template