Home › Forums › Calendar Products › Events Calendar PRO › Recurring Events Display Setting
- This topic has 7 replies, 3 voices, and was last updated 10 years ago by
Support Droid.
-
AuthorPosts
-
April 20, 2016 at 12:43 pm #1105027
Helena
ParticipantHi 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 helpApril 20, 2016 at 11:47 pm #1105234Brook
ParticipantHowdy 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
April 21, 2016 at 4:15 am #1105276Helena
ParticipantHi
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.April 21, 2016 at 9:37 am #1105489Brook
ParticipantAlright 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
April 21, 2016 at 11:43 am #1105555Helena
ParticipantThanks 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.April 21, 2016 at 1:39 pm #1105643Helena
ParticipantHi 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.
April 22, 2016 at 8:34 am #1105922Brook
ParticipantHowdy 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
May 7, 2016 at 9:35 am #1111861Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘Recurring Events Display Setting’ is closed to new replies.
