Created
September 18, 2015 09:28
-
-
Save BeardedGinger/a0909879cff5a302c4d4 to your computer and use it in GitHub Desktop.
Add Term Description to event category archive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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