display categories

Home Forums Calendar Products Events Calendar PRO display categories

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1153558
    fabrice ferries
    Participant

    Hi,

    How can i display just the categorie of the event.
    Something like :
    tribe_get_event_categories();
    but without the speech before… just the categorie…

    Thanks for your help !

    #1153596
    Cliff
    Member

    Hi Fabrice.

    If you look at one of your existing Single Events pages, you can see Event Categories are already listed.

    Example:

    That comes from this code, which uses tribe_get_event_categories()

    I hope this clarifies things for you.

    #1153613
    fabrice ferries
    Participant

    Hi Cliff, thanks for helping !

    yep, i talked about tribe_get_event_categories(); in my first post.

    In fact, i just need the categorie, not “Event Category:…” and the link. How can i remove them ?

    #1153646
    Cliff
    Member

    Ok, then you might want to just try tribe_get_event_taxonomy() and see if that gets closer to what you want. It utilizes get_the_term_list()

    To be clear, get_the_term_list() is used within tribe_get_event_taxonomy(), which is used within tribe_get_event_categories().

    #1153982
    fabrice ferries
    Participant

    Ok Cliff, thanks for your answer, it works for me !

    Have a nice day

    #1154553
    Cliff
    Member

    Great. Glad to hear that.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘display categories’ is closed to new replies.