Hide an event in calendar view, but show it on the venue page.

Home Forums Calendar Products Events Calendar PRO Hide an event in calendar view, but show it on the venue page.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #733170
    sbsiceland
    Participant

    I’m wondering if there is an easy way (or any way) to hide events from the calendar view, but have them show up on venue pages.

    We want to use the event calendar plugin for museum exhibitions, but we don’t want them on the calendar view, because they would take over quite quickly, leaving one off events hidden (also, it sucks to go through a calendar and see the same 40 events day after day), so we want to use the venue pages as dedicated exhibition pages.

    The “Hide From Event Listings” doesn’t work, since it removes any mention of the event.

    Is there a code one could add to the event template, to not show events with a certain tag, or perhaps the venue template, to show events that are marked hidden from event listings?

    Thanks in advance!

    #733465
    Brian
    Member

    Hello sbsiceland,

    I can help answer your question and point you in the right direction.

    I think the simplest way to do this is with css.

    You can give the events a category such as Museum Events and then you could hide them in the list, month, photo and other views.

    To get you started here is coding that hides events in the event art category in the list, month, and week view:

    .tribe-events-month .tribe-events-category-art,
    .tribe-events-week-grid .tribe-events-category-art,
    .tribe-events-list .tribe-events-category-art {
    display:none;
    }

    Option 2
    Another option is to again use categories, but add a filter to remove them from the list, month, photo and other views.

    Let me know if you get stuck and would like help on the next step.

    Thanks

    #733568
    sbsiceland
    Participant

    Hi Brian, and thanks for the help.

    I tried the css, and it did hide them (I put it in the main css file so it hid them all over, but that can be fixed); however, although the calendar view didn’t display the events, it became useless because instead of listing one-off events, every day became “View all x events.” See http://www.whatson.is/ec/month/

    I think I need to try Option 2, filter the category altogether out from calendar view, is that something that is difficult to achieve?

    #735553
    Brian
    Member

    Hello,

    Sorry Option 1 did not work out…

    Option 2 is more difficult as it takes more knowledge of wp_query, filters, and php to get it to work. I can give you some help on it, but for the most part you are on your own making that customization.

    I do have two other ideas (well Geoff had the ideas) that can help that do not involve any coding:

    • Link to a specific category. Each event category has a unique URL (e.g. [your-site]/events/category/category-name/month) and you can send visitors directly to the month view for a specific category.
    • Use the Filter Bar plugin. This plugin will still show all events in the same calendar by default, but allows the visitor to easily filter the calendar to show events from a specific category.

    Let me know if either of those help our you would like additional help on a customization.

    Thanks

    #735571
    sbsiceland
    Participant

    Hi, and thanks for the reply.

    I think I need to check if there are any Calendar plugins available that have the “don’t show this category in calendar view” option, since I think I would need to hire someone to do the code work needed here.

    But thanks for the help.

    All the best, sbs

    #735672
    Brian
    Member

    Ok, just to clarify the other option that does not involve any coding and already apart of the plugin.

    You can link directly to a calendar of one category.

    For example here is your art Calendar:

    http://www.whatson.is/ec/category/art/month/

    Here is your Comedy Calendar

    http://www.whatson.is/ec/category/comedy/month/

    Using this you could create a Category called “Museum Exhibitions” and then link directly to that as your main Event Page.

    The link would look something like this:

    http://www.whatson.is/ec/category/museum-exhibitions/month/

    That could at least get you what you would like the Calendar to look like today without doing any coding.

    Let me know if you would like any more help.

    Thanks.

    #739942
    sbsiceland
    Participant

    Hi,
    that would be counterproductive, our visitor shouldn’t have to browse through multiple calendars to find events.

    Is there no easy way for the venue page to simply disregard the ‘Hide From Event Listings’?

    #740225
    Brian
    Member

    I think that is about it for the options without going in and customizing the coding.

    If you would like us to add that feature you can request it on our UserVoice Page, but for now this is all we have for you.

    http://tribe.uservoice.com/forums/195723-feature-ideas

    #782792
    Brian
    Member

    Since I haven’t heard back from you here, I’m going to go ahead and close out this thread. Feel free to start a new thread if you have further issues. Thanks! 🙂

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Hide an event in calendar view, but show it on the venue page.’ is closed to new replies.