[Events +] Add event category and additional fields in the template?

Hy
I'm in the process of creating my own template.
However, I can't find any clues as to what I need.

How can I output the event category in the template?
How can I output the additional fields in the template?
And is there a list of them?

Thank you for your help
Bernd

  • Ash

    Hello Bernd

    How can I output the event category in the template?

    You can use the general procedure of fetching custom taxonomy terms, like this:

    $terms = get_the_terms( $post->ID, 'eab_events_category' );
        foreach($terms as $term) {
          echo $term->name;
        }

    It should work.

    How can I output the additional fields in the template?

    The additional fields are for the event registration form and that varies user to user. The visitor has no value for those fields. I am not quite sure how you want to show them. Would you please explain a but in details?

    Have a nice day!

    Cheers,
    Ash

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.