Home › Forums › Calendar Products › Events Calendar PRO › Archive page for a single Event Category
- This topic has 8 replies, 2 voices, and was last updated 5 years, 10 months ago by Jacob.
-
AuthorPosts
-
May 28, 2018 at 6:56 am #1540060JacobParticipant
Hello,
I’m wondering if it is possible to create a unique URL that links to previous events only in a specific event category. I have a two different types of event categories going on this site – bronwynspilsbury.com – and wanted to create separate links to archives per event category, rather than having them all show up in the same group.
In other words, here’s the general archive link: https://www.bronwynspilsbury.com/events/?action=tribe_photo&tribe_paged=1&tribe_event_display=past
We only have one event that is past now, but I think this will eventually grab events from all categories. Is there another bit that can be added to the URL for this archive so that it only shows trips to the category ‘bible-lands’ or the category ‘retreat’?
thanks for your help,
JacobMay 29, 2018 at 6:10 am #1540710Jaime MarchwinskiKeymasterHi Jacob,
Thanks so much for reaching out!
You can try adding the category slug to the end of your past events URL, so something like this:
Let me know if that helps!
Thanks,
Jaime
May 29, 2018 at 9:38 am #1540981JacobParticipantJamie,
Thanks for your reply. It seems, however, that I get all the past event results no matter what Category number I put in to this URL. The category I want is number ‘6’ – which seems to work. But if I put in category number ’18’ (Greece) – it shows the same results.
Any other ideas?
cheers,
JacobMay 30, 2018 at 4:17 am #1541635Jaime MarchwinskiKeymasterHi Jacob,
In other words, does this work for one category but not another?
If so, can you try check this out in a private window, and/or clear your browser history and cache, and see if it works then?
I just tested this out with different categories on my own test site, and it appears to work as expected.
Let me know how that goes!
Thanks,
Jaime
May 31, 2018 at 10:03 am #1543133JacobParticipantJaime,
Thanks for the follow-up. I’ve tried this in Incognito mode (and
another browser) and am still getting the same results. Here’s a quick
video of what I’m seeing:https://www.useloom.com/share/aee6eb45a3284fdeaacfef0afbfc8a68
Perhaps I’m missing something…or do you have any other thoughts on how
to fix this?May 31, 2018 at 10:23 am #1543158JacobParticipantJaime,
Thanks for the follow-up. I’ve tried this in Incognito mode (and another browser) and am still getting the same results. Here’s a quick video of what I’m seeing:
https://www.useloom.com/share/aee6eb45a3284fdeaacfef0afbfc8a68
Perhaps I’m missing something…or do you have any other thoughts on how to fix this?
thanks,
JacobMay 31, 2018 at 10:54 am #1543182Jaime MarchwinskiKeymasterHi Jacob,
Thanks for creating that video. Are there other past events, or is that the only one? In other words, are there past events within other categories?
If not, perhaps you can set up a test event within another category so that you can test if the functionality is working.
As far as changing the “Past Events” wording, you can use the snippet provided in the following tutorial to help you do that:
https://theeventscalendar.com/knowledgebase/change-the-wording-of-any-bit-of-text-or-string/
The string that you’ll want to change is “Past %s”
Let me know how that goes!
Thanks,
Jaime
June 4, 2018 at 2:41 pm #1545915JacobParticipantThanks, Jaime.
The site does not yet have past events within other categories. But in
a few weeks, it will. I’ll wait until that time to play around further
with the category issue.With regard to changing the text, I have added the following PHP to my
child theme, but it didn’t seem to work:$custom_text = array(
‘Past Events’ = ‘Previous Journeys’,
);Any thought on where this code went wrong?
June 5, 2018 at 4:31 am #1546218Jaime MarchwinskiKeymasterHi Jacob,
Okay, let me know how that goes! Just so you know, this thread will self-close in three weeks without a response, so if that happens, you can just open a new thread and reference this one so that we can jump back in.
You’ll want to add the full snippet to your theme’s functions.php file, here is the example:
https://gist.github.com/theeventscalendar/734adb9e94f11b940e5f
Let me know how that goes!
Thanks,
Jaime
June 27, 2018 at 9:35 am #1562755Support 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 ‘Archive page for a single Event Category’ is closed to new replies.