Possible to add logic to hide "Unnamed Venue"?

Home Forums Calendar Products Events Calendar PRO Possible to add logic to hide "Unnamed Venue"?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #120886
    Margaret
    Participant

    Sometimes we don’t have specific venues for an event — we may just have a city and country. In this case the venue naturally displays as “Unnamed Venue” which isn’t a great look… I’d rather nothing display when there is no venue name. Is it possible for me to tweak the template(s) to make this happen? If so, would you be able to help me out with this?

    #120979
    Casey
    Participant

    hcoulson,
    Thanks for getting in touch, and hopefully I can help you out here. 😀 Go ahead and paste the following snippet into your theme’s functions.php file: https://gist.github.com/ckpicker/9641828 This should hide ‘Unnamed Venues’ from your single event pages.

    Give that a shot and let me know if it does the trick. Thanks! 🙂

    -Casey-

    #121335
    Margaret
    Participant

    Most excellent! Thanks so much for the quick and helpful response!

    #121429
    Casey
    Participant

    Great! Thanks for confirming that this got you sorted. Since it looks like you’re all set, I’m going to mark this thread “Answered” and close it out.

    By the way, if you have a minute or two, we would love it if you’d write a few words for us here: http://wordpress.org/support/view/plugin-reviews/the-events-calendar?filter=5

    Thanks in advance. 🙂

    Cheers,
    Casey

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Possible to add logic to hide "Unnamed Venue"?’ is closed to new replies.