# Force Mobile Homepage

**URL:** https://meta.discourse.org/t/force-mobile-homepage/95705
**Category:** Theme component
**Created:** [8월 27, 2018, 7:03오전 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705 "2018-08-27T07:03:04Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [8월 27, 2018, 7:03오전 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/1 "2018-08-27T07:03:04Z")

</div>

| | | |
| --- | --- | --- |
| ℹ | **Summary** | Force a different homepage for users visiting the site from a small viewport (e.g. mobile) |
| 👓 | **Preview** | [Theme Creator](https://discourse.theme-creator.io/theme/tshenry/force-mobile-homepage) |
| 🛠 | **Repository** | [GitHub - tshenry/discourse-force-mobile-homepage · GitHub](https://github.com/tshenry/discourse-force-mobile-homepage) |
| ❓ | **Install Guide** | [How to install a theme or theme component](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682) |
| 📖 | **New to Discourse Themes?** | [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) |

Install this theme component

Currently the default homepage settings found in the admin panel and user preferences apply to both desktop and mobile. This is a very simple theme component that will allow you to specify a different default homepage for the small viewport version of your Discourse forum.

It is important to note that this will **force** anyone using a small viewport to navigate to the homepage you choose with this theme component. Your users will not be able to override the default homepage for the small viewport context via their user preferences at this point.

## Theme Settings

There is one setting that will allow you to set the alternative homepage to one of the following:

- latest _(default)_
- new
- top
- categories
- hot

## Potential future work ideas

- Allow users to override the default set via this component.

---

<div class="post-metadata">

### Author: ![\_vincent](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/_vincent/32/119557_2.png) [@\_vincent](https://meta.discourse.org/u/_vincent)
#### Post date: [8월 27, 2018, 9:25오전 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/2 "2018-08-27T09:25:12Z")

</div>

Works like a charm. This is great mate!

---

<div class="post-metadata">

### Author: ![maia\_internet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maia_internet/32/122258_2.png) [@maia\_internet](https://meta.discourse.org/u/maia_internet)
#### Post date: [8월 28, 2018, 11:49오전 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/3 "2018-08-28T11:49:02Z")

</div>

Great little component, just what I needed for my community!

Many thanks.

---

<div class="post-metadata">

### Author: ![Cozdabuch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cozdabuch/32/139120_2.png) [@Cozdabuch](https://meta.discourse.org/u/Cozdabuch)
#### Post date: [4월 15, 2019, 6:10오전 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/10 "2019-04-15T06:10:19Z")

</div>

Can you please integrate this into core settings.

Sitewide default in settings for mobile and desktop.

And user setting in user profile settings for mobile and desktop.

😉

---

<div class="post-metadata">

### Author: ![neounix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neounix/32/215617_2.png) [@neounix](https://meta.discourse.org/u/neounix)
#### Post date: [6월 16, 2020, 10:39오전 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/11 "2020-06-16T10:39:31Z")

</div>

> [@Cozdabuch](#):
>
> 이 기능을 기본 설정에 통합해 주실 수 있나요?

모바일과 데스크톱에 각각 다른 홈 페이지 기능을 기본 설정에 포함하는 것에 +1입니다.

---

<div class="post-metadata">

### Author: ![kinetiksoft](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kinetiksoft/32/229578_2.png) [@kinetiksoft](https://meta.discourse.org/u/kinetiksoft)
#### Post date: [8월 4, 2021, 7:07오후 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/13 "2021-08-04T19:07:20Z")

</div>

유용한 컴포넌트를 제공해 주셔서 감사합니다.  
도움을 요청드립니다. 모바일에서는 기본적으로 "최신"이 표시되지만, 주제 목록 위 상단 드롭다운 메뉴에서 "카테고리"를 선택할 수 있는 옵션이 없습니다.

---

<div class="post-metadata">

### Author: ![decryption](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/decryption/32/120304_2.png) [@decryption](https://meta.discourse.org/u/decryption)
#### Post date: [11월 4, 2021, 5:14오전 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/14 "2021-11-04T05:14:02Z")

</div>

제가 찾고 있던 바로 그거네요 - 이 작은 컴포넌트 덕분에 감사합니다!

---

<div class="post-metadata">

### Author: ![pedroponte](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pedroponte/32/254189_2.png) [@pedroponte](https://meta.discourse.org/u/pedroponte)
#### Post date: [3월 24, 2022, 10:56오후 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/15 "2022-03-24T22:56:07Z")

</div>

훌륭해요, 감사합니다 🙏🙏🙏🙏

---

<div class="post-metadata">

### Author: ![haydenjames](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/haydenjames/32/255678_2.png) [@haydenjames](https://meta.discourse.org/u/haydenjames)
#### Post date: [4월 25, 2022, 10:09오전 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/16 "2022-04-25T10:09:11Z")

</div>

이것을 만들어 주셔서 감사합니다! 🤝 메인 Discourse 앱이 계속 발전하고 업데이트되면서 향후 호환성은 어떻게 되나요? 아니면 테마 컴포넌트가 그 점에서 꽤 미래 지향적인가요?

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [4월 29, 2022, 11:21오전 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/17 "2022-04-29T11:21:54Z")

</div>

이 Theme 컴포넌트는 정말 간단하고, 내 생각에는 거의 완벽에 가깝습니다! 설정이나 복잡한 기능 없이 CSS와 HTML 몇 줄로만 이루어져 있거든요.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [3월 11, 2023, 11:31오전 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/18 "2023-03-11T11:31:17Z")

</div>

여전히 이것이 추가 설정으로 코어에 병합되어야 한다고 생각합니다. 정말로 매우 유용하니까요!

---

<div class="post-metadata">

### Author: ![guystewart](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/guystewart/32/387373_2.png) [@guystewart](https://meta.discourse.org/u/guystewart)
#### Post date: [10월 10, 2024, 11:35오후 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/19 "2024-10-10T23:35:18Z")

</div>

훌륭하고 간단한 작은 컴포넌트입니다.

물론, 파워 유저들은 자신만의 오버라이드 설정을 할 수 있도록 해달라는 요청을 바로 보내기 시작했습니다.

이것은 일반 사용자의 압도적 다수를 충족시키지만, 상위 1%의 파워 유저들 사이에서 개인적으로 오버라이드할 수 있는 기능에 대한 수요가 여전히 존재합니다.

---

<div class="post-metadata">

### Author: ![haydenjames](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/haydenjames/32/255678_2.png) [@haydenjames](https://meta.discourse.org/u/haydenjames)
#### Post date: [3월 9, 2025, 2:54오후 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/21 "2025-03-09T14:54:30Z")

</div>

동의합니다. 7년 동안 업데이트되지 않았지만, 여전히 Discourse 소유자들이 사용하고 있습니다.

---

<div class="post-metadata">

### Author: ![Cate\_Soule](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cate_soule/32/492770_2.png) [@Cate\_Soule](https://meta.discourse.org/u/Cate_Soule)
#### Post date: [7월 15, 2025, 1:05오후 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/24 "2025-07-15T13:05:10Z")

</div>

이것은 업데이트가 필수인 필수 플러그인 중 하나입니다!🙏

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [7월 15, 2025, 1:30오후 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/25 "2025-07-15T13:30:05Z")

</div>

여기 PR에서 업데이트했습니다: [DEV: update to initializer - Pull Request #3 - tshenry/discourse-force-mobile-homepage - GitHub](https://github.com/tshenry/discourse-force-mobile-homepage/pull/3)

@tshenry 시간 나실 때 확인해 주시고 병합해 주실 수 있을까요?

---

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [7월 15, 2025, 7:46오후 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/26 "2025-07-15T19:46:21Z")

</div>

병합했습니다! PR 올려주셔서 감사합니다!

---

<div class="post-metadata">

### Author: ![Roi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roi/32/130587_2.png) [@Roi](https://meta.discourse.org/u/Roi)
#### Post date: [11월 2, 2025, 10:20오후 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/27 "2025-11-02T22:20:07Z")

</div>

브라우저의 개발자 콘솔에서 이 멋진 테마 컴포넌트에 대한 비추천(deprecation) 알림을 받았습니다:

> [THEME 50 ‘Force Mobile Homepage’] 비추천 알림: 사이트 초기화 중에 `site.mobileView` 또는 `site.desktopView`에 접근하면 브라우저 창 크기가 조정될 때 오류와 일관성 문제가 발생할 수 있습니다. 이러한 확인 로직을 페이지 렌더링 중에 실행되는 컴포넌트, 트랜스포머 또는 API 콜백으로 이동해 주세요. [Discourse 3.5.0.beta9-dev부터 비추천] [deprecation id: discourse.static-viewport-initialization] [info: [Designing for Different Devices (Touch & Hover)](https://meta.discourse.org/t/367810)]

---

<div class="post-metadata">

### Author: ![patrickemin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrickemin/32/520162_2.png) [@patrickemin](https://meta.discourse.org/u/patrickemin)
#### Post date: [11월 3, 2025, 1:30오전 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/28 "2025-11-03T01:30:05Z")

</div>

네, 같은 거예요. 제게 남은 유일한 비추천(deprecation) 공지 중 하나네요…

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [12월 28, 2025, 3:28오후 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/29 "2025-12-28T15:28:56Z")

</div>

이것도 기능(capabilities) 변경으로 인한 또 다른 피해 사례입니다.

기기 유형에 따라 특정 탐색 경로를 홈페이지로 로드하는 새로운 최선의 방법은 무엇인가요?

---

<div class="post-metadata">

### Author: ![shortmort37](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shortmort37/32/538876_2.png) [@shortmort37](https://meta.discourse.org/u/shortmort37)
#### Post date: [3월 27, 2026, 5:02오후 UTC](https://meta.discourse.org/t/force-mobile-homepage/95705/31 "2026-03-27T17:02:51Z")

</div>

@merefield 님이 말씀하신 대로:neutral\_face:

[다음 페이지](https://meta.discourse.org/t/force-mobile-homepage/95705.md?page=2)
