1 2 |
$termDescription = term_description( '', get_query_var( 'taxonomy' ) ); echo $termDescription; |
You don’t need to change the any variables here, if you are on the individual term page, WordPress will actually know what taxonomy it is using.