Support » Plugin: The Events Calendar » Ordering events being returned in the tag feed
Ordering events being returned in the tag feed
Has anyone had any experience of trying to get the standard wordpress tag feed to return events in their date order, rather than publish order? I’ve a mix of content on my site (i.e. posts, custom post types AND events) which I have consist tags across them. I.e. an event in London, with a blog post and a custom post type about it, all tagged with London. I want to be able to hit the standard /tag/london url and get everything returned in the right order.
Everything else comes out in the order you’d expect it to, but events don’t because you’d naturally expect them to come out in chronological order of the events, not the published / created date order.
I’m guessing with a bit of custom code we could tweak it so events are returned in their date order? Anyone done something similar?
Plugin Support Erica
I’m checking on your request with my colleagues. Until I have more information, please see our Knowledgebase article on Event Tags here.
EricaPlugin Support Erica
The events by date order is not applied in a mixed post-type archive (like the tag archive).
This is because there are all kinds of post types in a single query: Posts are ordered by publish date, and Events are ordered by event date.
Changing this default behavior would require custom development, which we are not equipped to provide.
EricaThread Starter delanthear
Yes, your support team suggested I post here to see if anyone else had done it. I presume a filter which resorted events into the expected order could be written to make it workPlugin Support Darian
We do have a related extension in the past but it’s not supported anymore after the V6.0 was released.
See- Advanced Options for Adding Events to the Main Blog LoopPlugin Support Darian
Thank you for patiently waiting.
At this time, I added this thread to our internal ticket that should address the Advanced Options for Adding Events to the Main Blog Loop issue.
I am, however, unable to provide an ETA on this. Extensions are a low priority, so it can take some time before this is addressed. You’ll get notified once there is an update and fix.
Internal Bug Ticket Reference: EXT-305Thread Starter delanthear
Ooh thanks.Plugin Support Darian
As soon as we release a fix for this issue we will post an update here in the thread.
Appreciate your patience so far. If you do have other concerns or issues you need help with, please do not hesitate to bump a new thread on our way. This is for us to track down topics/issues efficiently and for us to follow the WordPress Forum Guidelines.
- You must be logged in to reply to this topic.