Home › Forums › Calendar Products › Events Calendar PRO › Widget to display only events with todays date
- This topic has 7 replies, 2 voices, and was last updated 8 years, 4 months ago by
Jeff Brown.
-
AuthorPosts
-
November 6, 2017 at 1:28 am #1375802
Jeff Brown
ParticipantI have been digging around for a while, and have come across some (very) old posts related to this.
Is there currently a way to have a widget only populate if there is an event with the current date? Or do i have to figure out a custom widget?
Thanks
November 7, 2017 at 5:51 pm #1377575Jennifer
KeymasterHi Jeff,
Thanks for reaching out!
While none of our widgets are currently set up to do this, the [tribe_events view=”day”] shortcode will display events for the current day (if there are any). It also includes navigation links at the bottom to click forward and back to upcoming/past days. Can you give this a try and let me know if it does what you’re looking for?
Thanks!
Jennifer
November 7, 2017 at 7:46 pm #1377614Jeff Brown
ParticipantHi, Thanks for the input –I am actually looking for, well, much less output than that.
-Event name
-Date
-Timeand that’s about it, so I can wrap my own content around it.
November 8, 2017 at 5:03 am #1377805Jennifer
KeymasterHi Jeff,
Thanks for clarifying! Your best bet may be to hide the elements you don’t want with CSS, since you can wrap the shortcode with HTML and put it in your other content. You could also make a customization to the shortcode or the Events List widget, which already outputs the content in the format you’re looking for. If you’d like to go this route, our themer’s guide is the place to start! Our functions list should be helpful as well. We also have a list of recommended developers that you could contact if you’d like to have the code done for you.
We are limited in the amount of support that we can provide for customizations, but if you get stuck with the code or have any questions, please let me know!
Thanks,
Jennifer
November 11, 2017 at 12:51 pm #1380764Jeff Brown
ParticipantIt looks like what is needed is to just use the same functional structure, but instead of outputting the block, just not have an output if the event is emoty.
Thanks!
November 13, 2017 at 4:19 am #1381356Jennifer
KeymasterNo problem Jeff!
December 5, 2017 at 8:35 am #1398671Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Widget to display only events with todays date’ is closed to new replies.
