Skip to content
Home / Tutorials / How to Hide Event Tickets Based on User Roles?

How to Hide Event Tickets Based on User Roles?

Quick Overview

  1. EventPrime Menus > Events
  2. Events > Events Settings > Tickets
  3. Under Tickets, click on Add New Types. In the Tickets type section, locate the Visibility section. Next, select the option that determines who can view the tickets for Events.

Introduction

EventPrime enhances your WordPress Events by offering a dynamic ticket visibility feature, based on user roles. Whether visitors are logged in or hold specific roles such as Administrator, Editor, Author, Subscriber, or Contributor, you can decide who gets to see what. This allows for a more personalized and efficient Event management experience, ensuring that ticket access is finely tuned to your audience’s needs.

Accessing EventPrime and Navigating to Events

Open WordPress dashboard and locate the EventPrime menu in left-hand side admin panel bar. Next, click on Events to access the list of your scheduled Events.

EventPrime Menu
EventPrime Menu

Choosing and Accessing a Specific Event

Scroll through the list and click on the specific Event.

EventPrime > Events
EventPrime > Events

Accessing Event Settings

Inside the Event Settings, click on the Tickets tab.

Event Settings
Event Settings

Create a category here (for more details, follow this article).

Tickets Section after adding categories
Tickets section after adding categories

After adding a category, click on Add Ticket Type. While creating a ticket type, organizers have the option to hide tickets based on user roles. Scroll through the options available in the ticket type creation process, and under Visibility section, select a role in the Visible To option. You are provided with three options:

  • Everyone: When this option is selected, tickets will be visible to everyone who visits the Event on your website.
  • Logged-in Users: When this option is selected, tickets will be visible only to those who have logged into your website.
  • Specific User Roles: When this option is selected, you can display tickets based on different roles within your WordPress website.

Next, you must decide what to do with ineligible users. You have the option to either hide the tickets or show the tickets as disabled or greyed out by selecting the appropriate option.

Visibility Section under Ticket Type options
Visibility Section under Ticket Type options


Let’s see how tickets are visible to users who are ineligible.

This covers the Hide Event Tickets based User Role option. Now, proceed to add other details and save the changes.

Conclusion

EventPrime significantly upgrades your Event management on WordPress by offering a flexible ticket visibility feature based on user roles. This customization ensures that your Events cater precisely to the needs of your audience, enhancing user experience and Event accessibility. By implementing EventPrime, you’re not just organizing Events; you’re creating a more inclusive and streamlined process for your attendees.

Leave a Reply

Your email address will not be published. Required fields are marked *