Restrict WordPress plugin has a seamless integration with Tickera which allows you to restrict the content on your website based on Tickera specific criteria. Of course, for this to work, visitors must purchase their tickets as registered and logged in users. To force them to do so, you should navigate to Tickera Settings -> General tab and check an option named Force Login. This step is mandatory as if customers purchase their tickets as non-logged in users, there will be no way for the website to identify them and check whether they fulfill the selected Tickera specific criteria you have selected for the page/post content restriction.
So, with Tickera and Restrict installed on your website, you will be able to use Tickera related criteria pretty much everywhere, but let’s start from the beginning.
When Tickera is installed and activated on your website, you will notice that an additional tab named Tickera will appear within Restrict’s menu.
Within this area, you will be able to enter custom messages that will appear to the users that will be trying to access the content which is restricted based on criteria related to Tickera.
When restricting the content of the whole page or post, you will notice that within the Content Available To dropdown menu, there is now an item named Tickera Users.
If you select this item, three additional options will appear below:
If Tickera is installed and activated, you will find additional options within the Shortcodes area of Restrict which is related to Tickera.
In this area, you can select Tickera related criteria to generate the shortcode which you can then use to restrict part of the content as described in documentation here. For example, you can require any ticket type, a ticket type for the specific event (and then select which event) or a specific ticket type (and then select the specific ticket type) in order for the customer to access part of the content on certain page or post. Also, you can add a custom message if you want by using a protected_message argument as part of the shortcode. For example, your shortcode can look something like this:
[rsc_restrict_content allowed_to=”tickera” tickera_options=”anything” protected_message=”YOUR MESSAGE HERE”]Your content here[/rsc_restrict_content]
Similarly to restricting page or post, when creating new or editing existing category, you will be able to select Tickera Users and restrict a whole category using Tickera specific criteria:
If you want to restrict visibility of certain widget to certain Tickera users, you can do so while creating new or editing existing widget by selecting Tickera Users from the dropdown menu as displayed below:
This option will be available for each widget on any widget area so you can control which Tickera users can view which widget.
Similarly to restricting widgets, you can also restrict each menu item. When adding new or editing existing menu item, you can select Tickera Users from the dropdown menu and then select Tickera specific criteria needed for the menu item to be displayed to user.