Home › Forums › Welcome! › Pre-Sales Questions › Categories List View
- This topic has 8 replies, 3 voices, and was last updated 7 years, 11 months ago by
Andras.
-
AuthorPosts
-
May 22, 2018 at 3:36 am #1535848
Warren O’Donoghue
GuestHi Folks,
When a user clicks an ‘Event Category:’ link can an events list (for that category) be displayed on the PRO version whilst keeping the ‘Default view’ in ‘List’ when the user wants to see all events?
So we basically want to keep it looking like this https://testsite.frodsham.gov.uk/events/ for all events.
But when a user clicks a link to a specific category, either in an event or on the menu across the top, they see a list of events from that category only.
Hope all makes sense!
Kind regards
WarrenMay 22, 2018 at 7:43 pm #1536696Courtney
MemberHey Warren
I want to be sure I’m following your question. I looked at a category on your site for a reference: https://testsite.frodsham.gov.uk/events/category/neighbourhood/2018-06/?tribe_events_cat=neighbourhood&tribe-bar-date=2018-06
At this time, our plugins by default will use the same view that your events page is set to.
You could override this. For that, you could see our Themer’s Guide https://theeventscalendar.com/knowledgebase/themers-guide/ to get you started. If that is a bit too daunting, we recommend Find A Customizer https://theeventscalendar.com/knowledgebase/find-a-customizer/” to help.
We’re limited in helping with styling customizations, per our Scope of Support / Terms.
Thanks
Courtney 🙂May 23, 2018 at 12:06 am #1536794Warren O’Donoghue
GuestHi Courtney,
Thanks very much for your reply, it is very helpful.
I have setup a template override but I am struggling to edit the <dt>Event Category:</dt> link in details.php
I basically want to append /list/ in the category link so users see the ‘list’ view of that category when clicked through, like this:
https://testsite.frodsham.gov.uk/events/category/police/list/
Hope that makes sense!
Many thanks
Warren 🙂May 23, 2018 at 1:43 pm #1537407Courtney
MemberHey Warren
We’re limited in helping with styling customizations, per our Scope of Support / Terms. What I can do is to add this request to our queue of customization requests. We reserve those for when our forums are not busy, and do not have a particular timeframe to estimate responses.
Can I add you to the queue? It would unassign your thread from me and be in a waiting status until we have further availability.
Thanks
Courtney 🙂May 23, 2018 at 11:29 pm #1537684Warren O’Donoghue
GuestHi Courtney,
Oh okay I understand and thanks for your feedback!
Yes please add me to the queue.
Thanks again for your help so far.
Best regards
WarrenMay 24, 2018 at 4:55 am #1537823Courtney
MemberSure thing Warren
Courtney 🙂May 25, 2018 at 4:05 am #1538627Andras
KeymasterHey Warren,
Add this snippet to your functions.php file and let me know if that does the trick for you.
add_filter( 'tribe_get_event_categories', 'cats_to_list' ); function cats_to_list ( $html ){ $new_html = str_replace( '/" rel="tag"', '/list/" rel="tag"', $html ); return $new_html; }Cheers,
AndrasMay 29, 2018 at 2:29 am #1540521Warren O’Donoghue
GuestHi András,
Thank you so much for the snippet, that worked perfectly!
Fantastic support and a superb plugin.
Please go ahead and close this ticket now if you wish.
Kind regards
WarrenMay 30, 2018 at 12:11 am #1541511Andras
KeymasterHey Warren,
Stoked to hear that helped! Awesome.
Since this is marked resolved I am going to close this ticket, but if you need anything else related to this topic or another please create a new ticket and we’ll be happy to help.
Cheers,
AndrasPS: We’d be grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. 🙂 If you can spare a few words, that’s even better. Thanks!
PS2: If you like our plugins, and you didn’t yet do so 🙂 we would also be happy to receive a review in the wordpress.org repository. Much appreciated!
https://wordpress.org/support/view/plugin-reviews/the-events-calendar/
https://wordpress.org/support/view/plugin-reviews/event-tickets/ -
AuthorPosts
- The topic ‘Categories List View’ is closed to new replies.
