Recurring Events Display Setting

Home Forums Calendar Products Events Calendar PRO Recurring Events Display Setting

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1105027
    Helena
    Participant

    Hi There.
    For my recurring events in WordPress I only want to have them show up once (as there are so many and they are all the same), so I select the display setting that lets you hide all but the first upcoming event.
    On the front end of the website though which shows all the upcoming events, in the list view (http://hoffnung-licht.ch/termine/list/), I want to show all the recurring events for people visiting the website. I hope you understand what I mean. Is there a way I can do this?
    Thanks for your help

    #1105234
    Brook
    Participant

    Howdy Helena,

    Is that setting currently behaving how you want for yourself, you are only worried about users who are not logged in? Or is it not doing what you want at all?

    Cheers!

    – Brook

    #1105276
    Helena
    Participant

    Hi
    When I have this setting selected it works great for the list of events in the wordpress admin area, showing only the first event. But it also shows the recurring events only once on the website calendar list page and I don’t want this, I want to see all of them here.
    We have meetings every week and I want them to show up on the calendar list view for people to see when they visit the website, but I don’t want to see them all in the wordpress admin area. Is this possible?
    Thanks for any help you can give.

    #1105489
    Brook
    Participant

    Alright I understand. Thanks for clarifying.

    This should be very doable. I would use this snippet:

    function tribe_subsequent_recurrence_default( $option, $name, $default ) {
    if ( $name === 'hideSubsequentRecurrencesDefault' && ! is_admin() ) $option = false;
    return $option;
    }
    add_filter( 'tribe_get_option', 'tribe_subsequent_recurrence_default', 10, 3 );

    Paste it at the top of your theme’s functions.php file, underneath the first line “<?php”. In theory it should stop hiding all of those events on the front end. Did that work?

    Cheers!

    – Brook

    #1105555
    Helena
    Participant

    Thanks for that Brook. I will need to get my software guy to do that for me 😉
    I will get back to you if we run into trouble. Thanks again for the feedback.

    #1105643
    Helena
    Participant

    Hi there again Brook. After adding the snippet it seems to override the orginal display setting in the backend too – When I select the display setting to only show the first event, it still shows all of the recurring events in the wordpress admin page. Sorry for the trouble.

    #1105922
    Brook
    Participant

    Howdy Helena,

    I have to be honest, we have found this a bit puzzling. The setting “Show only the first instance of each recurring event (only affects list-style views).” should never hide events from the backend, with or without that snippet. In my tests it is not hiding events from the backend WP Admin, and asking around the team no one has ever seen it do that either. You see we purposefully never hide recurrences from the Edit Events list, because if we did it would make it incredible difficult to edit an individual recurrence and add information to it that does not apply to the rest of the series.

    But clearly you are seeing something different. If you go back in and disable or remove that snippet I shared, are you seeing it hide events from the WP Admin again? If so, to be honest that “feature” appears to actually be a bug of some kind and I am not at all certain why it is manifesting on your system. I am afraid that tampering with this at all could inadvertently fix the bug, and you evidently don’t want that.

    What a strange situation! Let me know if you have any questions along the way.

    • Brook
    #1111861
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Recurring Events Display Setting’ is closed to new replies.