New Topic Header Button

Discourse
Wed, 04 Apr 2018 09:43:49 +0000
Theme component

| |
| Summary | New Topic Header Button adds a convenient ‘New Topic’ button to the header of all pages
| Preview | Preview on Discourse Theme Creator
| Repository | https://github.com/discourse/discourse-new-topic-button-theme-component
| Install Guide | How to install a theme or theme component
| New to Discourse Themes? | Beginner’s guide to using Discourse Themes

Install this theme component

As this is an official theme component maintained by the Discourse team, Support, Bug, UX, and Feature requests can be made in the respective categories here on Meta, and tagged with the appropriate theme component tag. Click on a link below to get one started.

Support Bug UX Feature

Features

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

Screenshots:

Desktop:

Mobile:

Settings:

Name | Description
new topic button icon | Choose an icon for the button. You can use any free FontAwesome 6 icon name like music or star .
new topic button text | Enter the text you want the button to use. You can also leave this empty if you want to only use an icon.
new topic button title | Enter the title you want the button to use. If this is left empy, the title will be the same as the button text
hide default button | Hide the default “New topic” button in topic lists
show to anon | Show the button to logged-out visitors, and have it redirect to login on click

Hosted by us? Theme components are available to use on our Standard, Business, and Enterprise plans.

Last edited by @ondrej Tuesday, March 11, 2025 11:18 PM UTC
Check document (нажмите для более подробной информации)

45 сообщений - 25 участников