I have created a new category called knowledge articles and it has button + New topic
the requirement is to change the text from "+ New Topic " to “Post an Article”
How can i do it ?
Srujan_Madderla requested help in changing the button text from “+ New Topic” to “Post an Article” in the “knowledge articles” category. Moin directed them to a guide for customizing button text based on category, explaining that the category ID can be found in the URL 269086. Srujan successfully implemented the change but initially encountered an issue where a duplicate button appeared. After updating the component, the issue was resolved, and the button now displays as expected Srujan_Madderla.
You can use
where do i find the category id ?
You can find it for example by navigating to the category and looking at the url. For example the id of the Support category here is 6.
https://meta.discourse.org/c/support/6
Thank you it worked
That theme component should only rename the button text and not create a second one. Do you have something else that could possibly be adding in the second button?
Yes earlier it just renamed but when i tried yesterday it created a new button instead on renaming the existing button.
I have updated the component and now it is working as expected.