Last active
September 12, 2016 21:07
-
-
Save thomasplevy/dd97c7ccc78e9cf56627aeccbde02743 to your computer and use it in GitHub Desktop.
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 // don't add this line to a functions.php file | |
function my_output_cat_desc() { | |
if ( is_category() || is_tag() || is_tax() ) { | |
echo single_term_title(); | |
echo term_description(); | |
} | |
} | |
add_action( 'lifterlms_archive_description', 'my_output_cat_desc' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment