$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>plugins - WordPress Code Access to Restricted Content without Registration|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

plugins - WordPress Code Access to Restricted Content without Registration

matteradmin11PV0评论

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..

  1. I have content on my WordPress site that I want to restrict by a time frame, say 7 days.
  2. A user needs to enter a code to access the restricted content.
  3. When a user enters the code, the timer for the restricted content starts and expires 7 days from when they first entered the code.
  4. 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..

  1. I have content on my WordPress site that I want to restrict by a time frame, say 7 days.
  2. A user needs to enter a code to access the restricted content.
  3. When a user enters the code, the timer for the restricted content starts and expires 7 days from when they first entered the code.
  4. 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.

Share Improve this question edited Dec 21, 2018 at 8:52 Jacob Peattie 44.3k10 gold badges50 silver badges64 bronze badges asked Dec 21, 2018 at 8:50 ShuvoShuvo 111 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.

Post a comment

comment list (0)

  1. No comments so far