Disabling some of the Events Calendar PRO extras (venue and single day views)

Home Forums Calendar Products Events Calendar PRO Disabling some of the Events Calendar PRO extras (venue and single day views)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #26213
    Xavier
    Participant

    Hi,
    I’m hoping to disable a few of the things that come with the Pro plugin, as I’d prefer the way the regular version works. Basically I wanted the Pro version for the calendar widget and recurring events.
    Basically I’d like to turn off venue view and single day view (but keep the saved venue information). Instead of linking to a venue page, it’d be good to hyperlink this field to the venue’s own website if possible.
    I’ve seen this thread:https://theeventscalendar.com/support/forums/topic/venues-disabling-the-link/, but it didn’t end up being resolved.
    I am also having a small issue with ajax loading of the calendar page. It’s fine if I scroll through the months, but as soon as I load the URL of a month, the styling gets messed up. Is it possible to disable separate URLs for each month too?
    Thanks,
    Xavier

    #26228
    Tina
    Participant

    Hi, I’d like to disable the venue view too as we only ever normally use a venue once, so don’t need a list. Also is there a way to display the organiser’s website separately from the organiser’s name? Thanks for a great plug-in.

    #26238
    Barry
    Member

    Hi Xavier, Tina.

    Most of what you are asking about is definitely possible – first of all please familiarize yourselves with our Themer’s Guide and this tutorial on template overrides.

    To remove links to the venue page you would basically look for this template tag (in your custom single.php template):

    tribe_get_venue_link( get_the_ID(), class_exists( 'TribeEventsPro' ) );

    If you only want to include the venue name, completely unlinked, you should be able to replace the above code with something like this:

    echo tribe_get_venue();

    Further permutations are of course possible. A guide to our template tags and other functions is available in the form of our technical documentation – so that’s another great place to do some research about what’s possible.

    #26734
    Tina
    Participant

    Thanks for your advice – the venue link has gone. I’ve tried everything I can think of (and read everything you suggested) but I still can’t manage to display the organizer’s website separately from their name. Is there a way to do this please? Thanks

    #26736
    Barry
    Member
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Disabling some of the Events Calendar PRO extras (venue and single day views)’ is closed to new replies.