# Customize new topic button text

**URL:** https://meta.discourse.org/t/customize-new-topic-button-text/269086
**Category:** Theme component
**Tags:** official, topic-button-text
**Created:** [June 20, 2023, 9:11pm UTC](https://meta.discourse.org/t/customize-new-topic-button-text/269086 "2023-06-20T21:11:06Z")
**Posts on this page:** 10
**Page:** 2

<div class="post-metadata">

### Author: ![carbonrich](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carbonrich/32/274219_2.png) [@carbonrich](https://meta.discourse.org/u/carbonrich)
#### Post date: [January 17, 2024, 2:39pm UTC](https://meta.discourse.org/t/customize-new-topic-button-text/269086/21 "2024-01-17T14:39:57Z")

</div>

Thanks for these updates @awesomerobot!

I noticed that using this component changes the ID of the create topic button (from `create-topic` to `custom-create-topic`) which undoes the [Colorful Categories](https://github.com/discourse/discourse-colorful-categories) customized background.

Maybe the ID should stay the same, with the custom identifier moved to a class instead?

---

<div class="post-metadata">

### Author: ![Chaos\_Queen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chaos_queen/32/365829_2.png) [@Chaos\_Queen](https://meta.discourse.org/u/Chaos_Queen)
#### Post date: [May 8, 2024, 2:16pm UTC](https://meta.discourse.org/t/customize-new-topic-button-text/269086/22 "2024-05-08T14:16:30Z")

</div>

I try to do some modification on this component for my personal use. But i am stuck on something so maybe someone is knowing this.

If i implement it to have the orignal “New Topic” - Button and the Custom new one.  
Is there a posibillity to have the composer\_action\_text and the composer\_button\_text only on that modal when i click the custom button and having everything orginal when clicking on the original button “new topic”.

Hope someone may can help. Thanks!

If something of my stuff is not understandable then please tell me.

---

<div class="post-metadata">

### Author: ![carbonrich](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carbonrich/32/274219_2.png) [@carbonrich](https://meta.discourse.org/u/carbonrich)
#### Post date: [February 24, 2025, 10:35am UTC](https://meta.discourse.org/t/customize-new-topic-button-text/269086/23 "2025-02-24T10:35:26Z")

</div>

I’m getting a deprecation notice on this component:

```plaintext
[THEME 41 'Customize new topic button text'] 
Deprecation notice: `api.addPostMenuButton` has been deprecated. 
Use the value transformer `post-menu-buttons` instead. 
[deprecated since Discourse v3.4.0.beta3-dev] 
[deprecation id: discourse.post-menu-widget-overrides] 
[info: https://meta.discourse.org/t/341014]

```

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [February 24, 2025, 1:04pm UTC](https://meta.discourse.org/t/customize-new-topic-button-text/269086/24 "2025-02-24T13:04:38Z")

</div>

Hmm… it uses the updated Value Transformer, not the deprecated API.

> <https://github.com/discourse/discourse-customize-new-topic-button-text/blob/81d34c46cf95e5b34dd7dbbb58029e172fefc6d5/javascripts/discourse/initializers/customize-new-topic-text.js#L49>

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [February 24, 2025, 1:07pm UTC](https://meta.discourse.org/t/customize-new-topic-button-text/269086/25 "2025-02-24T13:07:35Z")

</div>

Check if the component is up to date.

I can see on your forum you’re using Discourse v3.5.0.beta1-dev and you’re using an old component version. Once you update, this will fix your issue.

---

<div class="post-metadata">

### Author: ![carbonrich](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carbonrich/32/274219_2.png) [@carbonrich](https://meta.discourse.org/u/carbonrich)
#### Post date: [February 25, 2025, 11:36am UTC](https://meta.discourse.org/t/customize-new-topic-button-text/269086/26 "2025-02-25T11:36:55Z")

</div>

Thanks and apologies: I had a pre-repo (or at least unlinked) component installed, so no update was showing!

---

<div class="post-metadata">

### Author: ![gilles](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gilles/32/549022_2.png) [@gilles](https://meta.discourse.org/u/gilles)
#### Post date: [April 9, 2026, 9:44am UTC](https://meta.discourse.org/t/customize-new-topic-button-text/269086/27 "2026-04-09T09:44:24Z")

</div>

I tested the plugin, but I have both the new button and the old one! For your information, I am up to date.

![image](https://global.discourse-cdn.com/meta/original/4X/b/a/a/baafc6b910499529b27d116a5a5cd582b8d7aa29.png)

---

<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: [April 9, 2026, 10:30am UTC](https://meta.discourse.org/t/customize-new-topic-button-text/269086/28 "2026-04-09T10:30:47Z")

</div>

Yeah, I noticed that too, but as it wasn’t required any more just removed it.

The CSS to hide the old button must have gone awry.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [April 9, 2026, 1:34pm UTC](https://meta.discourse.org/t/customize-new-topic-button-text/269086/29 "2026-04-09T13:34:54Z")

</div>

I have created a PR to fix the issue ~~and also add the newer button formatting~~ i guess that’s for new foundation only:

[https://github.com/discourse/discourse-customize-new-topic-button-text/pull/62](https://github.com/discourse/discourse-customize-new-topic-button-text/pull/62)

edit: thank you for the review and button format revert @awesomerobot

---

<div class="post-metadata">

### Author: ![gilles](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gilles/32/549022_2.png) [@gilles](https://meta.discourse.org/u/gilles)
#### Post date: [April 9, 2026, 5:10pm UTC](https://meta.discourse.org/t/customize-new-topic-button-text/269086/30 "2026-04-09T17:10:12Z")

</div>

Great, it works, thanks @Lilly 👍

[Previous page](https://meta.discourse.org/t/customize-new-topic-button-text/269086.md?page=1)
