skip to Main Content

Remove Term Description from Paginated Pages

Most themes by default display the term description on all paginated pages of your taxonomy archives, however, you can easily hook into the WordPress term_description function to remove it from a paginated pages like such:

add_filter( 'term_description', function( $description ) {
	if ( is_paged() ) {
		return '';
	return $description;
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top