# Only allow anon users to see first post or its excerpt

**URL:** https://meta.discourse.org/t/only-allow-anon-users-to-see-first-post-or-its-excerpt/165907
**Category:** Support
**Created:** [October 1, 2020, 10:11am UTC](https://meta.discourse.org/t/only-allow-anon-users-to-see-first-post-or-its-excerpt/165907 "2020-10-01T10:11:37Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![wollacsek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wollacsek/32/195502_2.png) [@wollacsek](https://meta.discourse.org/u/wollacsek)
#### Post date: [October 1, 2020, 10:11am UTC](https://meta.discourse.org/t/only-allow-anon-users-to-see-first-post-or-its-excerpt/165907/1 "2020-10-01T10:11:37Z")

</div>

I’m looking for a way to only display the first post or its excerpt to anonymous users on a topic page. Is there a setting or a plugin for that? If a plugin doesn’t exist yet how hard is it to implement this feature?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [October 1, 2020, 12:02pm UTC](https://meta.discourse.org/t/only-allow-anon-users-to-see-first-post-or-its-excerpt/165907/2 "2020-10-01T12:02:33Z")

</div>

You want to hide the first post from logged in users?

It should be fairly easy to do in a theme component.

---

<div class="post-metadata">

### Author: ![wollacsek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wollacsek/32/195502_2.png) [@wollacsek](https://meta.discourse.org/u/wollacsek)
#### Post date: [October 1, 2020, 12:56pm UTC](https://meta.discourse.org/t/only-allow-anon-users-to-see-first-post-or-its-excerpt/165907/3 "2020-10-01T12:56:58Z")

</div>

Not really, what I’m looking for is to have a public forum where anonymous users can only see the first post of each topic. Or an excerpt of the first post on each topic. They’ll have to sign up to see all posts.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [October 1, 2020, 7:22pm UTC](https://meta.discourse.org/t/only-allow-anon-users-to-see-first-post-or-its-excerpt/165907/4 "2020-10-01T19:22:24Z")

</div>

So you want to hide all except the first post from anonymous users. If you’re OK with the posts being accessible to the browser, but not displayed then you can do it with a theme component. I think that you could make `.article` be hidden for anonymous users than then un-hide `article id=post_1`. Something like that.

---

<div class="post-metadata">

### Author: ![wollacsek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wollacsek/32/195502_2.png) [@wollacsek](https://meta.discourse.org/u/wollacsek)
#### Post date: [October 2, 2020, 1:58am UTC](https://meta.discourse.org/t/only-allow-anon-users-to-see-first-post-or-its-excerpt/165907/5 "2020-10-02T01:58:25Z")

</div>

Thanks for the pointer I’ll give that a try 🙂
