List events by name not date

Home Forums Ticket Products Event Tickets Plus List events by name not date

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #950009
    Helen
    Participant

    I want to view one of my events category’s list view with the events in alphabetical order rather than in time and date order. It is a list of several events happening the same day and I want to show them in alphabetised/numerical order by name rather than date.
    Any pointers? Thank you.

    #950026
    Brian
    Keymaster

    Hi Again.

    We do not have a feature to list events by name in the plugin. Everything is based on displaying them by date and time.

    However, the events are custom post types ( tribe_events ) so you can use a custom loop to get the events and order them the way you would like.

    We also have this article on using tribe_get_events():

    https://theeventscalendar.com/knowledgebase/using-tribe_get_events/

    Please not on customizations we can help point you in the right direction, but it is beyond the support we can provide to troubleshoot or provide coding for them.

    Let me know if you have any follow up questions.

    Thanks

    #950093
    Helen
    Participant

    Hi Brian

    Thanks for your help. Could you tell me which file it calls when I ask it to display an “event category” – I would like to be able to edit the file it calls and remove the date and time display. I know how to do that if I can find the right file to edit! Thanks

    #950114
    Brian
    Keymaster

    Not sure what exactly you are referring to.

    The Event Templates for Pro and the Events Calendar are found in the view directories of each plugin. That controls the look of everything.

    We have a themer’s guide:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    To show you how to move and edit templates.

    The Categories call these views (Month, List, Map, etc) as well as the non category views.

    To target just categories here is a good list of conditionals:

    https://gist.github.com/jo-snips/2415009

    Thanks

    #950138
    Helen
    Participant

    What I’m trying to do is prevent the date and time showing in one category of events. I need to list the events in this category by number/name not by time and date so I’m going to set all the times to be the same but I then need to hide the time and dates for those events. I can see how I would remove the time and date for all events but not for just those dates in a specific category.

    Any thoughts would be great Thanks.

    #950203
    Brian
    Keymaster

    Following the themer’s guide you can modify any of the front end templates.

    If you want to hide a date and time in one category you can use the WordPress function is_tax()

    https://codex.wordpress.org/Function_Reference/is_tax

    To do a check if in the event category or not and if not then display the date and time.

    The event category taxonomy is registered as:

    tribe_events_cat

    #964971
    Brian
    Keymaster

    I am going to close this topic as we typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.

    Thanks

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘List events by name not date’ is closed to new replies.