Hey @iresearchex,
I think you’re asking how to protect content using a token provided to a user?
If the token can be the same for all users, WordPress supports adding a Password to pages, which must be entered before the content is shown.
The below article explains how to set this up:
Using Password Protection
(That references the Classic editor, here’s where that option is for those using the default Block Editor: https://cloudup.com/cfXxvHKhQMU )
If you need to provide a unique token to different people, you might want to look into a membership plugin, or a content restriction plugin, there’s a range of plugins that can do that: https://wordpress.org/plugins/search/restrict+content/
-
This reply was modified 5 years, 4 months ago by
Dion Hulse.
@dd32 hi,
thanks for replying me. The password protection way i know and i dont want that thing.
From what my superior ask me to do is, page viewer (not user, they dont need to login) will be provided a link url with token, or they will receive a code, they enter the code and can view the content, i know it sounds like the password protecting function provided by wordpress…but i try to do what my superior want, for the worst i only will use the only way, which is password protected page.