Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?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
You can’t perform that action at this time.