Home › Forums › Calendar Products › Events Calendar PRO › Just events to sort in ascending order in tag archives
- This topic has 6 replies, 3 voices, and was last updated 5 years, 8 months ago by Sally Richardson.
-
AuthorPosts
-
June 17, 2018 at 12:16 pm #1555018Sally RichardsonParticipant
HI – I am guessing this may not possible given that tags are used by all post types, but I would love JUST the events in a tag archive to sort in ascending order (based on event start date). They correctly show the event date rather than the published date – but are just not in the right order for events…
I did some research and wondered if a snippet like the one mentioned in the link below could be adapted to only sort the events custom posts to sort in ascending order, leaving all other post types to sort as “normal” ie descending?
I actually use separate tags for events – but realise they might cross over several post types – so if by chance it is possible to get one post type to sort differently that would be amazing!
Many thanks!
PS I do not write code – but maybe the snippet in the link only needs a little addition to say If post type=tribe event? You guys will know the answer ( and if so, how!)!June 18, 2018 at 9:12 pm #1555844VictorKeymasterHi Sally!
Thanks for getting in touch with us!
After reviewing your request this essentially looks like a custom development task and so is outside of our stated scope of support.
That said, we always like helping out and at least point users into the right direction as much possible.
Tag archive pages are not really created by our plugins, but by WordPress itself. The snippet you are referring to is mainly as a workaround for a bug, which is no longer present, but could be taken as a reference to modify the tags query somehow.
If you’d prefer not to tackle this customization on your own, we may be able to assist you further. We do need to prioritize support requests from other customers at this time but I’ll certainly flag this with the team and – although we can’t make any promises – if we have time and space to come back and help, we’ll be happy to do so. Please let us know if you’d like to go this route so that you can be added to this queue.
Best,
VictorJune 19, 2018 at 12:30 am #1555902Sally RichardsonParticipantThank you very much Victor, and I totally understand.
Yes, if you could add me to that queue that would be great.June 19, 2018 at 7:41 am #1556142VictorKeymasterHi Sally,
Sure thing, I’ll add this thread to the queue.
Could you please confirm you’d want tag archives to show the events ordered by the event start date, but still show regular posts in the tag archives?
Thanks,
VictorJune 19, 2018 at 7:46 am #1556147Sally RichardsonParticipantThanks Victor,
Yes, I can confirm this – as in fact the tags I use for events are only used by events. My other tags (used by other post types) look great as they are!
June 19, 2018 at 11:04 am #1556411VictorKeymasterThanks for confirming that Sally 🙂
July 6, 2018 at 10:43 am #1569492CliffMemberHi, Sally. I took a look at your customization request, and it seems you’re wanting what we already do by default. Here’s a video demonstrating what I experience at my test site: https://cl.ly/1C3l2t0l310A
Please review it closely and let me know if you’re seeing something different or if I misunderstood your request.
Thank you.
July 28, 2018 at 9:35 am #1585195Support DroidKeymasterHey 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 ‘Just events to sort in ascending order in tag archives’ is closed to new replies.