Ok this is completely past my knowledge but I need to have this function and wondering if anyone can help or know of a plugin that can do this job..
I have content on my WordPress site that I want to restrict by a time frame, say 7 days.
A user needs to enter a code to access the restricted content.
When a user enters the code, the timer for the restricted content starts and expires 7 days from when they first entered the code.
The user does not need to register to the WordPress site. Access is to restricted content is provided through simply entering the code.
Can anyone help?
Thank you.
Ok this is completely past my knowledge but I need to have this function and wondering if anyone can help or know of a plugin that can do this job..
I have content on my WordPress site that I want to restrict by a time frame, say 7 days.
A user needs to enter a code to access the restricted content.
When a user enters the code, the timer for the restricted content starts and expires 7 days from when they first entered the code.
The user does not need to register to the WordPress site. Access is to restricted content is provided through simply entering the code.
Can anyone help?
Thank you.
plugins
plugin-development
customization
Share
Improve this question
edited Dec 21, 2018 at 8:52
Jacob Peattie
44.3k1010 gold badges5050 silver badges6464 bronze badges
asked Dec 21, 2018 at 8:50
ShuvoShuvo1111 bronze badge
Add a comment
|
1 Answer
1
Reset to default
0
There are two different plugins that can serve your purpose:
Content Control – User Access Restriction Plugin: It allows you to restrict access to specific posts to both logged in and logged out users.
Restriction Timeouts: It enables you to specify a date and time when restricted post will have its restrictions removed.
However, I don't think that there is a single plugin that can serve all of your purposes.