<?php //remove this line | |
add_filter( 'genesis_term_intro_text_output', 'cd_do_archive_term_description' ); | |
/** | |
* Show archive description only on first page of a taxonomy archive. | |
* | |
* @return string | |
*/ | |
function cd_do_archive_term_description( $intro_text ) { | |
if ( is_paged() ) { | |
$intro_text = ''; // Set $intro_text equal to nothing. | |
return $intro_text; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
I just came across this today and it does work but it removed the description from the first page so I'm not sure if I am missing something here. I am using the Genesis Sample Child theme here where I presume the function should be dropped into.