Adding Event Category to Single Event Listing

Home Forums Calendar Products Events Calendar PRO Adding Event Category to Single Event Listing

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1298431
    Daniel
    Participant

    Hi, I would like to add the event category to the event header below the Date or Application Deadline as we have re-worded it. I have been looking in the documentation but can’t find the solution.

    We would also like to add it to the view of events, I am assuming the similar code will work across all the pages.

    Thanks for your help!

    #1298921
    Jennifer
    Keymaster

    Hi Daniel,

    Thanks for reaching out!

    You can edit the view templates by following the instructions in our themer’s guide to copy them into your child theme. You can add <?php echo tribe_get_event_taxonomy(); ?> in the template to display the category, wherever you’d like it to display.

    For the single event view, you can find the template at wp-content/plugins/the-events-calendar/src/views/single-event.php.

    You can find other views in /wp-content/plugins/the-events-calendar/src/views/ (for The Events Calendar) and /wp-content/plugins/events-calendar-pro/src/views/ (for Pro).

    Let me know if that works for you!

    Thanks,

    Jennifer

    #1299752
    Daniel
    Participant

    Thanks so much! That worked perfectly for me! I appreciate your assistance.

    #1300316
    Jennifer
    Keymaster

    Hi Daniel,

    Glad to hear that helped! Since this thread has been marled “resolved”, I’ll go ahead and close it out, but please feel free to open a new one if you need any further assistance!

    Thanks,

    Jennifer

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Adding Event Category to Single Event Listing’ is closed to new replies.