Events Made Easy › Forums › Bug fixed or feature request implemented › Special Shortcode
- This topic has 22 replies, 2 voices, and was last updated 11 years, 2 months ago by Franky.
-
AuthorPosts
-
Sun 18 Aug 2013 at 23:24 #44049AnonymousInactive
We use calendars that are Sun through Sat visually. But we refer to a weekend that includes Sunday. Event wise.
Is there a way I can make a today–this_week (ending Saturday I assume) plus one day to allow for Sunday?
Thanks!
Mon 19 Aug 2013 at 09:08 #50675FrankyKeymaster(remark: please post in the correct forum)
No, this requires a new option to evens_list. It’s not difficult to add, so I’ll try to add it this evening. Moving to feature requests.
Mon 19 Aug 2013 at 21:12 #50676FrankyKeymasterImplemented here:
Sun 25 Aug 2013 at 23:20 #50677AnonymousInactiveSo I am not 100% sure on how to add this? The way I read this is that you were able to find a way to make this work! Thanks a BUNCH!!! But now how do I add this?
I don’t want to do this to you. But I think I might be looking for a slight alteration.
I am really actually interested in the full week. Starting on a Monday and ending on the following Sunday. But this post is sent out every Sunday evening to subscribers. So I want the post to show for the following week.
I guess to simplify it I want it to show Mon-Sun events during the Sun-Sat period.
So for this week it would show Mon 8/26 to (and including) Sun 9/1 events during the period of Sunday 8/25 to (and including) Sat 8/31.
If this is possible I would really appreciate it!
Once again, your support is superior to everyone else! Thank you SO much!
Mon 26 Aug 2013 at 18:33 #50678FrankyKeymasterAlthough this is also easy to implement, why not just change the first day of the week to start on Monday? This is a basic wordpress feature you know … then you could just use the scope “this_week”
Mon 26 Aug 2013 at 22:54 #50679AnonymousInactiveI want the calendar to show Sun thru Sat. And I was hoping that on a sunday evening it could show the next week.
Sorry for the complication. If this is a problem dont worry I can work around it I think. But perfection would be awesome!
Tue 27 Aug 2013 at 08:13 #50680FrankyKeymasterAnd the scope where you say ‘next 7 days’ or so? That’s already possible …
Tue 27 Aug 2013 at 09:22 #50682AnonymousInactiveScope next seven days will not include the current day?
and is there are way for it so mid week it only shows until the next sunday not into the following week?
Minor things but if doable I would be stoked!
Tue 27 Aug 2013 at 10:15 #50683FrankyKeymasterWell, no that’s not possible 🙂
I can create a scope of “this_week_plus_one” that shifts the days with one, could that help?
Of a new shortcode that shows the next week at the end of this week, but that won’t help you since your end of week in wordpress is not the end of week that you want …
Tue 27 Aug 2013 at 16:13 #50684AnonymousInactivewell is there a way to change to Mon – Sun on wordpress but leave the calendar Sat – Sun? That might make it easiest. Then I have the today through end of week function. Or maybe a today+1day to end of week.
Sorry for all this and I really appreciate everything!
Tue 27 Aug 2013 at 17:46 #50685FrankyKeymasterwell, that’s what the newly code I did above does: scope today–this_week_plus_one, meaning show all events from today until the first day of next week.
Wed 28 Aug 2013 at 00:22 #50686AnonymousInactiveOh perfect. That sounds like what I want. Now lets say it is Sunday night. Will it include that Sunday or start with the Monday?
Wed 28 Aug 2013 at 11:43 #50687FrankyKeymasterAs the shortcode says: today–this_week_plus_one, so on Sunday it will show Sunday and Monday (if Sunday is the last day of the week).
Wed 28 Aug 2013 at 19:10 #50688AnonymousInactiveOk. Might it be possible to just disallow past events? Because on a sunday night when the post is created I wont want the morning event to be shown.
Wed 28 Aug 2013 at 21:09 #50689FrankyKeymasterJust set “show_ongoing” to 0, then it will not show events already taken place on the current day
Thu 29 Aug 2013 at 08:01 #50690AnonymousInactiveAwesome! I typed in the [events_list scope=today--this_week_plus_one show_ongoing=0] and all my events showed up.
Thu 29 Aug 2013 at 08:02 #50691AnonymousInactiveAwesome! I typed in the [events_list scope=today--this_week_plus_one show_ongoing=0] and all my events showed up.
Thu 29 Aug 2013 at 15:07 #50692FrankyKeymaster“scope=today–this_week_plus_one” of course only works if you implemented the code change mentioned above
Thu 29 Aug 2013 at 18:53 #50693AnonymousInactiveI wondered…
So so sorry. I am very new to this stuff. Is this done through the plugin editor?
Thu 29 Aug 2013 at 21:26 #50694FrankyKeymasterNo. If you’re unfamiliar with changing the php code, I suggest you wait until the next release.
Fri 30 Aug 2013 at 15:12 #50695AnonymousInactiveThat might be best. How long do you expect the next release will be?
Fri 30 Aug 2013 at 16:10 #50696AnonymousInactiveAnd I know I am asking so much of your help. But if I could just inquire about when you might be able to complete that tutorial on the colors. I would be so happy!
Once again your support is so helpful! Thank you!
Mon 2 Sep 2013 at 22:28 #50697FrankyKeymasterThe release will be in the next days, I hope …
-
AuthorPosts
- The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.