Hide content by level

Have some plugin that hides certain contents of a post for anyone who is not level X?

Like this:

text that everyone can see

[trust-level-2]Text that only level 2 and above can see[/trust-level-2]

1 Like

Are you happy with a CSS only solution (view source can still allow you to see it) ? If so a theme component using wrap can make this happen.

[wrap=tl level=2]

Will generate

<div class="d-wrap" data-wrap="tl" data-level="2">

A solution that hides on the server would require a very complex and expensive plugin performance wise.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.