1. Documentation
  2. Restrict Content
  3. Common page for all access restricted posts

Common page for all access restricted posts

Through the [gamipress_post_restrictions] shortcode you are able to show a desired post requirements and the access button to let users unlock access to it.

When you setup an access restricted post, users without access to this post will be redirected to a specific page.

GamiPress – Restrict Content has a mechanism to configure a common page for all access restricted posts that will show dynamically the requirements and/or access button of the restricted page that redirects the user.

Setup this page is really easy, you just need to create a page that has as content the [gamipress_post_restrictions] shortcode without the id attribute.

In this way, when an access restricted post redirects an user to this page, the content of the [gamipress_post_restrictions] shortcode will dynamically show the restrictions and/or access button of the post that redirects the user.

There is a quick step-by-step guide about how to setup this:

1 – Create a page (that will be the common page to redirect).
2 – Set as content of this page the [gamipress_post_restrictions] shortcode without the id attribute.
3 – Every time you setup an access restricted post, just set as redirect page this previous created one.

Important: When an user gets access to a post by expending points, after finish the loading process the user will get redirected the unlocked access post.

Was this article helpful to you? Yes No 1

How can we help?