Skip to content

Instantly share code, notes, and snippets.

@BeardedGinger
Created September 18, 2015 09:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BeardedGinger/a0909879cff5a302c4d4 to your computer and use it in GitHub Desktop.
Save BeardedGinger/a0909879cff5a302c4d4 to your computer and use it in GitHub Desktop.
Add Term Description to event category archive
<?php
/**
* Copy the "src/views/list/content.php" file from the Core TEC plugin
*
* Paste it into your theme at "tribe-events/list/content.php"
*
* Place the following snippet in the new file within your theme wherever you
* would like the it to display.
*/
if( is_tax() ) {
echo term_description( get_queried_object_id(), 'tribe_events_cat' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment