Forum Replies Created
-
AuthorPosts
-
ali7e
ParticipantHi Nabha,
Your solution works wonderfully well. I never managed to get the suggestions from https://tri.be/support/forums/topic/show-only-todays-events-2/ to work.
However, it looks like with your code, you can no longer use this code (http://pastebin.com/N2YrKMJE) to show the thumbnail for each event. When I insert it into your code, it gives me the same image for all the events. Any idea how I can fix this?
Thanks!
ali7e
ParticipantHello,
Figured out that Events follows the date formatting set in your WordPress settings. Initially I thought it followed its own formatting, but this seems to not be the case. Change the formatting in your settings and it changes everywhere.
ali7e
ParticipantHi Neil,
Thanks for your response. I added which seems to be the required time format and I am getting an interesting result. If in the Widget settings I set the “Number of events to show” to 1 it shows the right event. If I set it to more than 1, it just repeats the first event and does not show the other events. Is there a way to make it so all of the day’s events (regardless of how many there are) show?
Thanks again!
Aliali7e
ParticipantHi Neill,
This is what the arrays output: Array ( [0] => tribe_events [1] => custom [2] => 5 [3] => [4] => )
Thanks!
Aliali7e
ParticipantHi Bryan,
Thanks a lot for posting. I couldn’t get your fix to work: http://pastebin.com/FEsLChK8
Do you think you could please point me in the right direction?
Thanks!
ali7e
ParticipantHello,
So it finally does show events! haha But it is only showing me a bunch of recurring events in reverse order. Not showing me today’s events:
http://pastebin.com/dBBE0buPAm I not using the right $args?
Thanks a lot,
Aliali7e
ParticipantHi Neill,
I checked the syntax and fixed it. Now everything loads just fine. Here is the revised one: http://pastebin.com/s6BHYNjV
However, those $args that you mentioned do not seem to be returning anything. Are you sure they are compatible with 3.0? Do I need to change them at all?
Thanks for your help.
Best,
Aliali7e
ParticipantHello Neill,
Just following up on this one.
Thanks!
Aliali7e
ParticipantHi Neil,
I tried what it said in the post but it is not working: http://pastebin.com/bF2shVFk
The page actually stops loading after the code.
Thanks!
ali7e
ParticipantThanks a lot! Did exactly what I needed 🙂
ali7e
ParticipantThis reply is private.
ali7e
ParticipantHi Neill,
Yes, I want the widget to only show the events for the current day. SO on the 11th of July, the widget would only show the events for the 11th and tomorrow display everything for the 12th.
Thanks!
Aliali7e
ParticipantHello,
I actually figured out the thumbnail portion of the question. Now just need to know how to show only all of the day’s events in the widget.
Thanks!
Ali -
AuthorPosts
