Invitation Code Content Access - How To - Display Content Access Form (Shortcode)
Displaying the Content Access Form
TIP: What Are Shortcodes
Shortcodes add dynamic content to your site via a small piece of code.
Learn more: Shortcodes - How To Use | Finding ID of Post/Page/Other Content
What is the Content Access Form
Every time a user tries to access a locked content, he/she will be directed to the page you choose in the settings. Learn more: Invitation Code Content Access - Settings - General (Configuring Access)
This page should contain the form which prompts the user to enter the access code.
Front-End Example
What Happens
- Users that enter the correct code will be directed to the appropriate content successfully.
- Users that enter an invalid code will see the Invalid access code message.
Adding the Form
To add the form to a page, apply the shortcode [cmicca_access_code]
. The only parameter is view.
-
[cmicca_access_code view="one"]
- The form will ask for long codes -
[cmicca_access_code view="four"]
- The form will ask for codes with four digits
Learn more about codes with four digits Invitation Code Content Access - Limiting Codes to Four Digits
TIP
Note that you can customize the page with the code as you see fit - it doesn't have to include just the form.
![]() |
Get more information about the Invitation Code Content Access plugin for WordPress Other WordPress products can be found at CreativeMinds WordPress Store |
![]() |
Let us know how we can Improve this Product Documentation Page To open a Support Ticket visit our support center |