Hi,
Is it possible to customize the text, “+ New Topic”, on a Category basis?
For instance, in one Category, we might want “Introduce Yourself”, in another, “Ask A Question”, in another, “Share Your Story”, etc.
Hi,
Is it possible to customize the text, “+ New Topic”, on a Category basis?
For instance, in one Category, we might want “Introduce Yourself”, in another, “Ask A Question”, in another, “Share Your Story”, etc.
It’s not possible out of the box, but I think it’s possible in a theme component… you’d probably need to add some conditions to the d-navigation.hbs
or create-topic-button.hbs
template.
This theme component (kindly sponsored by @outofthebox) will use jQuery to override the new topic button text. I chose to use jQuery instead of modifying the template as suggested above, because this is easier to maintain (at least, in my experience).
https://github.com/communiteq/discourse-tc-override-newtopic-text
The theme component has settings to override the button text per topic slug.
For subcategories use mainslug-subslug
.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.