Events Made Easy › Forums › How do I … › How to show weekly reccurent list of events
Tagged: day of the week., events, recurrent
- This topic has 8 replies, 2 voices, and was last updated 2 years, 1 month ago by Anonymous.
-
AuthorPosts
-
Wed 21 Sep 2022 at 16:56 #64672AnonymousInactive
Hi,
I was unable to find the following on events shortcode options.
My client wants to show list of events what occur per day of the week. Since these events happen every week there is no need to show calendar date on the list. It would be ideal if I can show only Monday or Tuesday..Sunday etc list of events it should include events that are one of for the week we are showing.
Is there a way to get this information through your plugin, either via shortcode or custom sql script?
Please advise.
Thanks,
-Sudd.Wed 21 Sep 2022 at 23:07 #64674FrankyKeymasterYou can use the scope option to the eme_events shortcode, see https://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_events/
scope=this_week or scope=+7d might be what you want.Wed 21 Sep 2022 at 23:37 #64675AnonymousInactiveTried those, not it.
More specifically, Recurrence has a Scope setting, which allows us to choose the day of the week when recurrence occurs.
A shortcode that can find all recurrent events of Monday. This should shows listing of all events on Monday for instance.
Hope this makes sense. Please advise, if this is possible. Even a SQL hint will be helpful.
Thanks,
-Sudd.Thu 22 Sep 2022 at 14:07 #64676FrankyKeymasterBest is to create a simple shortcode yourself, where you translate “Monday” to the day you want (YYYY-MM-DD) and then use eme_get_events_list to only show events of that day. See https://www.e-dynamics.be/wordpress/category/documentation/5-template-api/ for that (and https://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_events/ for all options you can use).
Wed 28 Sep 2022 at 19:33 #64685AnonymousInactiveThanks for the tip.. I am able to create a list with a custom shortcode to our satisfaction.
I did notice that I am seeing in the list duplicate recurrent event. Why do these occur?
Not all events are duplicated, only some of them, apparently those events which I have edited recently. I always edit via manage recurrent event.
Please advise.
Thanks,
-Sudd.Wed 28 Sep 2022 at 23:18 #64686FrankyKeymasterI can’t tell for you, but check your list of events in the backend. If at any time you modified a single event (that is part of a recurrence), it becomes a standalone event. When then editing the recurrence, it recreates the missing event, creating what you would call a double.
Also, check the option “show_recurrent_events_once”Thu 29 Sep 2022 at 00:03 #64687AnonymousInactiveI cannot find the option “show_recurrent_events_once” . Need hint.
Thanks,
-Sudd.Thu 29 Sep 2022 at 07:23 #64688FrankyKeymasterIt’s an option for eme_get_events. See https://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_events/
Thu 29 Sep 2022 at 17:51 #64693AnonymousInactiveGot it Thank You for your help.
Cheers,
-Sudd. -
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.