Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#55447 closed defect (bug) (duplicate)

2022 theme giving warning for deprecated header and footer.

Reported by: divyesh16coderkube Owned by:
Priority: normal Milestone:
Component: Themes Version: 5.9.2
Severity: minor Keywords:
Cc: Focuses:

Description

We have created template and used 'get_header()' & 'get_footer()' in that but then it displaying deprecated message for them.

Error => Deprecated: Theme without footer.php is deprecated since version 3.0.0 with no alternative available. Please include a footer.php template in your theme. in C:\xampp\htdocs\dvs\miniplanner\wp-includes\functions.php on line 5516

So, how can we use 'get_header()' & 'get_footer()', please let us know.

Change History (1)

#1 @SergeyBiryukov
5 years ago

  • Component General → Themes
  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed

Hi there, welcome to WordPress Trac!

Thanks for the report, we're already tracking this issue in #55023.

Note: See TracTickets for help on using tickets.