Posted: September 9, 2012 at 12:46 pm
|
Hi, How can I add event time and price to the event listing page? It’s being displayed with the [ESPRESSO_EVENTS] shortcode and category filter with a few mods for recurring events etc.? This is what it looks like now: Rockin Dance Nursery Drop In – Ages 9-16 Months Register Now This is what I’d like it to look like: Rockin Dance Nursery Drop In – Ages 9-16 Months |
|
Hello Emoria, If this page is being used as a general listings page you could try using the [EVENT_LIST] shortcode Shortcodes |
|
September 16, 2012 at 10:05 am Looking at the code I don’t see any echo for time in the event_list_display. I think I know what line needs to be changed but I don’t think that the time field is being pulled into the array. How can I get around this> also any idea if there is any new handling of recurring events in 3.2? |
|
Hi Adding this to the event_list_display.php will show the time, you just need to place it where you want it to go (probably directly after the Event Date code, but before the closing
Note I added in the |
|
I think why this isn’t so straight forward for me is because I’m using an altered event_list_display.php to display my recurring events. I’d really like to be able to display recurring events that within one “class or program” logically without hacking the the templates too much. Will there be any changes to accommodate this in the coming versions? This is what my event_list_display.php looks like.
|
|
Hi I haven’t tested your code out but it seems logical to add the time function here
|
|
That worked for my recurring events but not my single events. |
|
For some reason its no longer working or my recurring events either. It only shows the time for the first entry the rest have the dash “-” but no time. |
|
Disregard. recurring events are ok just not single events. |
|
Hello TO clarify is this regarding the classes (i.e. Pre dance combo)? If so are the times all meant to be 09:15 am ? I may need to have access to the site to have a look at the events. |
|
Hi Dean, So this was displaying correct for recurring events but not the single events. I just entered a bunch of new programs that are recurring and for some reason the time for all the events are showing 5:00AM on the event display page. They are correct on the event details page. Any idea why th |
|
I’m looking at events scheduled a couple weeks back when this was working and they are too affected. I’m commenting out this code till I can find a fix. |
|
I see you π need access? |
|
Hi, Sorry I thought you had put this to one side until you had found a fix. I had another look at the code above, but I actually couldn’t get it to work properly. The code I supplied for the time will work for single events, in fact I hadn’t tested it on recurring, but they are in fact multiple single events. |
|
Any idea why it would have worked for a period of time and then stop? |
|
HI There should be no reason for it to stop working unless other code was changed/updated that interfered with it. |
The support post ‘Add additional info’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.