Fix archive descriptions for subsequent pages

This commit is contained in:
Robin Cornett
2016-11-28 09:04:08 -05:00
parent 90bbca3d50
commit 640f0037b9
@@ -101,10 +101,6 @@ class Display_Featured_Image_Genesis_Description {
return;
}
if ( get_query_var( 'paged' ) >= 2 ) {
return;
}
$term = is_tax() ? get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ) : $wp_query->get_queried_object();
if ( ! $term ) {
@@ -174,10 +170,6 @@ class Display_Featured_Image_Genesis_Description {
return;
}
if ( get_query_var( 'paged' ) >= 2 ) {
return;
}
$intro_text = apply_filters( 'display_featured_image_genesis_cpt_description', genesis_get_cpt_option( 'intro_text' ) );
if ( $intro_text ) {