# How to add custom field to topic?

**URL:** <https://meta.discourse.org/t/how-to-add-custom-field-to-topic/57948>\
**Category:** Development\
**Created:** [2017年二月25日 16:46 UTC](https://meta.discourse.org/t/how-to-add-custom-field-to-topic/57948 "2017-02-25T16:46:16Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Janno\_Liivak](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/janno_liivak/32/352215_2.png) [@Janno\_Liivak](https://meta.discourse.org/u/Janno_Liivak)\
**Post date:** [2018年四月21日 13:12 UTC](https://meta.discourse.org/t/how-to-add-custom-field-to-topic/57948/6 "2018-04-21T13:12:22Z")

</div>

Yep. But as it was a long time ago don’t remember exactly what I did. I managed to build two plugins eventually. Maybe you can find your answers there?

> [@Trading Buttons](https://meta.discourse.org/t/trading-buttons-buy-sell-exchange/71308):
>
> information_sourceSummary This plugin allows the category to show trading buttons (buy, sell, exchange) above the topic title.hammer_and_wrenchRepository Link [https://github.com/jannolii/discourse-topic-trade-buttons](https://github.com/jannolii/discourse-topic-trade-buttons)open_bookInstall Guide [How to install plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157) I have created a simple plugin that allows the category to show trading buttons above the topic title. It still needs unit tests, but it’s usable as a simple solution for sell/purchase/exchange ty…

Second one isn’t here but you can find it on github.

[https://github.com/jannolii/discourse-bump-topic](https://github.com/jannolii/discourse-bump-topic)

---

_[View the full topic](https://meta.discourse.org/t/how-to-add-custom-field-to-topic/57948)._
