# Category Previews

**URL:** https://meta.discourse.org/t/category-previews/155296
**Category:** Theme component
**Created:** [June 19, 2020, 1:12am UTC](https://meta.discourse.org/t/category-previews/155296 "2020-06-19T01:12:48Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [July 10, 2020, 9:36pm UTC](https://meta.discourse.org/t/category-previews/155296/12 "2020-07-10T21:36:47Z")

</div>

You are doing a good job with your English 🙂 The set-up for this is tricky even when English is your native language.

> [@Td\_skt](#):
>
> i want to convert a public category in restricted category. Its possible ?

Yes, you will want to follow this guide: [Understanding groups and category permissions](https://meta.discourse.org/t/how-to-use-category-security-settings-to-create-private-categories/87678)

> [@Td\_skt](#):
>
> So can you give an example to put instead “Add item…”. Tell me if i right ?

Close!

If it helps, here is what I have in my theme setting for the demo:

`junk~restricted category preview~This category is only available to members of the "joinable-group" user group. Select for more information.~https://theme-creator.discourse.org/pub/logged-in-user-access~joinable_group`

And how it relates to the description of the theme setting:

| Theme Setting Part | Value |
| --- | --- |
| category-slug | `junk` |
| Preview Name | `restricted category preview` |
| Preview Description | `This category is only available to members of the "joinable-group" user group. Select for more information.` |
| `https://example.com` | `https://theme-creator.discourse.org/pub/logged-in-user-access` |
| group | ` joinable_group` |

And here is a diagram to show how the different parts relate:

 ![Screen Shot 2020-07-10 at 2.09.13 PM](https://global.discourse-cdn.com/meta/original/3X/8/b/8b920dff66fc89eae7aecf25cdc7683a91b7a8ea.png)

In the image, “ 🔒 restricted” is the real category that can only be accessed by the ` joinable_group` user group (and staff by default).

 ![Screen Shot 2020-07-10 at 2.28.00 PM](https://global.discourse-cdn.com/meta/original/3X/2/f/2fdbbfc18fd0ee2a6896b53712c6c2d402cb481e.png)

 ![Screen Shot 2020-07-10 at 2.28.41 PM](https://global.discourse-cdn.com/meta/original/3X/5/c/5c7fd96222f09a2b22822984f211b7b950f0b8f9.png)

---

_[View the full topic](https://meta.discourse.org/t/category-previews/155296)._
