# הסרת תמיכה ב"החלפת תבניות" ובתבניות ייחודיות למובייל

**URL:** https://meta.discourse.org/t/removing-support-for-template-overrides-and-mobile-specific-templates/355668
**Category:** Development
**Tags:** dev-news
**Created:** [4 במרץ,‏ 2025,‏ 3:28pm UTC](https://meta.discourse.org/t/removing-support-for-template-overrides-and-mobile-specific-templates/355668 "2025-03-04T15:28:55Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [4 במרץ,‏ 2025,‏ 3:28pm UTC](https://meta.discourse.org/t/removing-support-for-template-overrides-and-mobile-specific-templates/355668/1 "2025-03-04T15:28:55Z")

</div>

In the past, you could override the `.hbs` template for and Discourse Route or Component by adding an identically named file in the `templates/` directory of your theme and plugin. This was very powerful, but also came with significant maintainability issues.

Therefore, we’ve been recommending against template overrides over the last few years, and officially deprecated them [in November 2024](https://github.com/discourse/discourse/commit/216845e4c73a62e3cafc6a8dfe7eb7bc4de5e55d). Nowadays, the better solution is to use [Wrapper Plugin Outlets](https://meta.discourse.org/t/using-plugin-outlet-connectors-from-a-theme-or-plugin/32727#p-139082-wrapper-outlets-2) to render content in place of core content.

This month (March 2025) we will be introducing an admin warning banner for template overrides, and plan to fully remove support before the end of Q2.

### Timeline

(estimated dates - subject to change)

- ✅ **November 2024** - deprecation introduced

- ✅ **March 2025** - admin warning banner enabled

- ✅ **June 2025** - removal of functionality (targetting w/c 2nd June)

### Upgrading themes / plugins

Theme and plugin developers should refer to [the Plugin Outlet](https://meta.discourse.org/t/using-plugin-outlet-connectors-from-a-theme-or-plugin/32727#p-139082-wrapper-outlets-2) guide to learn more about wrapper plugin outlets. Feel free to open PRs or #Development topics if you’d like to request a new extension point for your use-case.

---

_[View the full topic](https://meta.discourse.org/t/removing-support-for-template-overrides-and-mobile-specific-templates/355668)._
