Display Category Description on Event Category Page

Home Forums Calendar Products Events Calendar PRO Display Category Description on Event Category Page

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1295522
    Aein
    Participant

    Hello,

    I have tried multiple solutions previously about this topic:

    Display Category Description on Event Category Page

    Show Category Description

    Show Category Description

    However, none of the solutions work.

    I’m trying to get the event category description field to display on the category page: /events/category/xxxx

    I’ve copied the template file /plugins/the-events-calendar/src/views/list/content.php
    to my-theme/tribe-events/list/content.php

    Thank you.

    #1296133
    Jennifer
    Keymaster

    Hi Aein,

    Thanks for reaching out. Sounds like you’re on the right track having already copied over that file!

    To display the description on the list view, you can add this snippet into that template where you would like it to display:


    <?php if( tribe_is_event_category() ) {
    $cat = get_queried_object();
    echo category_description( $cat->ID );
    }
    ?>

    Please let me know if you have any questions!

    Thanks,

    Jennifer

    #1315288
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Display Category Description on Event Category Page’ is closed to new replies.