Change title and formatting

Home Forums Calendar Products Events Calendar PRO Change title and formatting

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #58869
    Daniella
    Participant

    Hi,
    I added the following code to the single event template:
    It is showing up as “Event Categories” with a list under it. I want it to have the same format as it was in the details meta separated by a comma. I would also like it to say ‘categories’ and not event categories.
    Any help would be much appreciated!

    #59551
    Chris
    Participant

    Hi there,
    What code did you add?
    -Chris

    #59617
    Daniella
    Participant

    I added echo tribe_get_event_categories().

    #59624
    Chris
    Participant

    Try this instead:
    $label = __( ‘categories: ‘, ‘tribe-events-calendar’ );
    $tribe_ecp = TribeEvents::instance();
    $separator = ‘, ‘;
    $list = get_the_term_list( get_the_ID(), $tribe_ecp->get_event_taxonomy(), ”.$label.”, $separator, ” );
    echo $list;’,

    #59682
    Daniella
    Participant

    Great, thank you very much.

    #59684
    Chris
    Participant

    Not a problem 🙂

    -Chris

    #979808
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Change title and formatting’ is closed to new replies.