# How to add custom fields to models

**URL:** https://meta.discourse.org/t/how-to-add-custom-fields-to-models/184485
**Category:** Extras
**Tags:** pavilion
**Created:** [March 26, 2021, 7:53am UTC](https://meta.discourse.org/t/how-to-add-custom-fields-to-models/184485 "2021-03-26T07:53:44Z")
**Posts on this page:** 1
**Showing post:** 37

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [May 11, 2023, 7:42am UTC](https://meta.discourse.org/t/how-to-add-custom-fields-to-models/184485/37 "2023-05-11T07:42:41Z")

</div>

Here’s how you can figure that out:

1. Find the templates in discourse/discourse that render the category page (search for a html element on the page)

2. Find a plugin-outlet in one of those templates

3. Use the plugin outlet as described here

> [@Using Plugin Outlet Connectors from a Theme or Plugin](https://meta.discourse.org/t/using-plugin-outlet-connectors-from-a-theme-or-plugin/32727):
>
> Discourse includes hundreds of Plugin Outlets which can be used to inject new content or replace existing contend in the Discourse UI. ‘Outlet arguments’ are made available so that content can be customized based on the context. Choosing an outlet To find the name of a plugin outlet, search Discourse core for “\<PluginOutlet”, or use the [plugin outlet locations](https://meta.discourse.org/t/plugin-outlet-locations-theme-component/100673) theme component. (e.g. topic-above-posts). Wrapper outlets Some outlets in core look like \<PluginOutlet @name="foo" /\>. These allow you…

---

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