A simple theme component to add the + New Topic button to the header. The button will show on every page - even inside topics.

Github repository link
https://github.com/hnb-ku/discourse-new-topic-button-theme-component

See it live on Theme Creator:
https://theme-creator.discourse.org/theme/Johani/ntb

Screenshots:

Desktop:

Capture: 449x500

Mobile:

Capture2: 283x500

Installation:

Follow the official guide for theme installation:

https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682

Settings:

This component has 3 settings where you can choose the button icon, the button text, and whether or not to hide the default “New topic” button:

Capture3: 690x252

Credit

This is based on @techAPJ’s tutorial here:

https://meta.discourse.org/t/adding-new-topic-button-on-every-page/38922

And on @dalerka’s patch to make things work with newer versions of Discourse here:

https://meta.discourse.org/t/adding-new-topic-button-on-every-page/38922/22?u=lll

I only put it all together and added the theme settings to make things simple.