# Alternate New Topic Button (per category)

**URL:** https://meta.discourse.org/t/alternate-new-topic-button-per-category/369529
**Category:** Theme component
**Created:** [June 10, 2025, 10:58am UTC](https://meta.discourse.org/t/alternate-new-topic-button-per-category/369529 "2025-06-10T10:58:30Z")
**Posts on this page:** 3
**Page:** 1

<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: [June 10, 2025, 10:58am UTC](https://meta.discourse.org/t/alternate-new-topic-button-per-category/369529/1 "2025-06-10T10:58:30Z")

</div>

| | | |
| --- | --- | --- |
| ℹ | **Summary** | Changes the text of the New Topic button per category. |
| 🛠 | **Repository** | [github.com/nathan-nz/category-new-topic-button](https://github.com/nathan-nz/category-new-topic-button) |
| ❓ | **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

This theme component allows you to customise the “Create Topic” button label in Discourse for specific categories, for the specific use case of dedicated Events categories.

It can easily be forked and modified for other use cases; it wasn’t practical to make this configurable.

### How It Works

This component leverages Discourse’s API to override the default “Create Topic” button label based on category-specific needs. It allows admins to control which categories display custom labels and what that label should be.

### Configuration and Settings

- **Settings Options** :

- **How to Configure** :

This component is designed to be simple yet powerful, giving you the flexibility to either apply uniform or categorised customisation to your forum’s interface.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 10, 2025, 11:02am UTC](https://meta.discourse.org/t/alternate-new-topic-button-per-category/369529/2 "2025-06-10T11:02:00Z")

</div>

How does this compare to the [Customize new topic button text](https://meta.discourse.org/t/customize-new-topic-button-text/269086) theme component?

---

<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: [June 10, 2025, 10:54pm UTC](https://meta.discourse.org/t/alternate-new-topic-button-per-category/369529/3 "2025-06-10T22:54:47Z")

</div>

Ha! I completely missed that TC and got lost in several older threads that clearly haven’t been tied together. I’ll get onto that!

This TC simply changes the text, rather than hiding the default button and replacing it with a new button. For my use case where I’m also routing to a Wizard from the [Custom Wizard Plugin 🧙](https://meta.discourse.org/t/custom-wizard-plugin/73345), this is necessary.

However, I’m impressed by the completeness of [Customize new topic button text](https://meta.discourse.org/t/customize-new-topic-button-text/269086) (settings array, covers other buttons, etc) and on looking at it again I see it is possible to change the route of the new button with a small tweak. It would be better to (slightly) extend that TC instead of having this one.

I’ve put in a #Contribute > Feature for this, including [a pull request](https://github.com/discourse/discourse-customize-new-topic-button-text/pull/42):

> [@Add ability to route the New Topic button to a custom URL](https://meta.discourse.org/t/add-ability-to-route-the-new-topic-button-to-a-custom-url/369638):
>
> I really like the [Customize new topic button text](https://meta.discourse.org/t/customize-new-topic-button-text/269086) Theme Component, but I need it to route to a Wizard from the [Custom Wizard Plugin mage](https://meta.discourse.org/t/custom-wizard-plugin/73345). I can use the native functionality of the Plugin to do the routing, but when I attempt to use this TC to change the text and icon I lose this. This is due to the way the TC hides the ‘OG’ button and replaces it with a new one. I suggest a new setting in the TC which allows the addition of a Custom URL which, if present, directs the replacement button to the des…
