Category description at the top of the calendar.

Home Forums Calendar Products Events Calendar PRO Category description at the top of the calendar.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #16571
    Alan
    Member

    Hi, I’d like to display the category description at the top of the calendar page when I’m displaying category specific calendars. I’m using the default event template (copied in my template folder) so I was wondering if anyone knows how to make this happen? Basically I need code that says that if we are viewing a specific category to show that category’s description.

    Thanks in advance.

    #16609
    Rob
    Member

    Hey Alan. Thanks for the note here; not sure the level of effort this would take, but let me see if our dev Jonah can point you in the right direction when he hits the forums later this afternoon. Stay tuned.

    #16650
    Jonah
    Participant

    Hi Alan,

    All you have to do is put:

    echo term_description();

    in your gridview.php file – first make a copy from /wp-content/plugins/the-events-calendar/views/gridview.php and place in an ‘events’ folder in your theme.

    I hope that helps!

    #16651
    Jonah
    Participant

    … do wrap it in proper PHP tags as necessary too 🙂

    #16732
    Alan
    Member

    Sorry it took so long for me to get back. This did work perfectly. Thanks for the quick and helpful response.

    #16755
    Rob
    Member

    Excellent to hear, Alan! Thanks for confirming as much. Sounds like we’re all set here but please let me know if you have any other issues down the road.

    #976328
    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 ‘Category description at the top of the calendar.’ is closed to new replies.