How can we hide the display of Tickets Available & Public Attende list

Home Forums Ticket Products Event Tickets Plus How can we hide the display of Tickets Available & Public Attende list

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1337986

    How can we hide the display of Tickets Available & Public Attende list

    We dont want the customers to see the number of tickets available and Don’t list me on the public attendee list checkbox option.

    Kindly advise how this can be achieved.

    Please refer to the image attached

    #1338400
    Cliff
    Member

    Hi, Anand.

    Unfortunately, the image you tried to attach didn’t come through. However, I think I’ll still be able to answer your questions:

    1)

    You could hide the available tickets via CSS, such as:

    body.single-tribe_events .tribe-tickets-remaining {
    display: none;
    }

    Some users asked how to hide the remaining amount only until there are a small number remaining (to create a sense of urgency toward selling out per ticket). This code should accomplish that:

    https://gist.github.com/cliffordp/94f37421a00db6f7a96368aa23a8d8bb

    2)

    At the wp-admin event edit screen, uncheck this box: https://cl.ly/0H0A2I2d1k2B

    If you want it unchecked for all events, you could try this code snippet:

    https://gist.github.com/cliffordp/6bed854b4f7fef231d15cc8625e5dab3

    Please let me know how this goes for you.

    #1341766
    Nancy Hernandez
    Participant

    I’d like to use your code snippet in response to item #1 that will hide the remaining amount only until there are a small number remaining. But where do you add that snippet? or do we need to create a new page?

    #1342055
    Cliff
    Member

    Best practice for adding custom code (like to implement a PHP snippet to modify The Events Calendar) is to create a functionality plugin, unless it’s something specific to your theme, in which case best practice is to make sure you’re using a child theme, then add the customization to your child theme’s functions.php file.

    I hope this information helps!

    #1352025
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How can we hide the display of Tickets Available & Public Attende list’ is closed to new replies.