I would like to add a small graphic to my events list widget for the events that are currently going on. Is there a way to do that using conditional tags? If so, what would my conditions be?
Add Conditional Tags for Ongoing Events
(6 posts) (3 voices)-
Posted 9 months ago #
-
What do you mean with "a graphic"? You mean the image you can set?
The conditional tag to find "ongoing events" is not existing yet ... but easy to add.Posted 9 months ago # -
Just a small 24x24 image in my upcoming events list that appears next to an event when the event is currently taking place (see "Upcoming Events" widget on home page at http://www.minutemenministries.org). We have numerous events going all the time, and it would make things more apparent if two events are occurring at the same time for a graphic to indicate this.
Could you add the ongoing events conditional tag for a future release?
Posted 9 months ago # -
implemented in trunk (not tested, but should work): http://plugins.trac.wordpress.org/changeset/578544
Posted 9 months ago # -
Added it to my code, works great!! Thanks!
Posted 9 months ago # -
Your site looks great, rbosler!
Posted 9 months ago #
Reply
You must log in to post.