Make WordPress Core

Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#61868 closed defect (bug) (invalid)

WordPress Version 6.6.1 home.php not working

Reported by: chandra08's profile chandra08 Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.6.1
Component: Themes Keywords:
Focuses: Cc:

Description

I have home.php file inside my own developed theme. But, the home.php not detected and show archive.php instead. Can you please check it out? Thank you!

Change History (2)

#1 @poena
6 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi @chandra08 and welcome to WordPress Trac!

This ticket system is for requesting features and reporting bugs in WordPress core.
For general support with locating bugs and theme development, please use the support forums:
https://wordpress.org/support/forum/wp-advanced/

I am not able to reproduce the problem.
The information provided in the ticket is not enough to troubleshoot the issue or determine whether the bug is in the theme or in WordPress. The bug should first be tested with different themes (and without plugins installed) to rule out the possibility that the problem is within this custom theme.

Please return to this ticket if you are able to share more detailed information about the issue, including step-by-step instructions on how to reproduce it.

#2 @mi5t4n
6 months ago

Hello @chandra08,

Welcome to WordPress Core's Trac!.

I too could not replicate the issue. Could you check if the theme is a block/FSE theme or not. If it is then, the templates are stored under the templates directory. Only, non-fse themes can have PHP templates.

Note: See TracTickets for help on using tickets.